Back to vBulletin 3.8 Template Modifications

Referral Link in User CP
Mod Version: 1.00, by Phaedrus

vB Version: 3.8.0 Rating: (6 votes - 4.83 average) Installs: 57
Released: 14 Jan 2009 Last Update: Never Downloads: 29
Supported Template Edits Re-usable Code Translations  

Often sites like to run contests for referrals, or members just like to be credited for those they refer to your site.

An easier way to do this is to use a referral link that automatically credits the user if the person they refer registers after using their link to get to your site.

You can add such a link into the USER CP shell so that if they wish to use the link to refer people to your site they can easily obtain access to it, copy it and paste it into e-mail, etc.

In Template USERCP_SHELL find:

Code:
<if condition="$show['profilepiclink']">
    <tr><td class="$navclass[profilepic]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editprofilepic">$vbphrase[edit_profile_picture]</a></td></tr>
    </if>
Below that add:

Code:
<!-- Referral Link -->
<tr><td class="$navclass[profile]" nowrap="nowrap"><a class="smallfont" href="index.php?referrerid=$bbuserinfo[userid]">Your Referral Link</a></td></tr>
<!-- / Referral Link -->

Download

No files for download.

Screenshots

File Type: %1$s SCRNshtRef.bmp


vblts.ru supports vBulletin®, 2022-2024