![]() |
|
Mod Options |
![]() |
|||||||||||
User CP Referral ID and Referrer in Profile for vB3.7
![]() Developer Last Online: Jun 2012 ![]() ![]() ![]() This thread is in the Modification Graveyard.
User CP Referral ID and Referrer in Profile for vB3.7
Version 1.0.3 (By Boofo) What does this product do? This product will add a content box in the User CP displaying a customizable referral "Message" and the member's "Referral Link" along with their referral count. It will also show the referrer in the profile. Version Information: Version 1.0.1 --Initial release for vB3.7 Version 1.0.2 --Using template hook instead of str_replace. Added profile referrals location to phrase. Cleaned up code. Version 1.0.3 --Added Referrer name to member's profile (in General Information under the Statistics tab). Installation overview: Products to install: (1) Templates to edit: (1) Additional CSS to install: (1) - Optional Installation Instructions: 1. In the memberinfo_block_statistics template Find: --------------------------- <if condition="$vboptions['usereferrer']"><li><span class="shade">$vbphrase[referrals]:</span> $prepared[referrals]</li></if> --------------------------- BELOW it add: --------------------------- <if condition="$show['referrer']"><li><span class="shade">$vbphrase[referrer]: </span><a href="member.php?u=$prepared[referralsuserid]">$prepared[referralsname]</a></li></if> --------------------------- 2. Go to the Style Manager and click on "All Style Options." Scroll down to the "Additional CSS Definitions" box at the bottom of the page. Add the following CSS code to the box: a.bob:link { color:#0000FF; text-decoration: none; } a.bob:visited { color:#0000FF; text-decoration: none; } a.bob:hover { font-weight:bold; text-transform: uppercase; } 3. Go to your Admin CP Scroll down to 'Plugin System' Click 'Manage Products' Click 'Add/Import Product' Click the 'Browse' button, and locate the product-usercp_referral_id.xml file on your computer Done! Enjoy! NOTE: If you do not click install, you do not need support. Download Now Only licensed members can download files, Click Here for more information. Show Your Support
No members have liked this post.
|
![]() |
||||
Mod | Developer | Type | Replies | Last Post |
Forum Home Enhancements User Referrer | Hex_legend | vBulletin 3.7 Template Modifications | 18 | 07 Nov 2015 20:24 |
#31
|
|||
|
|||
Great stuff! Thanks!
__________________
Are you suffering from an Alcohol or Drug addiction? Are you suffering from any addiction? Do you want help? There are others like you at Recovery Crossroads. You are not in this alone. We have been where you are at right now. ![]() No members have liked this post.
|
#32
|
|||
|
|||
Installed it but nothing shows up in the User CP ?!?
No members have liked this post.
|
#33
|
||||
|
||||
Check to make sure this exact line in in the USERCP template.
No members have liked this post.
|
#34
|
|||
|
|||
Added it but nothing happens
No members have liked this post.
|
#35
|
||||
|
||||
Added what? Is there line there or not? If it is not there, then the template has changed. What mod do you have running that would change that template line?
No members have liked this post.
|
#36
|
|||
|
|||
no there is nothing...uninstalled it and installed it again...but still...
No members have liked this post.
|
#37
|
||||
|
||||
Then like I said you have some other mod messing with it. Just go into the template for this mod and take that code and manually add it where it needs to be added. Problem solved.
![]() No members have liked this post.
|
#38
|
|||
|
|||
Anyone try this on vb 3.6.8 yet? Seems like a good addition. Thank you.
No members have liked this post.
|
#39
|
||||
|
||||
Thanks for the update Boofo
No members have liked this post.
|
#40
|
|||
|
|||
Did you update it again since a few hours ago?
__________________
Are you suffering from an Alcohol or Drug addiction? Are you suffering from any addiction? Do you want help? There are others like you at Recovery Crossroads. You are not in this alone. We have been where you are at right now. ![]() No members have liked this post.
|
#41
|
||||
|
||||
he did
![]() Boofo, just a question, what is
doing in the updated plugin? I ask not why is it there, but rather, what purpose does it serve.. ? Thanks alot. ![]() No members have liked this post.
|
#42
|
||||
|
||||
That is for the code to show the referrer name in the profile. Check out the added pic in the first post. It was an after-thought that I thought would be nice to have.
No members have liked this post.
|
#43
|
|||
|
|||
Oh..okay. Thanks Boofo.
![]()
__________________
Are you suffering from an Alcohol or Drug addiction? Are you suffering from any addiction? Do you want help? There are others like you at Recovery Crossroads. You are not in this alone. We have been where you are at right now. ![]() No members have liked this post.
|
#44
|
||||
|
||||
No problem, sir.
![]() Make sure to do the added template edit to get the referrer to show up in the profile. ![]() No members have liked this post.
|
#45
|
||||
|
||||
I did the template add for the profile, but it isn't showing the names.
No members have liked this post.
|
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 04:22.