Back to vBulletin 3.6 Template Modifications

Add eBay to postbit(_legacy) WITH Commission Junction info embedded
Mod Version: 1.00, by tokenyank

This modification is in the archives.
vB Version: 3.6.7 Rating: (1 vote - 5.00 average) Installs: 9
Released: 07 Jul 2007 Last Update: Never Downloads: 43
Not Supported Template Edits  

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 http://www.mumsonline.net/forums/3-new-things-t26675.html (look in postbit silly!).

Download

This modification is archived, downloads are still allowed.

File Type: %1$s ebay.zip (46.2 KB, 40 downloads)

Screenshots

Similar Mods

A Better Postbit(_Legacy) View vBulletin 3.6 Template Modifications
Mini Mods Add eBay to postbit(_legacy) WITH AuctionAds info embedded vBulletin 3.6 Template Modifications
A better postbit(_legacy) view vBulletin 3.5 Template Modifications

vblts.ru supports vBulletin®, 2022-2024