PDA

View Full Version : Mini Mods - eBay seller widget BB code (with your own affilliate ID)


nitra1000
03-12-2010, 10:00 PM
Hi all, this little bit of code, will allow your members to use the official ebay seller widget on your site...

As seen At my Leicester Talk Forum (http://leicestertalk.net/comments-suggestions/10149-ebay-listing.html) (second post)

This will automaticly add your affiliate code on the end too, so you can make some money with this.

Theres no products to upload, or templates to edit.. Just follow these steps.

Creating the basic Widget
Go To "Admin CP --> Custom BB Codes --> Add New BB Code"

Enter the following...

Title: eBay Seller
BB Code Tag Name: ebayseller
Replacement:

<div align="center" style="margin: 5px 5px 5px 5px;">
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="355">
<tr>
<td class="thead" style="text-align:center">
<object width="355" height="355">
<param name="movie" value="http://togo.ebay.com/togo/seller.swf?2008013100" />
<param name="flashvars" value="base=http://togo.ebay.com/togo/&lang=en-us&seller={param}&campid=Affiliate-ID-HERE" />
<embed src="http://togo.ebay.com/togo/seller.swf?2008013100" type="application/x-shockwave-flash" width="355" height="355" flashvars="base=http://togo.ebay.com/togo/&lang=en-us&seller={param}&campid=Affiliate-ID-HERE">
</embed>
</object>
</td>
</tr>
</table>
</div>
You will need to change the "Affiliate-ID-HERE" for your own in TWO places. If you don't have one just leave the code as is, ebay will just ignore it.

You can get one at ebays partner network site (https://www.ebaypartnernetwork.com/files/hub/en-US/index.html)


Example: d_fickes
Description: Add an Ebay seller widget to the forum. Locate the seller you want, and copy the username, and paste between the [ebayseller] tags.
Use {option}: No
Button Image (Optional): whatever 20x20 image you want, a quick google for one will get you a decent one.
Remove Tag If Empty: Yes
Disable BB Code Within This BB Code: Yes
Disable Smilies Within This BB Code: Yes
Disable Word Wrapping Within This BB Code: Yes



Thats It Folks..
I have had some issues with it not accepting my (UK) username... but I think that is because I've only ever bought stuff...

If you wish to thank me, check out my advertisers or considering you will be making some money off this a donation would be nice :)

Then maybe I will be able to buy the car in the example listing :cool:

I will be putting the other ebay widgets up in a moment too...

nitra1000
03-13-2010, 06:16 AM
I beleive localisation is done via the TLD

So if you want UK sellers you must enter ".co.uk" instead of ".com" in the replacement code (3 places).

Also Please be aware that currently the UK widgets are down due to eBay maintanence but when it comes back I will confirm the above is the case.

pericolosogr
03-13-2010, 04:42 PM
Could we have this based on articles number?
Say that i find something usefull being on sale and i wanna post it!
Instead of using the Url to link to the sales page on ebay, it would be great to enter the articles number between the tags and come up with a nice widget full of info and images of the actual sale in our boards!

nitra1000
03-13-2010, 07:22 PM
Could we have this based on articles number?
Say that i find something usefull being on sale and i wanna post it!
Instead of using the Url to link to the sales page on ebay, it would be great to enter the articles number between the tags and come up with a nice widget full of info and images of the actual sale in our boards!

Please see my other mod: https://vborg.vbsupport.ru/showthread.php?t=238150

If I understand your requirements this is what you are looking for.

AzzidReign
03-14-2010, 07:05 PM
I've been waiting for something like this for so long! THanks

pericolosogr
03-15-2010, 01:41 AM
Please see my other mod: https://vborg.vbsupport.ru/showthread.php?t=238150

If I understand your requirements this is what you are looking for.

Great:D
Thanx a lot!

MrD
03-18-2010, 09:21 PM
Hi,
i put the Sellername in the Tag, but only a Messega is shown, that the seller have no Parts to sell.
But on klicking an the Seller Site i see that 100 Parts are to sell.
Any Question about the id behind the swf code part.
What is thit for an ID?
2008013100

nitra1000
03-18-2010, 09:42 PM
Hi,
i put the Sellername in the Tag, but only a Messega is shown, that the seller have no Parts to sell.
But on klicking an the Seller Site i see that 100 Parts are to sell.
Any Question about the id behind the swf code part.
What is thit for an ID?
2008013100

It should be what ever your username is.

kf4eok
03-19-2010, 05:00 AM
this sounds great, I will tag for now and check it out when I have more time.
Thanks