Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Bulletproof referral awards at registration Details »
Bulletproof referral awards at registration
Mod Version: 1.00, by MacMorag (Member) MacMorag is offline
Developer Last Online: Dec 2008 I like it Show Printable Version Email this Page

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 Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
*Post Awards* Simple Postbit and Memberinfo awards manually given thru User Options Chicago_VLNU_4s vBulletin 3.5 Template Modifications 7 22 Apr 2008 05:58
Improved registration referral credit Greg-J vBulletin 3.5 Template Modifications 1 31 Jul 2006 07:13

Comments
  #2  
Old 17 Oct 2005, 12:05
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Interesting. I like this.
Reply With Quote
  #3  
Old 17 Oct 2005, 12:21
Oblivion Knight's Avatar
Oblivion Knight Oblivion Knight is offline
 
Join Date: May 2002
Real name: Andy
What a good idea.!
Reply With Quote
  #4  
Old 17 Oct 2005, 13:50
The Realist's Avatar
The Realist The Realist is offline
 
Join Date: Oct 2001
Real name: Brian
Nice idea M8, well done.
Reply With Quote
  #5  
Old 17 Oct 2005, 18:51
007's Avatar
007 007 is offline
 
Join Date: Jan 2003
Great idea! Installed!
Reply With Quote
  #6  
Old 17 Oct 2005, 20:08
nexialys
Guest
 
good... never thought of this detail... even if i browsed most of the templates.. lol
Reply With Quote
  #7  
Old 17 Oct 2005, 22:07
hotrod1 hotrod1 is offline
 
Join Date: Apr 2005
Cool mod, thanks!
__________________
Need any help with your vbulletin forum? Need to install your forum and/or hacks? Then feel free to PM me.
Reply With Quote
  #8  
Old 05 Nov 2005, 12:25
o1dirtydog o1dirtydog is offline
 
Join Date: Aug 2005
im gettnig the following error with the first edit

In register template, look for:

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

before this add:

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


The following error occurred when attempting to evaluate this template:

Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/emceepla/public_html/forum/includes/adminfunctions_template.php(3532) : eval()'d code on line 233

This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.
Reply With Quote
  #9  
Old 05 Nov 2005, 12:27
o1dirtydog o1dirtydog is offline
 
Join Date: Aug 2005
actually never mind, you have to do both edits before u save.

i was in the habit of saving after each edit.



thanks for this mod, it's great.
Reply With Quote
  #10  
Old 05 Nov 2005, 13:09
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Please post this in a text file for those who want to re-add it after an upgrade.
Reply With Quote
  #11  
Old 15 Nov 2005, 06:31
2fast4ya 2fast4ya is offline
 
Join Date: Feb 2005
but doesnt this mean people who weren't sent in by link wont be able to type in a refferal iname?
Reply With Quote
  #12  
Old 15 Nov 2005, 06:34
Moparx Moparx is offline
 
Join Date: Jul 2004
Originally Posted by 2fast4ya
but doesnt this mean people who weren't sent in by link wont be able to type in a refferal iname?
they wont need too.. the referral id is already added. its just in a hidden input field
if they are given the link without an attached referring id then they will have the option of stating who referred them.
Reply With Quote
  #13  
Old 15 Nov 2005, 09:34
MacMorag MacMorag is offline
 
Join Date: Dec 2001
Just to clarify:

There are two ways a new member can arrive. The referral field will be visible or hidden, depending on how the visitor arrives -

1. Visitor has heard about the site via word-of-mouth, and arrives without an attached referrerid. The field is VISIBLE. If visitor wishes to credit his oral informer then this is possible.

2. Visitor arrives at the site via a referral link sent to him/her by an existing member (with attached referrid). The field is INVISIBLE. The original referring member will be credited with the referral - even if the visitor would like to give the referrer credit to someone else, or simply give credit to no-one.

Reply With Quote
  #14  
Old 30 Nov 2005, 22:39
bonjurkes bonjurkes is offline
 
Join Date: Nov 2005
thanx / installed
Reply With Quote
  #15  
Old 16 Jan 2006, 18:28
Totti's Avatar
Totti Totti is offline
 
Join Date: Jul 2005
Real name: Malte
thanks a lot
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 02:17.

Layout Options | Width: Wide Color: