![]() |
Referral ID in User CP
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: HTML Code:
<!-- ############## SUBSCRIBED THREADS ############## --> HTML Code:
<!-- ############### REFERRALS ############### --> 2) Add the Required Phrase Admin CP >> Language & Phrases >> Phrase Manager >> Add New Phrase Phrase Type: Quote:
Quote:
Quote:
3) Modify usercp.php file [VB versions 3.0.x] Open usercp.php and Find: Code:
eval('$HTML = "' . fetch_template('USERCP') . '";'); Code:
// REFERRALS 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 ;) |
Should really be in a phrase if we want to get technical :)
|
thx
/me clicks install |
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.
|
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?
|
/me clicks install.
|
Quote:
|
Thank you for the fast reaction.
|
Quote:
|
Quote:
|
All times are GMT. The time now is 10:56 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|