Al Brookbanks Posted March 2, 2004 Posted March 2, 2004 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 March 3, 2004 Posted March 3, 2004 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 March 3, 2004 Posted March 3, 2004 How come this mod only supports american timezones? wouldn't GMT have been a viable option to include?
Guest dcwd Posted March 5, 2004 Posted March 5, 2004 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 Good catch! I was using another mod as a guideline and overlooked that! Thanks.
Guest dcwd Posted March 5, 2004 Posted March 5, 2004 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:
Guest kiwiarthur Posted March 31, 2004 Posted March 31, 2004 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
Guest dcwd Posted April 6, 2004 Posted April 6, 2004 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 April 6, 2004 Posted April 6, 2004 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 Arthur
Guest Posted June 28, 2004 Posted June 28, 2004 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 July 1, 2004 Posted July 1, 2004 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.
Guest Posted July 1, 2004 Posted July 1, 2004 I did that too and had exactly the same problems... Hope someone has some ideas how to fix this. M
Guest Posted July 22, 2004 Posted July 22, 2004 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!!
Guest Posted August 9, 2004 Posted August 9, 2004 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>";
Guest Posted August 9, 2004 Posted August 9, 2004 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... :)
Guest twisted Posted September 13, 2004 Posted September 13, 2004 Does this mod only work with eBay, or can it be configured to work with any auction site?
Guest Posted December 8, 2004 Posted December 8, 2004 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 <> &quot align=&quotbaseline&quot border=&quot0&quot&gt </object> All you need to do is change where it has userid= to your user ID. Hope that helps.. It works real well..
Guest Posted December 8, 2004 Posted December 8, 2004 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;quot align=&amp;quotbaseline&amp;quot border=&amp;quot0&amp;quot&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.
Guest Posted December 23, 2004 Posted December 23, 2004 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
Guest Posted January 13, 2005 Posted January 13, 2005 you need to change $la_ebay_limit = "5"; to whatever number you need as there is no pagination...
Guest Posted January 14, 2005 Posted January 14, 2005 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)
Guest Posted January 14, 2005 Posted January 14, 2005 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
Guest Posted March 13, 2005 Posted March 13, 2005 Anyone know where I can download this mod? The link in the beginning of the thread is broken :wacko:
Guest twisted Posted March 13, 2005 Posted March 13, 2005 Try ummm..........the DOWNLOADS section, by chance??? :rolleyes:
Guest Posted March 13, 2005 Posted March 13, 2005 Try ummm..........the DOWNLOADS section, by chance??? Ummmm, I did and the link is broken..... :D
Guest jbdancer Posted March 13, 2005 Posted March 13, 2005 http://www.cubecart.com/site/forums/index.php?download=39
Recommended Posts