Jump to content

Display your ebay auctions


Recommended Posts

Guest cynic

there's a slight problem with this file but nothing too serious...

####################################

#  STEP 2

####################################

OPEN  upload/cat_navi.php



FIND  about line 30



echo "<table border=\"0\" cellspacing=\"0\" width=\"120\" cellpadding=\"1\" align=\"left\">

                <tr>

                        <td><img src='images/bullet.gif' border='0'>

                        </td>

                        <td align=\"left\"><a href='index.php'>$la_search_home</a></td>

                </tr>";







REPLACE WITH 





echo "<table border=\"0\" cellspacing=\"0\" width=\"120\" cellpadding=\"1\" align=\"left\">

                <tr>

                        <td><img src='images/bullet.gif' border='0'>

                        </td>

                        <td align=\"left\"><a href='index.php'>$la_search_home</a></td>

                </tr>

                

                <tr>

                        <td><img src='images/bullet.gif' border='0'>

                        </td>

                        <td align=\"left\"><a href='catalog.php'>$la_ebay_header</a></td>

                </tr>";

since the actual php page to show the eBay stats is called ebay.php, it should read

<td align=\"left\"><a href='ebay.php'>$la_ebay_header</a></td></tr>";

instead of

<td align=\"left\"><a href='catalog.php'>$la_ebay_header</a></td></tr>";

:^^:

this is ofcourse assuming you don't use the catalog.php file from a previous mod

:mellow:

Link to comment
Share on other sites

there's a slight problem with this file but nothing too serious...

####################################

#  STEP 2

####################################

OPEN  upload/cat_navi.php



FIND  about line 30



echo "<table border=\"0\" cellspacing=\"0\" width=\"120\" cellpadding=\"1\" align=\"left\">

                <tr>

                        <td><img src='images/bullet.gif' border='0'>

                        </td>

                        <td align=\"left\"><a href='index.php'>$la_search_home</a></td>

                </tr>";







REPLACE WITH 





echo "<table border=\"0\" cellspacing=\"0\" width=\"120\" cellpadding=\"1\" align=\"left\">

                <tr>

                        <td><img src='images/bullet.gif' border='0'>

                        </td>

                        <td align=\"left\"><a href='index.php'>$la_search_home</a></td>

                </tr>

                

                <tr>

                        <td><img src='images/bullet.gif' border='0'>

                        </td>

                        <td align=\"left\"><a href='catalog.php'>$la_ebay_header</a></td>

                </tr>";

since the actual php page to show the eBay stats is called ebay.php, it should read

<td align=\"left\"><a href='ebay.php'>$la_ebay_header</a></td></tr>";

instead of

<td align=\"left\"><a href='catalog.php'>$la_ebay_header</a></td></tr>";

:^^:

this is ofcourse assuming you don't use the catalog.php file from a previous mod

:mellow:

Good catch!

I was using another mod as a guideline and overlooked that!

Thanks.

Link to comment
Share on other sites

How come this mod only supports american timezones? wouldn't GMT have been a viable option to include?

This mod is a hack from an existing php script.

It's configured with Ebay, so I'm assuming that's PST by default.

The original script writers are working on an international vesrion,

so maybe it'll address GMT :mellow:

Link to comment
Share on other sites

  • 4 weeks later...
Guest kiwiarthur

This mod is a hack from an existing php script.

This hack refers directly to "http://thumbs.ebay.com/pict/itemnumber.jpg" which in my case returns a "click to view image" graphic... I assume this is due to attempts by eBay to limit bandwidth theft (otherwise known as "hot linking"). To get around the hot linking (which I personally disapprove of) I have switched off the show images/thumbs part of this script.

If the original scripters are working on a new script - perhaps someone who knows how to contact them could do so and see if they could modify it in such a way that the thumbs (of approx 3kb each) are downloaded to a temporary directory for use with the script thereby eliminating the need for hot linking....

Alternative timezones would be nice too but I think dcwd is correct in that the time is probably PST - most scripts and software that work with eBay tend to use PST as that is the "official eBay Time".

Arthur

Link to comment
Share on other sites

Another oversight on this mod:

If your store has no inventory, it will not display your ebay listings, so, you'll need to edit the mod this way:

Line 23 reads:

 $sql_count = "select * from ".$prefix."store_inventory";

 $result_count = mysql_query ($sql_count);

 $total = mysql_num_rows($result_count);



if ($total==0){

        echo "<br><p align=\"center\">$la_no_prod_inv</p>";

        include ("footer.inc.php");

        exit;}



