![]() |
User CP Referral ID and Referrer/Referrals in Profile for vB 4
1 Attachment(s)
User CP Referral ID and Referrer in Profile for vB 4
Version 1.0.8 (By Boofo) What does this product do? This product will add a content box at the top of the User CP displaying a customizable referral "Message" and the member's "Referral Link" along with their referral count. This will also show who referred a user in their profile in the About Me tab, under Referrals, at the bottom. It will only show in the About Me tab if the user has been referred by someone. A Referred Members List has also been added for each member so you can see who a Member has referred. The referral count in the User CP will link directly to the Referred members List. NOTE: If you are currently using Referrer in Profile for vB 4, you will need to uninstall that first, as this does the same thing but with the User CP Referral ID and Referred Members List added. Version Information: Version 1.0.0 --Initial release for vB 4 Version 1.0.1 --Usergroups 3 and 4 are no longer represented in the referral count in the User CP. Version 1.0.2 --Added Referred Members List for each member and a link to the list from the User CP referral count. Version 1.0.3 --Fixed the Referral Link to reflect the 'Script Name for Forum Home Page' setting in vB 4. Version 1.0.4 --Product is now completely phrased. Version 1.0.5 --Referred Members List is now alphabetically sorted and Usergroups 3 and 4 are no longer represented in the listing. Version 1.0.6 --Added the ability to collapse the box. Version 1.0.7 --Moved Referrer below Join Date. The Referrals will no longer show if the user has no referrals. This is done via an automatic template edit. Version 1.0.8 --Added User CP Referral ID Box Position setting. This will allow you to choose the location where you want the Referral ID box to show in the User CP. NOTE: The "manual_template_edit_code.txt" is included in case the automatic template edit doesn't work for some custom skins. Installation overview: -------------------------- 1 Product XML (5 Plugins, 15 phrases, 2 templates and 1 setting) Installation Instructions: -------------------------- 1. Add the code from the included "additional.css_template_code.txt" file to the additional.css template. 2. 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-boofo_usercp_referral_id.xml file on your computer 3. Go to your Admin CP -> vBulletin Options -> User CP Referral ID and Referrer in Profile and set the following option: --User CP Referral ID Box Position: Choose the location where you want the Referral ID box to show in the User CP. (Default is "Top of User CP") --------------------------------------------------- Done! Enjoy! Code:
if ($mark_as_installed != 'clicked') |
can you make it so when you click on the referals amount it lists all the members who the person refered.
|
I had thought about that at one time and decided that is would entail another query, which I'm sure would be sever intensive if you had enough members and referrals on the site, and decided against it. It would also take a template edit or replace and I kind of wanted to stay away from that with vb 4 since they have a lot of new hooks.
|
Few issues I'm having...
1.) On the setting page its showing (15) for referrals 2.) on the profile page its showing (13) referrals 3.) on the profile page it doesn't list the members I've referred. Using vB 4.0.3 |
Quote:
As far as listing the members you referred, this product does not do that. It only list the Referrer for each member in their profile. |
I can't my referral link box like you have in this picture:
https://vborg.vbsupport.ru/attachmen...1&d=1275037513 I see my number of referrals under my personal information but thats til |
Quote:
Clicking install might get you an answer faster next time. |
Not really much different to https://vborg.vbsupport.ru/showthread.php?t=231288 is it?
|
Yes it is very different as it is an update to the old version I did a long time back. I kept the same style as I did in the vb 3 version. Plus, it adds the Referrer in the Profile. Ace, you know very well I did this for version 3 way before the one in the link. ;)
|
can't seem to get this where exactly is this supposed to go in the css?
|
Add the code anywhere to the additional.css template.
|
how to add the referral in block?
i mean what's the include file? if i want to show it everywhere? |
Downloaded, Installed, rated... nice little touch with this. It's so wonder why vB doesn't put things like this in as default. Makes no sense, but I'm happy you wrote it in.
Thanks man. ps. I'm assuming this automatically adds the referrer in the correct entry box in the registration process. I mention this since I also give points for referrals so this makes it easier to accomplish this... and hopefully get my members to refer more people. thanx again |
It will automatically add the referral name if they use the referred id link when they sign on to register.
And, you're very welcome. ;) |
Excellent Boofo - thanks :)
|
Quote:
|
Hi there,
Do you offer a installation service? Please PM if you do. Many Thanks |
Great guy, very helpful would recommend to anyone. Helped me out alot more than every hoped for.
Thanks |
I am having problems with this, the referral ID is not working for my members, no name is showing up in the registration when people refer.
|
Quote:
You might want to click the install button in case there are any more updates in the future. |
Thanks Boofo!
|
Quote:
|
Boofo, its still not working as when a different referral is clicked, one of a different user, the referrer box on registration appears as my name user 1 even if referred by user 45. Its also happening on your site.
|
It is working fine on my site. I used the id 2 from another user and it input that person's name in the referrer box on a new registration. If you click your own link, yes it will show up as you. Try using another referred id on the end of it after you log out and you will see that person's name in the referrer box on a new registration. if you still are having problems figuring it out, PM me and we will go to IM and get it taken care of. ;)
|
Hmm..Still getting that problem..It could just be my cookies.
|
Yes, I was just going to say that as I tested it and found that if you try to do more than one referrer id in the same session, it will keep the first one. Delete your cookies and try it again and it will take the new referrer id. That is how it is supposed to work in vb.
|
Yep Boofo, i think that was the problem :D Thanks! It works great now.
|
Hi...
how can I change the message? |
Sure, just edit the template to whatever you want it to say. Make sure you leave the links as is though. When you're done editing it, send it to me in a PM and if it is better than what I already have there, I will update the hack with it.
|
Thanks for your help ... but I would like it to translate the message in another language, since I am not using English in my VB :)
If I want the text to be different, should I update the XML and re-instal it? Or there is some other easier way? |
I didn't phrase the message but I can do that easily. If you want, send me in English what you want it to say and I will add it as a phrase to the hack, or you can do the template, whichever is easier for you.
|
Working perfectly here, but I'm not seeing referred members in profile.
|
Look under the About Me tab in the profile, at the bottom (as it shows in the pic in the first post).
|
how to show referral code everywhere? not just in profile/usercp
|
Are you talking about the referrfal link itself or the referral count?
|
How do you change the referral message that members see?
|
You would edit the phrases for the product.
|
Quote:
|
Find the phrases in the admin cp for the product and edit those.
|
Quote:
example: currently you have invited __ friends to this forum |
All times are GMT. The time now is 06:02 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:
|