Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
User CP Referral ID and Referrer in Profile for vB3.7 Details »
User CP Referral ID and Referrer in Profile for vB3.7
Mod Version: 1.0.3, by Boofo (R.I.P.) Boofo is offline
Developer Last Online: Jun 2012 I like it Show Printable Version Email this Page

This thread is in the Modification Graveyard.
vB Version: 3.7.x Rating: (5 votes - 4.40 average) Installs: 104
Released: 14 Mar 2008 Last Update: 14 Apr 2008 Downloads: 338
Not Supported Uses Plugins Auto-Template  

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

  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
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  
Old 29 Mar 2008, 07:46
Tom_S Tom_S is offline
 
Join Date: Jan 2007
Real name: Tom
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.
Reply With Quote
  #32  
Old 29 Mar 2008, 08:25
abroad abroad is offline
 
Join Date: Mar 2007
Installed it but nothing shows up in the User CP ?!?
Reply With Quote
  #33  
Old 29 Mar 2008, 08:38
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Check to make sure this exact line in in the USERCP template.

<!-- ############## SUBSCRIBED THREADS ############## -->
Reply With Quote
  #34  
Old 29 Mar 2008, 08:54
abroad abroad is offline
 
Join Date: Mar 2007
Added it but nothing happens
Reply With Quote
  #35  
Old 29 Mar 2008, 09:31
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
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?
Reply With Quote
  #36  
Old 29 Mar 2008, 10:06
abroad abroad is offline
 
Join Date: Mar 2007
no there is nothing...uninstalled it and installed it again...but still...
Reply With Quote
  #37  
Old 29 Mar 2008, 10:22
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
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.
Reply With Quote
  #38  
Old 30 Mar 2008, 04:33
SVTCobraLTD SVTCobraLTD is offline
 
Join Date: Jul 2007
Anyone try this on vb 3.6.8 yet? Seems like a good addition. Thank you.
Reply With Quote
  #39  
Old 14 Apr 2008, 07:04
NeuroLancer's Avatar
NeuroLancer NeuroLancer is offline
 
Join Date: Feb 2008
Real name: John
Thanks for the update Boofo
Reply With Quote
  #40  
Old 14 Apr 2008, 09:35
Tom_S Tom_S is offline
 
Join Date: Jan 2007
Real name: Tom
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.
Reply With Quote
  #41  
Old 14 Apr 2008, 09:51
NeuroLancer's Avatar
NeuroLancer NeuroLancer is offline
 
Join Date: Feb 2008
Real name: John
Originally Posted by Tom_S View Post
Did you update it again since a few hours ago?
he did . Nice one Boofo.

Boofo, just a question, what is
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

doing in the updated plugin? I ask not why is it there, but rather, what purpose does it serve.. ?

Thanks alot.
Reply With Quote
  #42  
Old 14 Apr 2008, 09:54
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
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.
Reply With Quote
  #43  
Old 14 Apr 2008, 11:18
Tom_S Tom_S is offline
 
Join Date: Jan 2007
Real name: Tom
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.
Reply With Quote
  #44  
Old 14 Apr 2008, 14:51
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Originally Posted by Tom_S View Post
Oh..okay. Thanks Boofo.
No problem, sir.

Make sure to do the added template edit to get the referrer to show up in the profile.
Reply With Quote
  #45  
Old 15 Apr 2008, 19:27
txsbmw's Avatar
txsbmw txsbmw is offline
 
Join Date: May 2006
I did the template add for the profile, but it isn't showing the names.
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 04:22.

Layout Options | Width: Wide Color: