Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Referral Link (and Total) Block in UserCP Details »»
Referral Link (and Total) Block in UserCP
Version: 1.00, by kall kall is offline
Developer Last Online: Aug 2021 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 4.0.0 Rating:
Released: 12-26-2009 Last Update: Never Installs: 198
Uses Plugins Auto-Templates
Translations Is in Beta Stage  
No support by the author.

This modification is effectively a Port to vB 4 of this mod.

It will provide members with a block in the top of their UserCP (see screenshot) that tells them what their Referral link is, how to use it, and how many people they have referred to your Forum.

The count only increases when a Registration is finalised.

I have tested this on 2 sites of mine, it appears to work exactly as it should, but please do report any issues/requests in this thread.

Download Now

File Type: xml product-usercp_refer_vbe.xml (3.1 KB, 866 views)

Screenshots

File Type: png UserCPreferral.png (35.4 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #42  
Old 05-17-2010, 09:19 PM
mmacrypt's Avatar
mmacrypt mmacrypt is offline
 
Join Date: Feb 2010
Location: Colorado
Posts: 153
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

just installed and tracking to see how much use it gets. Thank you for this mod.
Reply With Quote
  #43  
Old 07-26-2010, 07:34 PM
RSNF's Avatar
RSNF RSNF is offline
 
Join Date: May 2010
Location: Florida
Posts: 242
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way to track all the referrals through the admin control panel or have an option so that members can see who the leaders are over all for most referrals?
Reply With Quote
  #44  
Old 10-06-2010, 11:40 PM
MuhammadC MuhammadC is offline
 
Join Date: May 2006
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent, installed.
Reply With Quote
  #45  
Old 11-02-2010, 10:59 AM
Xeyn Xeyn is offline
 
Join Date: Jun 2009
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What a brillaint mod...Thx very much

However jus a little issue...where i have highlighted....text is disapearing into the referal link abit..anyway to raise the text slightly?

thx

http://www.mythnetwork.net/img2.png
Reply With Quote
  #46  
Old 11-02-2010, 05:53 PM
Qrius Qrius is offline
 
Join Date: Aug 2010
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for this excelent mod
Installed on v4.0.6
Reply With Quote
  #47  
Old 11-20-2010, 03:27 AM
typecast typecast is offline
 
Join Date: Jan 2010
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is set to take you to index.php I had to edit usercp_vbereferrals and change the index.php to register.php.

I don't know why this isn't setup this way when it is installed, there is no way the referrer id is going to be carried forward when someone clicks from the forum (index.php) to the register page.

I also took the text control out of the link so that it shows as a link and not a button.
Reply With Quote
  #48  
Old 11-22-2010, 03:51 AM
donwon donwon is offline
 
Join Date: Apr 2008
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed but don't see anything. Am i missing something?
Reply With Quote
  #49  
Old 11-23-2010, 01:15 AM
Brandon Sheley's Avatar
Brandon Sheley Brandon Sheley is offline
 
Join Date: Mar 2005
Location: Google Kansas
Posts: 4,678
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thx, works great

[high]* Brandon Sheley clicked install :up:[/high]
Reply With Quote
  #50  
Old 02-11-2011, 04:35 PM
Kingdombuilder's Avatar
Kingdombuilder Kingdombuilder is offline
 
Join Date: Oct 2009
Posts: 127
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by typecast View Post
This is set to take you to index.php I had to edit usercp_vbereferrals and change the index.php to register.php.

I don't know why this isn't setup this way when it is installed, there is no way the referrer id is going to be carried forward when someone clicks from the forum (index.php) to the register page.

I also took the text control out of the link so that it shows as a link and not a button.
This is the problem I have now. Where did you change that so it will show up for all users?
Reply With Quote
  #51  
Old 02-11-2011, 04:48 PM
Kingdombuilder's Avatar
Kingdombuilder Kingdombuilder is offline
 
Join Date: Oct 2009
Posts: 127
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by iyama View Post
Yes i found it.

In the template > usercp_vbereferrals
Thank you for your post now i have it fixed as well...


Go to Admin Control Panel >> Styles and Templates >> Style Manager >> (for each style) Edit Templates (in the down arrow by each Style name) >> User Control Panel Templates >> usercp_vbereferrals

Replace this:
Code:
<div class="block" id="referral_information">
	<h2 class="blockhead">Your Referral Information - Total Referrals ({vb:raw referrals})</h2>
	<div class="blockbody settings_form_border">
	<div class="blockrow">
<p>Do you know somebody that might be interested in <b>{vb:raw vboptions.bbtitle}</b>?  You can use the link below to refer others to our site.  The link includes your  unique referral ID so you will be credited for any referrals brought by using the link. 
</p><br /> 
<p>If somebody follows <b><a class="textcontrol" href="{vb:raw vboptions.bburl}/index.php?referrerid={vb:raw bbuserinfo.userid}">your referral link</a></b> to <b>{vb:raw vboptions.bbtitle}</b>, it will auto-fill your Username on their Register form.  When they register as a new member your referral count will increase and keep track of how many people you have referred to the site!</p><br />
<p class="summaryinfo"><b>Important:</b> Please do not spam other sites or e-mails with your link to <b>{vb:raw vboptions.bbtitle}</b>, this will likely not bring many referrals and create acrimony rather than goodwill towards the site.  One hint is to add the link to your Email signature.<br /></p>
<br /><div class="padding: 5px; font-size: 9px; border: 1px solid #c4c4c4; margin: 0 2px; width:50%;" id="referrallink"><legend>Your Referral Link for <b>{vb:raw vboptions.bbtitle}:</b>&nbsp;</legend><a class="textcontrol" href="{vb:raw vboptions.bburl}/index.php?referrerid={vb:raw bbuserinfo.userid}">{vb:raw vboptions.bburl}/index.php?referrerid={vb:raw bbuserinfo.userid}</a></div>
</div>
</div>
With This:

Code:
<div class="block" id="referral_information">
	<h2 class="blockhead">Your Referral Information - Total Referrals ({vb:raw referrals})</h2>
	<div class="blockbody settings_form_border">
	<div class="blockrow">
<p>Do you know somebody that might be interested in <b>{vb:raw vboptions.bbtitle}</b>?  You can use the link below to refer others to our site.  The link includes your  unique referral ID so you will be credited for any referrals brought by using the link. 
</p><br /> 
<p>If somebody follows <b><a class="textcontrol" href="{vb:raw vboptions.bburl}/register.php?referrerid={vb:raw bbuserinfo.userid}">your referral link</a></b> to <b>{vb:raw vboptions.bbtitle}</b>, it will auto-fill your Username on their Register form.  When they register as a new member your referral count will increase and keep track of how many people you have referred to the site!</p><br />
<p class="summaryinfo"><b>Important:</b> Please do not spam other sites or e-mails with your link to <b>{vb:raw vboptions.bbtitle}</b>, this will likely not bring many referrals and create acrimony rather than goodwill towards the site.  One hint is to add the link to your Email signature.<br /></p>
<br /><div class="padding: 5px; font-size: 9px; border: 1px solid #c4c4c4; margin: 0 2px; width:50%;" id="referrallink"><legend>Your Referral Link for <b>{vb:raw vboptions.bbtitle}:</b>&nbsp;</legend><a class="textcontrol" href="{vb:raw vboptions.bburl}/register.php?referrerid={vb:raw bbuserinfo.userid}">{vb:raw vboptions.bburl}/register.php?referrerid={vb:raw bbuserinfo.userid}</a></div>
</div>
</div>
</div>
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 07:30 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08732 seconds
  • Memory Usage 2,341KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (2)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete