HERE U GO....
User CP Referral ID and Referrer in Profile for vB3.7
What does this product do?
This product will add a content box in the User CP displaying a customizable referral "Message" and the member's "Referral Link" along with their referral count. It will also show the referrer in the profile.
Version Information:
Version 1.0.1 --Initial release for vB3.7
Version 1.0.2 --Using template hook instead of str_replace. Added profile referrals location to phrase. Cleaned up code.
Version 1.0.3 --Added Referrer name to member's profile (in General Information under the Statistics tab).
Installation overview:
Products to install: (1)
Templates to edit: (1)
Additional CSS to install: (1) - Optional
Installation Instructions:
1. In the memberinfo_block_statistics template
Find:
---------------------------
<if condition="$vboptions['usereferrer']"><li><span class="shade">$vbphrase[referrals]:</span> $prepared[referrals]</li></if>
---------------------------
BELOW it add:
---------------------------
<if condition="$show['referrer']"><li><span class="shade">$vbphrase[referrer]: </span><a href="member.php?u=$prepared[referralsuserid]">$prepared[referralsname]</a></li></if>
---------------------------
2. Go to the Style Manager and click on "All Style Options."
Scroll down to the "Additional CSS Definitions" box at the bottom of the page.
Add the following CSS code to the box:
a.bob:link {
color:#0000FF;
text-decoration: none;
}
a.bob:visited {
color:#0000FF;
text-decoration: none;
}
a.bob:hover {
font-weight:bold;
text-transform: uppercase;
}
3. Go to your Admin CP
Scroll down to 'Plugin System'
Click 'Manage Products'
Click 'Add/Import Product'
Click the 'Browse' button, and locate the product-usercp_referral_id.xml file on your computer
Done!
Enjoy!