vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Mini Mods - eBay seller widget BB code (with your own affilliate ID) (https://vborg.vbsupport.ru/showthread.php?t=238151)

nitra1000 03-12-2010 10:00 PM

eBay seller widget BB code (with your own affilliate ID)
 
1 Attachment(s)
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 (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:
Code:

<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


Example: [ebayseller]d_fickes[/ebayseller]
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

Quote:

Originally Posted by pericolosogr (Post 2002914)
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

Quote:

Originally Posted by nitra1000 (Post 2002999)
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

Quote:

Originally Posted by MrD (Post 2006095)
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


All times are GMT. The time now is 07:11 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01569 seconds
  • Memory Usage 1,738KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete