Back to vBulletin 3.5 Template Modifications

Improved registration referral credit
Mod Version: 1.00, by Greg-J

This modification is in the archives.
vB Version: 3.5.4 Rating: (0 vote - 0 average) Installs: 2
Released: 31 Jul 2006 Last Update: Never Downloads: 1
Not Supported  

This is just an 'improvement' of MacMorag's Bulletproof referral awards at registration. It's a great simple little hack, but I would prefer the user knows who referred them rather than leave them in the dark. This allows your referral to see who referred them, but does not allow them to change who that was.

Open the Registration Templates » register template and find:

HTML Code:
<if condition="$referrername">
	<fieldset class="fieldset">
		<legend>$vbphrase[referrer]</legend>
		<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
		<tr>
			<td><phrase 1="$vboptions[bbtitle]">$vbphrase[if_referred_enter_name]</phrase></td>
		</tr>
		<tr>
			<td>
				$vbphrase[referrer]:<br />
				<input type="text" class="bginput" name="referrername" disabled="disabled" value="$referrername" size="50" maxlength="250" />
			</td>
		</tr>
		</table>
	</fieldset>
<else />
And _REPLACE_ it with this:
HTML Code:
<if condition="$referrername">
<fieldset class="fieldset">
	<legend>$vbphrase[referrer]</legend>
	<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
	<tr>
		<td><phrase 1="$vboptions[bbtitle]">$vbphrase[if_referred_enter_name]</phrase></td>
	</tr>
	<tr>
		<td>
			$vbphrase[referrer]:<br />
			<input type="text" class="bginput" name="referrername" disabled="disabled" value="$referrername" size="50" maxlength="250" />
		</td>
	</tr>
	</table>
</fieldset>
<else />
<if condition="$show['referrer']">
<fieldset class="fieldset">
	<legend>$vbphrase[referrer]</legend>
	<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
	<tr>
		<td><phrase 1="$vboptions[bbtitle]">$vbphrase[if_referred_enter_name]</phrase></td>
	</tr>
	<tr>
		<td>
			$vbphrase[referrer]:<br />
			<input type="text" class="bginput" name="referrername" value="$referrername" size="50" maxlength="250" />
		</td>
	</tr>
	</table>
</fieldset>
</if>
</if>


You're all set.

Credit to MacMorag for inspiration.

P.S. Used in conjunction with http://www.vbulletin.org/forum/showthread.php?p=1021459 it can really make a difference.

Download

No files for download.

Similar Mods

Bulletproof referral awards at registration vBulletin 3.5 Template Modifications

vblts.ru supports vBulletin®, 2022-2024