Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Referral ID in User CP Details »
Referral ID in User CP
Mod Version: 1.2, by ResaleBroker (Member) ResaleBroker is offline
Developer Last Online: Feb 2014 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.0.7 Rating: (7 votes - 4.71 average) Installs: 173
Released: 23 Jun 2005 Last Update: 02 May 2006 Downloads: 638
Not Supported Template Edits Code Changes  

This simple modification will add a content box in the User CP displaying the user's "Referral Count", "Referral Link" and a "Referral Message" that can can be customized in the Phrase Manager.

For 3.5.x or higher simply install the product.


For 3.0.x follow the instructions below:

1) Modify USERCP template
Admin CP >> Style Manager >> Edit Templates >> User control Panel Templates >> USERCP

Find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Above that add:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


2) Add the Required Phrase
Admin CP >> Language & Phrases >> Phrase Manager >> Add New Phrase

Phrase Type:
Global
Varname:
refid_usercp
Text:
<p>Please help us spread the word about "{1}." When referring others to the community you can use the link below which includes your unique referral ID.</p>
<p>Each time someone follows this link to {1} and registers as a new member, your referral count will be incremented by one.</p>
<p>Please be courteous when promoting {1} by not spamming other web sites with your referral link just to gain referrals.</p>
<fieldset id="referrallink"><legend>Referral Link for {4}&nbsp;</legend><a href="{5}">{5}</a></fieldset>

3) Modify usercp.php file [VB versions 3.0.x]

Open usercp.php and Find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Above that add:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


4) That's it! You're Done!




*A special thanks to Noppid for helping out and getting the referral counts to appear in the UserCP for 3.0.x and 3.5.x versions.

*A special thanks to Boofo for packaging this product for 3.5.x

Download Now

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

Screenshots

Click image for larger version

Name:	refid_usercp_v1.2.jpg
Views:	1392
Size:	40.4 KB
ID:	39066  

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
Miscellaneous Hacks User CP Referral ID and Referrer in Profile for vB3.7 Boofo Modification Graveyard 77 02 Jul 2008 00:57

Comments
  #2  
Old 23 Jun 2005, 00:54
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Real name: Zachery Woods
Should really be in a phrase if we want to get technical
__________________
Looking for ImpEx?
Reply With Quote
  #3  
Old 23 Jun 2005, 01:28
boo.3 boo.3 is offline
 
Join Date: Nov 2004
thx

/me clicks install
__________________
http://www.holvn.de/upload/store/Firefox.GIF

|_x_| b3 playground

This posting is provided "as is" with no warranties, and confers no rights.
Reply With Quote
  #4  
Old 23 Jun 2005, 06:00
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Thanks for sharing this with us. Could you please also provide the instructions in a (zipped) textfile. This makes it easier for those who installed it to use for future vB upgrades.
__________________
Marco van Herwaarden
Ex vBulletin.org Coordinator
Reply With Quote
  #5  
Old 23 Jun 2005, 06:07
GetGamer.com GetGamer.com is offline
 
Join Date: Jul 2004
I agree with Zachery regarding the use of phrases. I'm in the midst of adding a second language to one of my sites. Anyone have some pointers on how-to modify this mod to use phrases?
Reply With Quote
  #6  
Old 23 Jun 2005, 06:26
Crow's Avatar
Crow Crow is offline
 
Join Date: Jan 2005
Real name: Crow
/me clicks install.
Reply With Quote
  #7  
Old 23 Jun 2005, 06:28
ResaleBroker's Avatar
ResaleBroker ResaleBroker is offline
 
Join Date: Aug 2004
Real name: Jeff Blackwell
Originally Posted by MarcoH64
Thanks for sharing this with us. Could you please also provide the instructions in a (zipped) textfile. This makes it easier for those who installed it to use for future vB upgrades.
Sure, no problem.
__________________
Jeff Blackwell
Reply With Quote
  #8  
Old 23 Jun 2005, 08:31
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Thank you for the fast reaction.
__________________
Marco van Herwaarden
Ex vBulletin.org Coordinator
Reply With Quote
  #9  
Old 23 Jun 2005, 09:29
ResaleBroker's Avatar
ResaleBroker ResaleBroker is offline
 
Join Date: Aug 2004
Real name: Jeff Blackwell
Originally Posted by MarcoH64
Thank you for the fast reaction.
Happy to be of help.
__________________
Jeff Blackwell
Reply With Quote
  #10  
Old 23 Jun 2005, 11:28
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Real name: Josh
Originally Posted by Zachery
Should really be in a phrase if we want to get technical
I agree with you. That would be alot better. But thanks for the hack.
Reply With Quote
  #11  
Old 23 Jun 2005, 12:33
bigcurt's Avatar
bigcurt bigcurt is offline
 
Join Date: Nov 2004
Real name: Curtis C.
Yea,I love this but I would much rather have phrases..but eh, thanks alot either way .
__________________
My first vB template additions: Add User Color Legend - Add eBay profile to postbit
Curtis C.- Owner and Operator of KeyHunt
Important Linkage: Buy vB - vB Styles
Just wanna ask a vB related question contact me.
Reply With Quote
  #12  
Old 23 Jun 2005, 17:58
ResaleBroker's Avatar
ResaleBroker ResaleBroker is offline
 
Join Date: Aug 2004
Real name: Jeff Blackwell
Originally Posted by Zachery
Should really be in a phrase if we want to get technical
I'll work on putting it into a phrase today.
__________________
Jeff Blackwell
Reply With Quote
  #13  
Old 23 Jun 2005, 18:40
bigcurt's Avatar
bigcurt bigcurt is offline
 
Join Date: Nov 2004
Real name: Curtis C.
Oh great, thanks alot
__________________
My first vB template additions: Add User Color Legend - Add eBay profile to postbit
Curtis C.- Owner and Operator of KeyHunt
Important Linkage: Buy vB - vB Styles
Just wanna ask a vB related question contact me.
Reply With Quote
  #14  
Old 24 Jun 2005, 05:33
ResaleBroker's Avatar
ResaleBroker ResaleBroker is offline
 
Join Date: Aug 2004
Real name: Jeff Blackwell
Ok, v1.1 is now available.
__________________
Jeff Blackwell
Reply With Quote
  #15  
Old 24 Jun 2005, 17:10
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Real name: Josh
Can I have a full 100% screenshot please? That first screeny looks like a bit messed up.
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:37.

Layout Options | Width: Wide Color: