TWP Auctions - the FREE eBay affiliate script

10 DVD movies Star Wars Superman Spiderman X Men
| US $25.00 (0 Bid) End Date: Sunday Sep-07-2008 7:19:25 PDT Bid now | Add to watch list |
Click here to see a full page example.
The 100% free eBay auction script!
TWP Auctions is a free script to display eBay Partner Network affiliate auctions on your Wordpress or PHP powered website. TWP Auctions can display auctions from all over the world using country codes (us, au, uk, etc…). It uses “nofollow” on all outbound links, and includes a blank “onmouseover” function that hides the rover link in the user’s status bar.
Downloads:
Features:
- eBay Partner Network compatible
- Compatible with Wordpress
- Can be set to specific countries using country codes (au, uk, etc…)
- XHTML valid (kinda)
- All links are “nofollow”
- Blank mouseover text to hide rover links in user’s status bar
- 100% free!
Installation instructions
Note for Wordpress users:
Before you install TWP Auctions, you’ll need to install the Exec-PHP plugin for Wordpress. Before you go any further, make sure Exec-PHP is working by making a test post, e.g. <?php echo "hello world"; ?>. If you can’t get it to work, check out the documentation at the Exec-PHP website.
1. Download and install TWP Auctions
Download TWP Auctions. Extract and upload the files (twpauctions.php and lastRSS.php) to the root directory of your website or Wordpress blog.
2. Add auctions to a page or Wordpress post
Now make a new page or Wordpress post (do NOT use the visual editor!), and simply paste the following code where you want the auctions to appear. You’ll need to enter your own eBay Partner Network Campaign ID, Custom ID (optional), and keyword. The display value simply sets the number of auction items that are listed (default is 3). You can also set the country code for non US countries - see the country_code.txt file in the zip for more information.
<?php
$epn_campaign_id = "000000"; // EPN campaign id
$customid = "bmw"; // EPN custom id (optional)
$keyword = "BMW M3"; // put your keyword here
$display = "3"; // how many items to display
$country = "uk"; // see country_codes.txt for info
include "twpauctions.php";
?>
That’s it!
Other stuff…
To speed things up, you can cache the results if you want - this just means that the script will only fetch new auction results if the old feed has expired. Just create a directory called ‘cache’ in same directory as the twpauction.php file. You can tweak the cache directory and cache times in twpauctions.php if you want.
*Big thanks to Vojtech Semecky for creating lastRSS!
Feel free to leave a comment below - but if you need help, or want a reply, then I’ve started a help thread here.
16 Responses to “TWP Auctions - the FREE eBay affiliate script”
Leave a Reply
STOP! STOP! STOP!
If you're about to ask a question regarding TWP Auctions, then PLEASE post it in the forum, this page is for comments only! :)









March 13th, 2008 at 2:48 am
Thanks. Would be great to have those urls to ebay redirect so they dont appear to be links to ebay and of course nofollow.
March 20th, 2008 at 10:39 pm
Thanks for the great plugin.
One question though, will it work with the new eBay affiliate program after it no longer uses CJ?
P.S. I wish there’s a “subscribe to comment” here so that I know when you reply
March 21st, 2008 at 12:27 am
Yes, I’ll be updating the script. Check back in early April for the updated version.
March 26th, 2008 at 6:15 pm
I been thinking about applying for the ebay aff. program. I have bookmarked your site in case I do. Thanks for sharing your script with us! It looks awesome!
April 6th, 2008 at 3:07 am
Great!!! Good work guys! Lets say i would like to use ebay uk or spain or italy, can i change something on the file? What part should i modify?
Thanks
April 6th, 2008 at 9:15 am
@ Claudio, at the moment it’s only for eBay US. I’ll be releasing a new version in the next few days that will let you specify the country.
April 6th, 2008 at 6:07 pm
Thanks Kerosene!!!
April 7th, 2008 at 5:00 pm
Nice script, but when I run it I only get the price and pictures of the items, no title or discription. can you help.
April 10th, 2008 at 7:59 pm
Nick, try the latest version. If you’re still having problems, please post in the forum where I can help you in more detail.
May 11th, 2008 at 5:28 pm
Thamks Kerosene, had it working fine until a few days ago,
when all my rss scripts stopped working. All I get is a blank page or blank from where the script is to start and the page stops loading. This only happens with eBay, I’ve used other rss scripts and they work O.K. with amazon, news feeds and such, eBay rss is the only one that the problem, do I need to use a seperate cache. Or is my provider at fault. With MagicRss I get, caching disabled check your configuration, any ideas. Thanks once again nick.
July 26th, 2008 at 1:46 am
I’m using version 3 (beta) and it’s working fine. Thank you!
August 1st, 2008 at 11:49 am
Thank you very must for your time in creating this small effective plugin. Its an excellent idea and very kind of you to allow others to share it. Good luck to you in future and keep up the great work.
Best Regards
Nick
August 3rd, 2008 at 2:47 pm
It works! I’m going to put this on all my blogs. thank you!
August 10th, 2008 at 1:06 am
Thank you for this. i am using it on my wordpress websites.
August 17th, 2008 at 7:39 pm
Is there any chance we could display just auction titles as text links etc.?
August 31st, 2008 at 6:41 am
Can it be modified to use pepperjam-ebay id’s?