Bulletproof referral awards at registration
This modification is in the archives.
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 |