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>


HotnHoly 07-10-2011 05:53 AM

Hello,

I need this for vBulletin 4.1.4.

Regards!

MagicThemeParks 07-10-2011 12:32 PM

Works with 4.1.1 but needs a little tweak on the CSS as the referral link seems to be "bumping against" the text.

tdkmatt 07-18-2011 01:07 PM

where does it show up?

tdkmatt 07-18-2011 01:10 PM

it shows up in userCP then it goes away www.fatalitynetworking.com/forum

tdkmatt 07-18-2011 01:27 PM

it does not work in 4.1.4 it shows up once in about 45 mins! www.fatalitynetworking.com/forum

tdkmatt 07-18-2011 02:17 PM

Can it be moved? as it doe not show on my forum

archet1337 07-22-2011 09:39 PM

I can not get this to work on my 4.1.4 board. Nothing is showing up in the UserCP at all.

TombstoneWarrior 03-09-2012 10:24 PM

nuthing is showing up in my members usercp either. vb version 4.1.9 hope some finds a fix for this and post's it or update the mod so it will show up and stop not working for all of us who have nuthing showing up!!

RapidRippeR 04-21-2012 07:43 AM

thanks a bunch for this ...very useful

JustAskJulie 05-10-2012 06:36 PM

Quote:

Originally Posted by simonhind (Post 1971873)
would it be possible for admins to see who the user(s) have been referred by after they have signed up in a seperate list for admins only

so you would have something like

User ID:
Username:
Referred By User ID:
Referred By Username:
Date & time User Referred
Date & Time User signed up


or something similar to this

Quote:

Originally Posted by MuhammadC (Post 2107562)
Excellent, installed. :)

This is already available in your AdminCP. Click Users -->referrals to view list of how many referrals a user has during a given time period.

deverill2010 06-19-2012 06:59 AM

Works on 4.2.0 Patch Level 2

Now time to have me a competition!

Subieforums 11-03-2012 08:52 AM

Is there a way thy we can track the members with the top referrals, i want to run a contest to gain new signups and award the one who gets the most signups.

Thanks!

BadgerDog 11-03-2012 03:18 PM

Installed with thanks for testing on 4.1.3 ...

Un-installed...

Simply doesn't work.. nothing appears... ;)

Regards,
Doug

Spike1337 03-16-2013 12:42 PM

<a href="http://www.yousite.com/usercp.php" target="_blank">www.yousite.com/usercp.php</a>

GameOverViper 03-16-2013 03:05 PM

Quote:

Originally Posted by Subieforums (Post 2378008)
Is there a way thy we can track the members with the top referrals, i want to run a contest to gain new signups and award the one who gets the most signups.

Thanks!

I'm not sure of any ways to track referrals by dates, which would be awesome for contests like this.

The only way to do it that I know of is to make a thread about it and have entries submitted to you via the thread or PM saying how many referrals they have at that time, and message you or post in the thread each time they get another referral. You would have to keep track of it all yourself. But that's the only way I know of that would work.

Quote:

Originally Posted by BadgerDog (Post 2378087)
Installed with thanks for testing on 4.1.3 ...

Un-installed...

Simply doesn't work.. nothing appears... ;)

Regards,
Doug

I'm using 4.2.0 on my RoG site and it works.

Internetcafe 04-10-2013 05:57 PM

Not working on 4.1.10.

Anyone still working on this ?

kartheekb 08-06-2013 08:48 AM

any one tried on 4.2.0

motorhaven 08-20-2013 07:35 PM

Yes, it works on 4.2.x.

It did NOT show up in usercp at first. In order for it to show up I had to go into the usercp_vbereferrals template, then resave the template (no edits). Once I did that it showed up for me. :)

bosanci28 11-10-2013 04:25 AM

1 Attachment(s)
@motorhaven ,is right ,you must resave to show, looks like it works under 4.2.1 , and the stats are in the admin cpanel / users / referrals.

Make sure you have the <br> ... see :

Code:


<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>
<br>
&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>
</div>

As the link will be in top of the last line.

ReMarkable1991 10-19-2015 12:49 PM

I have referrer enabled in registration(and see the field when I try to register). However neither when I fill it in manually or when I visit the forums for the first time trough ?referrerid=1 (Both with index.php or register.php) the referrer doesn't get registered anywhere.

Can't find it trough admin portal or anywhere in the database.


All times are GMT. The time now is 01:15 AM.

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.01216 seconds
  • Memory Usage 1,809KB
  • 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
  • (3)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (30)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