View Full Version : vB REFERRER 1.0
adamgessel
09-08-2005, 10:00 PM
This modification is made for vBulletin 3.5 RC2, but probably also works for RC3.
Very simple to install.
===========================
DEMO BOARD
===========================
You can see a demo at:
http://www.forumfreedom.net/forum
===========================
DESCRIPTION
===========================
This will add a link to the UserCP that tells every user what his/her reffering link is so that they can invite friends. Later version will include ability to send the e-mail from the forum itself. This hack is very simple.
===========================
INSTALL
===========================
Time: Less than a minute
Difficulty: Easy
===========================
Let me know what you think. It's nothing advanced, just thought it could come in handy for some people.
PLEASE CLICK INSTALL!
UPDATE: NO LONGER TAKES ANY FILE EDITS!
bi11i
09-10-2005, 03:51 AM
I'd love to use this hack, but is there any way to do it without editing the php files directly? How about just a template edit? Is it possible?
Andreas
09-10-2005, 04:32 AM
Yeah, a Template Edit would do as well:
<!-- ############## START REFERRER BY ADAM GESSEL #################### -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan="7">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('usercp_subthreads')"><img id="collapseimg_usercp_subthreads" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_usercp_subthreads].gif" alt="" border="0" /></a>
<a href="register.php?referrerid=$bbuserinfo[userid]">Refer Friends URL</a><span class="normal"></span>
</td>
</tr>
</thead>
<tbody id="collapseobj_usercp_subthreads" style="$vbcollapse[collapseobj_usercp_subthreads]">
<tr>
<td class="alt1" align="center" colspan="7">Invite your friends to our forum by sending them to: <a href="register.php?referrerid=$bbuserinfo[userid]">http://www.yourforum.com/forum/register.php?referrerid=$bbuserinfo[userid]</a></td>
</tr>
</tbody>
</table>
<br />
<!-- ############## END REFERRER BY ADAM GESSEL #################### -->
Would be nice if this could be updated :)
bi11i
09-10-2005, 01:28 PM
I've been using this one on v3.5 and it seems to work pretty well: https://vborg.vbsupport.ru/showthread.php?t=90849 (sorry, not to take away from this modification, I'm willing to bet they could be combined for an update.)
There is no reason for a code edit at all on this one.. Good idea though.
ReadOrDie
09-10-2005, 05:42 PM
Was this that hack I requested in the other thread?
adamgessel
09-10-2005, 08:03 PM
Yeah, I could've done it without any file edits. I'll update it and make it so that there aren't any.
adamgessel
09-10-2005, 08:06 PM
Alright... hack was updated. Now there aren't any file modifications.
Brinnie
09-11-2005, 10:54 AM
I've been using this one on v3.5 and it seems to work pretty well: https://vborg.vbsupport.ru/showthread.php?t=90849 (sorry, not to take away from this modification, I'm willing to bet they could be combined for an update.)
Which is better?
hotrod1
09-11-2005, 03:31 PM
I could use a hack like this, thanks!
bi11i
09-11-2005, 05:06 PM
Which is better?
I think they're both identical...?
adamgessel
09-12-2005, 02:03 AM
That other one is for 3.0.7, isn't it? This one is for RC2 & RC3...
adamgessel
09-12-2005, 02:05 AM
Yeah... if you're referring to the one at https://vborg.vbsupport.ru/showthread.php?t=90849, this is for a different version of vbulletin. This hack I made completely by myself, I didn't use anybody else's code, and as far as I know, nothing has been made like this for vbulletin 3.5. Correct me if I'm wrong...
bi11i
09-12-2005, 02:59 AM
That other one is for 3.0.7, isn't it? This one is for RC2 & RC3...
They both accomplish the same thing and I'm 99% that they'll both work in either version. This one involves less work, as there are no phrase additions, only a template edit.
Neutral Singh
09-12-2005, 04:40 AM
In the hack information, please uncheck the Code Changes checkbox, as that would discourage many people from installing this mod. ;) Thanks
Brinnie
09-13-2005, 07:52 AM
Yeah... if you're referring to the one at https://vborg.vbsupport.ru/showthread.php?t=90849, this is for a different version of vbulletin. This hack I made completely by myself, I didn't use anybody else's code, and as far as I know, nothing has been made like this for vbulletin 3.5. Correct me if I'm wrong...
Oh cool. :)
Hey, I'm not sure if this would would be just a template modification or take a new plugin, but it's just one of those ideas that pops into my head. Would it be easy to have group promotions based on referrals?
That way, you could give entice users to referr people to get custom titles or something. :)
Boofo
09-13-2005, 08:18 AM
Oh cool. :)
Hey, I'm not sure if this would would be just a template modification or take a new plugin, but it's just one of those ideas that pops into my head. Would it be easy to have group promotions based on referrals?
That way, you could give entice users to referr people to get custom titles or something. :)
Sure. You could just do some conditionals in the template and have it call phrases you set up for each usergroup. Is that what you meant? ;)
there was a bit of a conflict in this template mod whereby the collapse button was conflicting with the collapse button for subscribed threads preventing that one from working...(both buttuns would collapse the referrals bit)
allso where the link is and you have www.yourforum.com/forum this could be reaplaced with $vboptions[bburl]
<!-- ############## START REFERRER BY ADAM GESSEL #################### -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan="7">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('usercp_reflink')"><img id="collapseimg_usercp_reflink" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_usercp_reflink].gif" alt="" border="0" /></a>
<a href="register.php?referrerid=$bbuserinfo[userid]">Refer Friends URL</a><span class="normal"></span>
</td>
</tr>
</thead>
<tbody id="collapseobj_usercp_reflink" style="$vbcollapse[collapseobj_usercp_reflink]">
<tr>
<td class="alt1" align="center" colspan="7"><b>Invite your friends to join our forum by linking them here via the following link:</b> <br /><a href="register.php?referrerid=$bbuserinfo[userid]">$vboptions[bburl]/register.php?referrerid=$bbuserinfo[userid]</a></td>
</tr>
</tbody>
</table>
<br />
<!-- ############## END REFERRER BY ADAM GESSEL #################### -->
adamgessel
09-14-2005, 12:55 AM
Thanks, KuRi, I thought I sorted that out but I guess not... I'll update it now.
o0Hubba0o
09-30-2005, 12:42 AM
Thanks, KuRi, I thought I sorted that out but I guess not... I'll update it now.
The text file still has this in it:
ADD BELOW (MAKE SURE YOU EDIT http://www.yourforum.com/forum to your URL where the forum is located!!!):
It might confuse some newer users since you changed it to the vboptions.
ukbill69
10-03-2005, 06:55 PM
Ive updated your code so it includes html code, so people can add to there sites and also updated code so $vboptions[bburl] is in there insted of manual edit of the domain name. Added send to a friend, add a new thread to your forums like a welcome thread to sign up and features of the forums etc and then replace t=2844 to what the thread ID is.
<!-- ############## START REFERRER BY ADAM GESSEL #################### -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan="7">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('usercp_reflink')"><img id="collapseimg_usercp_reflink" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_usercp_reflink].gif" alt="" border="0" /></a>
<a href="$vboptions[bburl]/register.php?referrerid=$bbuserinfo[userid]">Refer Friends URL</a><span class="normal"></span>
</td>
</tr>
</thead>
<tbody id="collapseobj_usercp_reflink" style="$vbcollapse[collapseobj_usercp_reflink]">
<tr>
<td class="alt1" align="center" colspan="7">
<b>Invite your friends to join our forum by linking them here via the following link:</b> <br /><a href="register.php?referrerid=$bbuserinfo[userid]">$vboptions[bburl]/register.php?referrerid=$bbuserinfo[userid]</a></p>
<p><b><a href="/sendmessage.php?do=sendtofriend&t=2844">Send To A Frend</a></b></p>
<b>Our add this HTML code to your
site</b></p>
<textarea rows="3" cols="58"><a href="$vboptions[bburl]/register.php?referrerid=$bbuserinfo[userid]">Ive Joined The Forums, Why Don't You?</a></textarea></td>
</tr>
</tbody>
</table>
<br />
<!-- ############## END REFERRER BY ADAM GESSEL #################### -->
Brandon Sheley
10-12-2005, 03:49 AM
* Brandon Sheley installed
very nice,
will hope for some email options in the newer version :)
DrHUS
10-27-2005, 05:19 AM
email options is a good idea :)
gldtn
10-27-2005, 06:02 AM
* gldtn clicks install
Any ideas of when new versions will be coming out? Also if it's not too much to ask I would like to post a suggestion.. To allow people to register on forum only if they are reffered by a user with this hack.
Thanks ;)
pspcrazy
11-05-2005, 01:13 AM
This is the code if you have a thread that has introductions instead of a post, used ukbills post,
<!-- ############## START REFERRER BY ADAM GESSEL #################### -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan="7">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('usercp_reflink')"><img id="collapseimg_usercp_reflink" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_usercp_reflink].gif" alt="" border="0" /></a>
<a href="$vboptions[bburl]/register.php?referrerid=$bbuserinfo[userid]">Refer Friends URL</a><span class="normal"></span>
</td>
</tr>
</thead>
<tbody id="collapseobj_usercp_reflink" style="$vbcollapse[collapseobj_usercp_reflink]">
<tr>
<td class="alt1" align="center" colspan="7">
<b>Invite your friends to join our forum by linking them here via the following link:</b> <br /><a href="register.php?referrerid=$bbuserinfo[userid]">$vboptions[bburl]/register.php?referrerid=$bbuserinfo[userid]</a></p><br>
<BR><BR><b>Our add this HTML code to your
site</b></p>
<BR><textarea rows="3" cols="58"><a href="$vboptions[bburl]/register.php?referrerid=$bbuserinfo[userid]">Ive Joined The Forums, Why Don't You?</a></textarea></td>
</tr>
</tbody>
</table>
<br />
<!-- ############## END REFERRER BY ADAM GESSEL #################### -->
Send to a freind didnt work so i remvoed it fromt his.
Also i went ahead and put these under the subscribedthreads list, i dont want people to see this first , as soon as they enter the forums id rather them see the subscribed stuff.
o1dirtydog
11-05-2005, 01:15 PM
works like a charm... installed.
NxTek
11-05-2005, 06:17 PM
Later version will include ability to send the e-mail from the forum itself. This is supported now?
trackpads
11-16-2005, 10:59 PM
Works great! thanks!!!
KBowers
11-18-2005, 03:23 PM
Just wondering if this would work in version 3.5.1?
Thanks!
Kathy
KBowers
11-22-2005, 11:26 AM
Just wondering if this would work in version 3.5.1?
Thanks!
Kathy
Anybody know? I really want to try it but don't want to screw up my newly installed board by installing something I shouldn't... :nervous:
Kathy
Detomah
11-22-2005, 12:40 PM
Anybody know? I really want to try it but don't want to screw up my newly installed board by installing something I shouldn't... :nervous:
Kathy
I have this installed on my board and that is 3.5.1 so I wouldn't have thought you would have any problems.
There isn't a great lot that can go wrong in it to be honest.
Vizionz
11-22-2005, 01:06 PM
this works fine and in the instructions it says edit your forum url but theres no need that i saw ?
Tradjick
12-01-2005, 07:35 PM
I get a permission error, also when i´m logged in as an admin.
lazyseller
12-04-2005, 05:49 PM
All it really does it modify the templates... i would double check your templates
Danny Diamond
12-29-2005, 02:24 AM
Installed on 3.5.1 and works fine. thank you very much.
incurable
03-05-2006, 01:10 AM
thank you this is neat !!
Ohiosweetheart
05-02-2006, 12:59 AM
will this work on 3.5.4 ?
Hell?
05-04-2006, 11:10 PM
It's a simple template edit, so, yes, it works on all 3.5.x versions.
ltaylor
05-06-2006, 12:16 AM
Clicked Install! Will be watching for the Email Version! Thanks!
Boofo
05-06-2006, 03:23 AM
Clicked Install! Will be watching for the Email Version! Thanks!
Email version?
SpanishHarlem
08-19-2006, 02:26 PM
Thank's muchly.
rex_b
08-29-2006, 04:12 PM
works for 3.6
Ohiosweetheart
08-31-2006, 02:06 PM
works for 3.6
wonderful! thanks rex
Chadi
09-20-2006, 02:08 AM
When I click the link in my control panel, it shows this
"Our records show that you have already registered under the name of Chad. If you have lost your password, click here. If you would like to modify your profile, click here."
Why? The link is http://www.talkjesus.com/register.php?referrerid=3 so it should work fine.
Chadi
09-24-2006, 02:25 AM
can someone please help/
Chadi
10-18-2006, 09:53 PM
Anyone care to help please?
ResaleBroker
10-19-2006, 05:34 AM
This looks very similar to: https://vborg.vbsupport.ru/showthread.php?t=90849
NathanMc
11-29-2006, 12:24 AM
Installed on 3.6.3, works perfectly..
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.