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 04:58
Improved registration referral credit Greg-J vBulletin 3.5 Template Modifications 1 31 Jul 2006 06:13

  #16  
Old 12 Feb 2006, 15:00
msm25 msm25 is offline
 
Join Date: Feb 2006
Hello,

Is this to be done at register.php that is on the root?

I don't see this "<if condition="$show['referrer']">

Thank you,
Reply With Quote
  #17  
Old 18 Feb 2006, 17:33
o0Hubba0o's Avatar
o0Hubba0o o0Hubba0o is offline
 
Join Date: Mar 2005
Real name: Kevin
Originally Posted by msm25
Hello,

Is this to be done at register.php that is on the root?

I don't see this "<if condition="$show['referrer']">

Thank you,
Nope, this is a template edit, look in the Referrer template section for the "register" template.
Reply With Quote
  #18  
Old 19 Feb 2006, 04:30
mrahul mrahul is offline
 
Join Date: Nov 2005
screenshot please ?
Reply With Quote
  #19  
Old 19 Feb 2006, 06:10
TruthElixirX's Avatar
TruthElixirX TruthElixirX is offline
 
Join Date: Sep 2004
Take registration form... minus "refferer" field.
Reply With Quote
  #20  
Old 13 Mar 2006, 14:07
Nathan2006's Avatar
Nathan2006 Nathan2006 is offline
 
Join Date: Feb 2006
Thank you

Install
Reply With Quote
  #21  
Old 14 Dec 2006, 07:18
netdebut netdebut is offline
 
Join Date: May 2006
Awesome hack, it works perfectly in my forum. Thanks!
Reply With Quote
  #22  
Old 21 Dec 2006, 04:13
Brandon Sheley's Avatar
Brandon Sheley Brandon Sheley is offline
 
Join Date: Mar 2005
Real name: Brandon
great Idea,, does it work in 3.6 ?
I'll give it a try
__________________

Email me for website help: brandon[at]sheley[dot]org
Reply With Quote
  #23  
Old 20 Jan 2007, 15:19
mrkhm mrkhm is offline
 
Join Date: Oct 2006
hi, will the referrer id be stored in a cookie as well? in case sign up is not completed
Reply With Quote
  #24  
Old 26 Jan 2007, 06:16
mrkhm mrkhm is offline
 
Join Date: Oct 2006
feedback: works perfectly in 3.6.4, the 2nd part of the template edit instructions don't match the instructions given here as the code block is changed for vb 3.6.4 but just look for </fieldset></if> and put your final </if> as instructed by the instructions there and it works well.
Reply With Quote
  #25  
Old 16 Mar 2007, 06:54
Bree's Avatar
Bree Bree is offline
 
Join Date: Aug 2006
Real name: Bree Davis
Thumbs up

*Installed* Easy as pie.. Works great for me - vBulletin 3.6.5 Thanks a bunches! Always, Bree
__________________
If something is worth doing....
........................ someone would have done it already =0)
-Unknown
Reply With Quote
  #26  
Old 24 Oct 2009, 16:13
ram94401's Avatar
ram94401 ram94401 is offline
 
Join Date: Dec 2007
This works well. Only problem is that the ref id is stored in cookie. If other people use the same computer and registers in your forum, they also wont see the referrer field in the regn form.

What this means is that same referrer id will be propagated to any new user that registers thru that computer.
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 13:12.

Layout Options | Width: Wide Color: