vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - Referral Link (and Total) Block in UserCP (https://vborg.vbsupport.ru/showthread.php?t=231288)

mmacrypt 05-17-2010 09:19 PM

just installed and tracking to see how much use it gets. Thank you for this mod.

RSNF 07-26-2010 07:34 PM

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?

MuhammadC 10-06-2010 11:40 PM

Excellent, installed. :)

Xeyn 11-02-2010 10:59 AM

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

Qrius 11-02-2010 05:53 PM

Thanks for this excelent mod :)
Installed on v4.0.6

typecast 11-20-2010 03:27 AM

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.

donwon 11-22-2010 03:51 AM

I installed but don't see anything. Am i missing something?

Brandon Sheley 11-23-2010 01:15 AM

thx, works great :)

[high]* Brandon Sheley clicked install :up:[/high]

Kingdombuilder 02-11-2011 04:35 PM

Quote:

Originally Posted by typecast (Post 2123746)
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?

Kingdombuilder 02-11-2011 04:48 PM

Quote:

Originally Posted by iyama (Post 1940701)
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>



All times are GMT. The time now is 09:15 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
  • Page Generation 0.01104 seconds
  • Memory Usage 1,748KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete