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 Listing widget BB code (with your affiliate id added in) (https://vborg.vbsupport.ru/showthread.php?t=238150)

nitra1000 03-12-2010 10:00 PM

Ebay Listing widget BB code (with your affiliate id added in)
 
1 Attachment(s)
Hi all, this little bit of code, will allow your members to use the official ebay listing widget on your site...

As seen At my Leicester Talk Forum (first 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 Listing
BB Code Tag Name: ebay
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="300">
                                <param name="movie" value="http://togo.ebay.com/togo/togo.swf?2008013100" />
                                <param name="flashvars" value="base=http://togo.ebay.com/togo/&lang=en-us&mode=normal&itemid={param}&query={option}&campid=Affiliate-ID-HERE" />
                                <embed src="http://togo.ebay.com/togo/togo.swf?2008013100" type="application/x-shockwave-flash" width="355" height="300" flashvars="base=http://togo.ebay.com/togo/&lang=en-us&mode=normal&itemid={param}&query={option}&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: [ebay=classic cars]170449644305[/ebay]
Description: Add an Ebay listing to the forum. Locate the auction of interest you want, and copy the Item Number from the box on the right, and paste between the [ebay] tags, you should also find a search that you want to perform after the auction has expired (end time + 120 days) and put that in as a option. So the syntax is [ebay=search term]item number[/ebay].
Use {option}: Yes
Button Image (Optional): whatever 20x20 image you want, I've put one at the bottom. Please upload the file and then refer to it...
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..
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:17 AM

I beleive localisation is done via the TLD

So if you want UK prices 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.

wampforum 03-13-2010 09:27 AM

forgive the dumb question but how do I get this actually to display on the site? Ive done the BB code and the preview looks fine there but im at a loss how to show the ad on the site!!

ok found i just copy the html into the add manager.

nitra1000 03-13-2010 09:51 AM

Quote:

Originally Posted by wampforum (Post 2002701)
forgive the dumb question but how do I get this actually to display on the site? Ive done the BB code and the preview looks fine there but im at a loss how to show the ad on the site!!

ok found i just copy the html into the add manager.

This is BB code your members can just click the logo, and then put in there item number. The widget will then be inserted into a post.

Similar to bolding text or inserting smiles...

abqtj 03-13-2010 01:17 PM

Very nice...tagged for when my affiliate app gets approved :D

Dr.osamA 03-16-2010 11:15 PM

thanxxx

installed

wampforum 03-17-2010 08:11 AM

works like a charm - best mod Ive found!

aaronrand 03-17-2010 10:07 PM

1 Attachment(s)
Ok i installed it, and in the bb code preview it looks right, and i have the new ebay button on the forum postings, but when i hit the ebay icon, and enter an ebay item in the popup box, it doesnt display it in the actual forum post.

nitra1000 03-18-2010 12:39 AM

Quote:

Originally Posted by aaronrand (Post 2005761)
Ok i installed it, and in the bb code preview it looks right, and i have the new ebay button on the forum postings, but when i hit the ebay icon, and enter an ebay item in the popup box, it doesnt display it in the actual forum post.

The option is your search term... This I beleive is your mistake.

Option = Search Term
Parameter = Item Number

So your code should be "[ebay=something]270530529220[/ebay]"

Hope this helps.

MrD 03-18-2010 08:10 PM

Hi,
is it possible to allow the Code only in one Subforum?
maybe work this without the Option only with the itemnumber?

I think this is esearly for the Users.
The auction number in Ebay BBCode Tags :)

But is it easy to change the Language in German?


All times are GMT. The time now is 10:11 AM.

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.01328 seconds
  • Memory Usage 1,746KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete