Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
Ebay Listing widget BB code (with your affiliate id added in) Details »»
Ebay Listing widget BB code (with your affiliate id added in)
Version: 1.00, by nitra1000 nitra1000 is offline
Developer Last Online: Jun 2012 Show Printable Version Email this Page

Category: Mini Mods - Version: 4.0.2 Rating:
Released: 03-12-2010 Last Update: Never Installs: 31
Re-useable Code  
No support by the author.

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

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 06-10-2011, 09:53 PM
nitra1000's Avatar
nitra1000 nitra1000 is offline
 
Join Date: Dec 2009
Location: uk
Posts: 312
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

when the auction has expired the suggested products should be related to whatever you put in... it's most likely takign into account the actual auction as well... so you couldn't put "womans knickers" as the option for a classic car auction....

p.s can no longer test this as i left the ebay programme
Reply With Quote
  #33  
Old 11-10-2011, 10:00 PM
victorvu victorvu is offline
 
Join Date: Mar 2011
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I could not create with the code provided and got errors, as shown below:

"
The following BB Code replacement may not be properly formed. All HTML attributes should be enclosed within double quotes.
?<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}&campi d=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}&campi d=Affiliate-ID-HERE"> </embed> </object> </td> </tr> </table> </div>
"

What's wrong with it?

Victor
Reply With Quote
  #34  
Old 11-10-2011, 11:05 PM
nitra1000's Avatar
nitra1000 nitra1000 is offline
 
Join Date: Dec 2009
Location: uk
Posts: 312
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't know and eBay kicked me off their affiliate programme so I can't find out , I would suggest you try again as you might not have copied some of the code correctly.
Reply With Quote
  #35  
Old 11-22-2011, 01:39 AM
spillage spillage is offline
 
Join Date: Feb 2009
Location: S. Florida
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I also get the same error message when entering the code.
However, if I click OK anyway, the the code does insert the eBay widget/block, but it contains the error "Something went awry when I tried to get the listing. Probably a malformed API call."
Reply With Quote
  #36  
Old 12-11-2011, 07:41 PM
appsfinder appsfinder is offline
 
Join Date: Apr 2007
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

anyone have fix please
Reply With Quote
  #37  
Old 12-12-2011, 12:19 PM
appsfinder appsfinder is offline
 
Join Date: Apr 2007
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

its ok done it
Reply With Quote
  #38  
Old 12-13-2011, 09:37 AM
appsfinder appsfinder is offline
 
Join Date: Apr 2007
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nitra1000 View Post
Sorry no, Ebay currently does not pass the ID as a seperate RSS Element.
you don't know of any mod that will auto put id code from the post into this mode?

eg take &item=250951590824 [Ebay=something]auto here[/Ebay]

would save lots of work.
Reply With Quote
  #39  
Old 01-22-2012, 09:44 PM
spillage spillage is offline
 
Join Date: Feb 2009
Location: S. Florida
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by appsfinder View Post
its ok done it
Do you mind sharing what you did to get it to work?
Reply With Quote
  #40  
Old 01-24-2012, 11:14 PM
TopShelfGamer TopShelfGamer is offline
 
Join Date: May 2010
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

anyone find a fix for this?

or something similar to display ebay items in a cool widget for members to show off in posts
Reply With Quote
  #41  
Old 12-01-2012, 11:21 AM
craigvm's Avatar
craigvm craigvm is offline
 
Join Date: Aug 2012
Posts: 215
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

when i click to save the bb code i get this message

The following BB Code replacement may not be properly formed. All HTML attributes should be enclosed within double quotes.
<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.co.uk/togo/togo.swf?2008013100" /> <param name="flashvars" value="base=http://togo.ebay.co.uk/togo/&lang=en-us&mode=normal&itemid={param}&query={option}&campi d=Affiliate-ID-HERE" /> <embed src="http://togo.ebay.co.uk/togo/togo.swf?2008013100" type="application/x-shockwave-flash" width="355" height="300" flashvars="base=http://togo.ebay.co.uk/togo/&lang=en-us&mode=normal&itemid={param}&query={option}&campi d=Affiliate-ID-HERE"> </embed> </object> </td> </tr> </table> </div> i clicked ignore but it doe`nt work when you click in a post and enter the code this comes up in the post but when you submit the post nothing shows
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:39 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04816 seconds
  • Memory Usage 2,328KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete