Jump to content

Recommended Posts

Posted

Name: ebaymod.zip

Version: 1.0

Author: dcwd

Short Description: Display your ebay auctions

Long Description:

This is a hack that will allow your store customers the ability to view any items you currently have on Ebay, without leaving your site.

[Download File]

Guest cynic
Posted

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:

Guest cynic
Posted

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

Posted

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.

Posted

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:

  • 4 weeks later...
Guest kiwiarthur
Posted

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

Posted

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.

Guest kiwiarthur
Posted

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

  • 2 months later...
Posted

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

Guest broady
Posted

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.

Posted

I did that too and had exactly the same problems...

Hope someone has some ideas how to fix this.

M

  • 3 weeks later...
Posted

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!!

  • 3 weeks later...
Posted

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>";

Posted

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... :)

  • 1 month later...
Posted

Does this mod only work with eBay, or can it be configured to work with any auction site?

  • 2 months later...
Posted

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..

Posted

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.

  • 3 weeks later...
Posted

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

  • 3 weeks later...
Posted

you need to change

$la_ebay_limit = "5";

to whatever number you need as there is no pagination...

Posted

or you can install the mod that i wrote that displays ur whole ebay shop in ur site by adding 1 line of code B)

Posted

only problem was evil homer

it is us based so my uk only buy it nows failed to show up

nay good - also could not get it too work in firefox

  • 1 month later...
Posted

Anyone know where I can download this mod? The link in the beginning of the thread is broken :wacko:

Guest twisted
Posted

Try ummm..........the DOWNLOADS section, by chance???

:rolleyes:

Posted

Try ummm..........the DOWNLOADS section, by chance???

:rolleyes:

Ummmm, I did and the link is broken..... :wacko: :D

×
×
  • Create New...