Back to vBulletin 3.5 Template Modifications

Bulletproof referral awards at registration
Mod Version: 1.00, by MacMorag

This modification is in the archives.
vB Version: 3.5.0 Rating: (2 votes - 4.50 average) Installs: 41
Released: 17 Oct 2005 Last Update: 05 Nov 2005 Downloads: 34
Not Supported Template Edits  

The way vb is set up, means that it is possible for a registering user to clear the "referred by" field when they are completing the registration form - thus robbing the referring member of a referral point.

The following mod is to the "register" template, and tests whether the registering member has followed a referral link, and if they have, it doesn't show the "referred by" field at all, but hides it, so that the referring member definitely gets the referral award.

In register template, look for:

<if condition="$show['referrer']">

before this add:

<if condition="$referrername">
<input type="hidden" name="referrername" value="$referrername" />
<else />


Now look for:

<tr>
<td>
$vbphrase[referrer]:<br />
<input type="text" class="bginput" name="referrername" value="$referrername" size="50" maxlength="250" />
</td>
</tr>
</table>
</fieldset>
</if>


After this, add:

</if>

And that's it. All very simple.

Download

This modification is archived and cannot be downloaded.

Similar Mods

*Post Awards* Simple Postbit and Memberinfo awards manually given thru User Options vBulletin 3.5 Template Modifications
Improved registration referral credit vBulletin 3.5 Template Modifications

vblts.ru supports vBulletin®, 2022-2024