The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
User CP Referral ID and Referrer/Referrals in Profile for vB 4 Details »» | |||||||||||||||||||||||||||||||||||||
User CP Referral ID and Referrer/Referrals in Profile for vB 4
Developer Last Online: Jun 2012
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') { $you_get = 'squat'; } else { $you_get = 'support'; } Download Now
Screenshots
Show Your Support
|
2 благодарности(ей) от: | ||
caoducanh9x, Life Revived |
Comments |
#62
|
|||
|
|||
Quote:
Maybe there is a conflict with a current mod I have installed? I currently have the following installed: BBR - Google Analytics Addon CT second_post_Ads EveryWhere Sidebar GlowHost - Spam-O-Matic User CP Referral ID and Referrer in Profile vBH - Add new tabs 1.2 |
#63
|
||||
|
||||
Are you sure you are going to the right page?
/forums/usercp.php |
#64
|
|||
|
|||
Ah, that is it.
For some reason I was trying to view my profile and edit my profile and everything. Never clicked "settings" to get to the usercp. Man, you are smart Thanks for the help, sorry for being a thorn in the side of this mod. It is a great mod and makes it a lot easier for the members to refer people. If you have a donation button, I will be happy to donate some money towards the dev of new mods as I have done with others. Thanks for the help |
#65
|
||||
|
||||
There is a support developer link (for donating) under my avatar in the first post.
No problem. Glad all is ok now. |
#66
|
|||
|
|||
Did it, thanks.
|
#67
|
||||
|
||||
|
#68
|
||||
|
||||
Works
Thanks ) |
#69
|
|||
|
|||
is there anyway to get the number of referrals to show in the postbits ?
|
#70
|
||||
|
||||
Not without adding a query for every post.
|
#71
|
|||
|
|||
Thats fine. Thats not an issue for me.
I tried this as a plugin that hooks in to the posrbit_display_start: (slightly modified from the plugin thats in vb 3.8.x Code:
usersid = $this->post['userid']; $refcount = mysql_query("SELECT username FROM " . TABLE_PREFIX . "user WHERE referrerid='$usersid'"); $referrals = mysql_num_rows($refcount); $template_hook['postbit_userinfo_right_after_posts'] .= '<dt>Referrals</dt><dd> '. $referrals.'</dd>'; |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|