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 19:24

Comments
  #2  
Old 14 Mar 2008, 01:02
madotds's Avatar
madotds madotds is offline
 
Join Date: Oct 2007
Looks Good I am off to install now once I get my test board back up and running

Thanks
Reply With Quote
  #3  
Old 14 Mar 2008, 02:05
rolandogomez's Avatar
rolandogomez rolandogomez is offline
 
Join Date: Jan 2006
Location: San Antonio
So were does the referral link take them, is this part of the product? In your image, I see this,
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

So if they click on that it goes to what page? Thanks, rg sends!
__________________
Photographer & author (three books on Amazon.com), GarageGlamour.com, RolandoGomez.net
Reply With Quote
  #4  
Old 14 Mar 2008, 02:37
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
The referral link is their link for referring someone to the site. It is what they would give someone as a link to register on the site so they get the referral point.
Reply With Quote
  #5  
Old 14 Mar 2008, 02:59
NeuroLancer's Avatar
NeuroLancer NeuroLancer is offline
 
Join Date: Feb 2008
Real name: John
this is very nice thanks so much

Side note: thats the second add on from you where ive had to go into the xml before install and remove <a class="bob"> Not that I dont like the class, but I have a dark style and the dark blue text makes it hard to see.
Reply With Quote
  #6  
Old 14 Mar 2008, 03:10
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Small price to pay, don't you think?
Reply With Quote
  #7  
Old 14 Mar 2008, 03:24
rolandogomez's Avatar
rolandogomez rolandogomez is offline
 
Join Date: Jan 2006
Location: San Antonio
Works great! *installed* Would be nice if we had the option to change the verbage, as I also have vBCredits which gives credits per referral to the users and I'd like to mention that here besides the one referral point. Regardless, excellent and should increase traffic! Thanks, rg sends!
__________________
Photographer & author (three books on Amazon.com), GarageGlamour.com, RolandoGomez.net
Reply With Quote
  #8  
Old 14 Mar 2008, 03:29
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
You can always edit the refid_usercp phrase in the product. Or if you can give me some idea as to what you are wanting it to say, I can maybe change it for you, vet to vet.
Reply With Quote
  #9  
Old 14 Mar 2008, 03:42
rolandogomez's Avatar
rolandogomez rolandogomez is offline
 
Join Date: Jan 2006
Location: San Antonio
I'll try and do what you said when I get a chance, as I always try, then I ask for help.

I have to say, I've been off the vb boards a bit, but with my new site, which started out as a testing ground for what I'm going to improve for my old larger site, I've been more active here again and the help I've received lately, both paid and unpaid, it's awesome for us non-coder types. There are a bunch of us wannabees that try, sometimes we screw it up, but we try. I wish I understood this stuff like you guys do.

I will keep you in mind for custom work if you do it as I've hired and paid quite a few here when I can. But seriously, I love the community here how they are so responsive and I don't regret switching to VB years ago from UBBthreads for my much larger site and I've since own four licenses of VB and soon more, all because of the help, the hacks, mods, the quality, etc., this place rocks!

On another note, we'll have to get together someday for a drink, vet to vet..thanks, rg sends!
__________________
Photographer & author (three books on Amazon.com), GarageGlamour.com, RolandoGomez.net
Reply With Quote
  #10  
Old 14 Mar 2008, 04:41
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
I don't do paid hacks, I do them for fun and learning. I think once I start doing it for pay, it won't be any fun anymore and I'll stop. Too many coders have gone the way of the paid hacks and are getting money for what a lot of them learned on here for free. I don't get it, myself.

I'm glad to hear you are liking vb. I came to 3.7.0 beta 3 straight from 3.5.4, so you can imagine the shock at all the changes, some welcome, some not, since 3.5.

I'll have to take you up on the getting together as soon as we can figure out where and when one of these days.
Reply With Quote
  #11  
Old 14 Mar 2008, 05:28
rolandogomez's Avatar
rolandogomez rolandogomez is offline
 
Join Date: Jan 2006
Location: San Antonio
Sounds cool! Thanks again! rg sends!
__________________
Photographer & author (three books on Amazon.com), GarageGlamour.com, RolandoGomez.net
Reply With Quote
  #12  
Old 15 Mar 2008, 12:19
Preech Preech is offline
 
Join Date: Aug 2002
This looks good. Personal all I did was create a box in the UserCP that just shows the members referral id.
I don't have a test site, I don't even have a internet connection at home. This is like you said Boofo. All for fun because I"m learning.
Reply With Quote
  #13  
Old 15 Mar 2008, 12:59
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Originally Posted by Preech View Post
This looks good. Personal all I did was create a box in the UserCP that just shows the members referral id.
I don't have a test site, I don't even have a internet connection at home. This is like you said Boofo. All for fun because I"m learning.
That's how you start learning.

This hack is from my 3.5.4 days updated to work with 3.7, which really didn't take anything to do, other than a new version number. It does show you how many referrals they have, too. And does the automatic template edit, but other than that, what you have it probably pretty close to the same thing.
Reply With Quote
  #14  
Old 15 Mar 2008, 13:34
Preech Preech is offline
 
Join Date: Aug 2002
No, it just shows in the usercp navigation that individual's own referral link. Maybe I will download this to add how many referrals they have.
Reply With Quote
  #15  
Old 15 Mar 2008, 13:37
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Good idea!
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 23:29.

Layout Options | Width: Wide Color: