Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications

Reply
 
Thread Tools
Add eBay to postbit(_legacy) WITH Commission Junction info embedded Details »»
Add eBay to postbit(_legacy) WITH Commission Junction info embedded
Version: 1.00, by tokenyank tokenyank is offline
Developer Last Online: Nov 2012 Show Printable Version Email this Page

Category: Mini Mods - Version: 3.6.7 Rating:
Released: 07-06-2007 Last Update: Never Installs: 9
Template Edits
 
No support by the author.

Requirements:
You *MUST* have a Commission Junction account from http://www.cj.com and then edit the template edits below and change the PID=1781835 to your PID given in your account information on Commission Junction. Otherwise, feel free to leave my PID in place... Give me the eBay pennies whilst you have the mod active on your board!

Steps:

1. AdminCP -> User Profile Fields -> Add New User Profile Field
Profile field type = Single-line text box
Title: eBay ME page (not important as long as it is descriptive to your users)
Description: Add your eBay username to allow users to see your ME page on eBay (not important as long as it is descriptive to your users)
You can leave the rest to default.


**Note down the number of the field! Example: field13. You need to replace the X in the next code with the number!**

Repeat the above steps for each of the entries you want in your postbit(_legacy). In other words, if you want to show an user's auction, feedback, and ME page do the above 3 times and make a note of the field numbers for each.

Now, template edits:

In postbit(_legacy)

Find:
Code:
$post[skypeicon]
Add under (**make sure you change [fieldX] for the relevant number and the PID= as explained in the above steps**):

For eBay.com

Sellers Other Items:
Code:
<!-- ebay auctions start -->
<if condition="$post[fieldX]"><a href="http://rover.ebay.com/rover/1/711-1751-2978-71/1?AID=5463217&PID=1781835&mpre=http%3A%2F%2Fsearch.ebay.com%2F_W0QQsassZ$post[fieldX]QQhtZ-1" alt="My eBay auctions" target="_blank" rel="nofollow">
<img src="images/misc/ebay.gif" border="0"></a>
</if>
<!-- ebay auctions end -->

User's eBay feedback:
Code:
<!-- ebay feedback start -->
<if condition="$post[fieldX]"><a href="http://rover.ebay.com/rover/1/711-1751-2978-71/1?AID=5463217&PID=1781835&mpre=http%3A%2F%2Ffeedback.ebay.com%2Fws%2FeBayISAPI.dll%3FViewFeedback2%26userid%3D$post[fieldX]" alt="My eBay auctions" target="_blank" rel="nofollow">
<img src="images/misc/myebay.gif" border="0"></a>
</if>
<!-- ebay feedback end -->

User's eBay Me page:
Code:
<!-- ebay ME page start -->
<if condition="$post[fieldX]"><a href="http://rover.ebay.com/rover/1/711-1751-2978-71/1?AID=5463217&PID=1781835&mpre=http%3A%2F%2Fcgi3.ebay.com%2Fws%2FeBayISAPI.dll%3FViewUserPage%26userid%3D$post[fieldX]" alt="eBay About me" target="_blank" rel="nofollow">
<img src="images/misc/ebay_me.gif" border="0"></a>
</if>
<!-- ebay ME page end -->


For eBay.co.uk

Sellers Other Items:
Code:
<!-- ebay auctions start -->
<if condition="$post[fieldX]"><a href="http://rover.ebay.com/rover/1/710-5232-2978-1/1?AID=9479574&PID=1781835&mpre=http%3A//search.ebay.co.uk/_W0QQsassZ$post[fieldX]QQhtZ-1" alt="My eBay auctions" target="_blank" rel="nofollow">
<img src="images/misc/ebay.gif" border="0"></a>
</if>
<!-- ebay auctions end -->

User's eBay feedback:
Code:
<!-- ebay feedback start -->
<if condition="$post[fieldX]"><a href="http://rover.ebay.com/rover/1/710-5232-2978-1/1?AID=9479574&PID=1781835&mpre=http%3A//feedback.ebay.co.uk/ws/eBayISAPI.dll%3FViewFeedback2%26userid%3D$post[fieldX]" alt="My eBay auctions" target="_blank" rel="nofollow">
<img src="images/misc/myebay.gif" border="0"></a>
</if>
<!-- ebay feedback end -->

User's eBay Me page:
Code:
<!-- ebay ME page start -->
<if condition="$post[fieldX]"><a href="http://rover.ebay.com/rover/1/710-5232-2978-1/1?AID=9479574&PID=1781835&mpre=http%3A//members.ebay.co.uk/ws/eBayISAPI.dll%3FViewUserPage%26userid%3D$post[fieldX]" alt="eBay About me" target="_blank" rel="nofollow">
<img src="images/misc/ebay_me.gif" border="0"></a>
</if>
<!-- ebay ME page end -->

(obviously adding all three blocks of code will give you all three options... Pick and choose if you do not want all three. You'll also may want to add some <br /> depending on what your postbit(_legacy) looks like when images are added.)

Upload the images to "http://www.yourdomain.com/forumROOT/images/misc/" (included the PSD I used to make the gifs so that you can change the images if you want)

And that's it... Tell your users to modify their UserCP -> Profile and enter in their eBay names and anytime anyone clicks one of the icons in their postbit, they'll be cookied and their eBay activity could produce you some affiliate pennies!


This mod was done with trial and error and works for me on 4 seperate boards using both UK and US eBay Affiliate info. I'm positive that it will work with other eBay sites as long as they are partnered with Commission Junction.

I will do what I can to help but this is pretty self explanitory... Changing the PID= and the [fieldX] in the code is about as hard as it gets when implementing this hack.

As always, feel free to donate some of your earned affiliate pennies to me... But, I won't hold my breath!

See a demo here (look in postbit silly!).

Show Your Support

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

Comments
  #2  
Old 07-07-2007, 12:56 PM
tokenyank tokenyank is offline
 
Join Date: Jul 2005
Location: London
Posts: 142
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just because everyone else does... Reserved!
Reply With Quote
  #3  
Old 07-13-2007, 03:58 PM
pcoskat pcoskat is offline
 
Join Date: Apr 2002
Location: atlanta
Posts: 423
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok...this is MOST BRILLIANT!!! Love it, love it, love it!

The ladies on my forum are going to eat this up!
Reply With Quote
  #4  
Old 07-13-2007, 04:25 PM
pcoskat pcoskat is offline
 
Join Date: Apr 2002
Location: atlanta
Posts: 423
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any chance it will work with other than legacy?
Reply With Quote
  #5  
Old 07-13-2007, 09:11 PM
tokenyank tokenyank is offline
 
Join Date: Jul 2005
Location: London
Posts: 142
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It'll work in postbit or postbit_legacy... Since I do not use postbit, you'll have to play around with the design (placement, etc) but the code itself will work anywhere.

And, as an aside, since I did this, my CJ commissions are up 200%!
Reply With Quote
  #6  
Old 07-14-2007, 12:42 PM
pcoskat pcoskat is offline
 
Join Date: Apr 2002
Location: atlanta
Posts: 423
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tokenyank View Post
And, as an aside, since I did this, my CJ commissions are up 200%!
very cool!
Reply With Quote
  #7  
Old 07-15-2007, 04:17 PM
CMGU CMGU is offline
 
Join Date: Mar 2007
Location: Central America
Posts: 213
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

oh thank u i need this
Reply With Quote
  #8  
Old 07-15-2007, 10:26 PM
Smiry Kin's's Avatar
Smiry Kin's Smiry Kin's is offline
 
Join Date: Dec 2005
Location: United Kingdom!
Posts: 954
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

rather not have this in postbit, icons a little bit to big.

how about a drop down menu where u hover over a ebay icon an its got the images you showed there for there feedback, there own space on ebay etc...

i might add it to there profile, about it.
Reply With Quote
  #9  
Old 07-29-2007, 08:16 AM
ssandgirls's Avatar
ssandgirls ssandgirls is offline
 
Join Date: May 2007
Location: Australia
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very cool, Many thanks for this......
Reply With Quote
  #10  
Old 03-31-2008, 03:16 PM
kendra kendra is offline
 
Join Date: Jun 2006
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This looks very cool!

I would love to download i, but Ebay is changing their affiliate program. Any chance to get an update with affiliate links in the new program?

THANKS!
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 05:15 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.09624 seconds
  • Memory Usage 2,298KB
  • Queries Executed 23 (?)
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
  • (7)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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