echo"<br><br>";




Change this to:


echo"<br><br>";

This should allow your listings to show, regardless of inventory.

Link to comment
Share on other sites

Guest kiwiarthur

Another oversight on this mod:

If your store has no inventory, it will not display your ebay listings....

Wont affect me - I'll always have at least ONE item in inventory - the "breath of fresh, clean, green New Zealand air" - at a price of US$1000.00 B)

Arthur

Link to comment
Share on other sites

  • 2 months later...

How come this mod only supports american timezones?   wouldn't GMT have been a viable option to include?

I change the timezone to 8 in English.inc.php and this worked OK for the UK and all of my auctions now show the correct auction end time.

$la_ebay_timezone = "8"

Incidentally, could anyone work out how to change the script so that you can use UK URLS instead of US URLS (.com)

Thanks

Link to comment
Share on other sites

Guest broady

MiniMe,

I have had the script converted to pick up the files from ebay.co.uk however I am having problems with the script saying auction ended even though there are days left to run.

Link to comment
Share on other sites

  • 3 weeks later...

Ebay uses the PST timezone. So, for the UK, set the following in the English.inc.php file:

$la_ebay_timezone = "8"; //0=PST, 1=MST, 2=CST, 3=EST

Another problem with this mod, is that it only presents the number of items set in $la_ebay_limit. There is no paging if you happen to have more items!!

Link to comment
Share on other sites

  • 3 weeks later...

cynic stated that change the location of the ebay file from catalog.php to ebay.php which works fine. it did say aslo that unless u have the catalog installed. why is this cause i installed the catalog and now ebay.php dont show but what i did is this which works great--------------I just added it to the end of thast section in the cat_navi.php how do ya do it your way cynic????????

echo "<table border=\"0\" cellspacing=\"0\" width=\"120\" cellpadding=\"1\" align=\"left\">

<tr>

<td><img src='images/bullet.gif' border='0'>

</td>

<td align=\"left\"><a href='index.php'>$la_search_home</a></td>

</tr>

<tr>

<td><img src='images/bullet.gif' border='0'>

</td>

<td align=\"left\"><a href='catalog.php'>$la_mod_catalog</a></td>

</tr>

<tr>

<td><img src='images/bullet.gif' border='0'>

</td>

<td align=\"left\"><a href='ebay.php'>$la_ebay_header</a></td>

</tr>";

Link to comment
Share on other sites

Nice little mod. One thing I didn't like though is if there are no auctions available, the screen is left emtpy. I found if you add the following, it will let you put a note if there are no auctions available.

if ($stuff == "") {

  

	echo "<tr><td colspan=\"4\" align=\"center\"><br><i>$la_ebay_none</i></td></tr>";



}

I have it around line 200 just above the end tags for the tables.

Also, you'll have to modify your language file and add $la_ebay_none to display your message.

Hope it helps anyone that was in my situation... :)

Link to comment
Share on other sites

  • 1 month later...
  • 2 months later...

I made up the one below a while back for an ebay seller. All you do with it is put where you want it to show. When you click on a link in it it keeps your guest on your site and just changes the page within it.

<p align="center">

<object height="250" width="600" data="http://cgi6.ebay.com/ws/eBayISAPI.dll?ViewSellersOtherItems&include=0&userid=shoppawn&sort=3&rows=25&since=-1" center <>

&amp;quot align=&amp;quotbaseline&amp;quot border=&amp;quot0&amp;quot&amp;gt

</object>

All you need to do is change where it has userid=

to your user ID.

Hope that helps.. It works real well..

Link to comment
Share on other sites

As it shows below, I changed the url info and it works great there also.

<p>

<object height="250" width="600" data="http://www.bidmeup.com/cgi-bin/auction/auction.cgi?action=Browse&Search=SellerAuctions&Status=&SellerID=rebel&Lang=English" center <>

&amp;amp;quot align=&amp;amp;quotbaseline&amp;amp;quot border=&amp;amp;quot0&amp;amp;quot&amp;amp;gt</object>

</p>

Just go to the page that list all your auctions or your sellers stor url, whatever you want it to point to and it does in it's own little box.

Link to comment
Share on other sites

  • 3 weeks later...

Hi Guys

I have installed the ebay mod and it works rather well, apart from only displaying 5 items i have on ebay, have i done somthign wrong with the code or is this a limitation.

many thanks in advance

jon

Link to comment
Share on other sites

  • 3 weeks later...
  • 1 month later...
×
×
  • Create New...