View Full Version : User Referrer
Hex_legend
30 Dec 2007, 18:35
This is a quick short modification, can easily be made better by anyone else, but I just did this quickly for my forums and thought that I would release it :)
This puts a link on the forumhome for your members that show them their own unique referrer link to give to other potential members.
Time to install: <1m
Level: Easy
Template Edits: 1
Phrases Added: 0
Uploads: 0
Open FORUMHOME
Find
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Add Under,
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Done.
Please mark as installed if you use this.
Hex_legend
30 Dec 2007, 18:36
If you have used this code, please now re-check your code as I have now made it look a lot nicer per forum.
See new Screenshots
why on forumhome - why not have it dispalyed inside User Control Panel so they can go there and see it and it dont take up any precious Space.
slmoney
31 Dec 2007, 22:57
Your code is wrong..
should be:
<!-- Referral Link -->
<if condition="$show['member']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" align="center">
<tr>
<center>Your Unique Referrer Link Is:</center>
<td class="thead">
$vboptions[bburl]index.php?referrerid=$bbuserinfo[userid]</div></a></td>
</tr>
And I placed it on the Memberinfo template, under NAVBAR
Makes more sense there.
AND YOUR CODE is wronk were is the closing if??
<!-- Referral Link -->
<if condition="$show['member']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" align="center">
<tr>
<center>Your Unique Referrer Link Is:</center>
<td class="thead">
$vboptions[bburl]index.php?referrerid=$bbuserinfo[userid]</div></a></td>
</tr>
</if>
This one is ok//
Also the better place to put this is inside USERCP after the
<!-- ############## END PRIVATE MESSAGES ############## -->
</if>
Xhaiden
01 Jan 2008, 15:16
I put it in the User Control Panel just above the New Subscribed threads so members can see it right away. Works great!
hornstar1337
02 Jan 2008, 09:37
Well this is useful for those that want to display it here, you can also display it in other places.
ps. there is already one released which will easily place one in your usercp.
Zamurick X
05 Jan 2008, 02:05
<td class="thead">
$vboptionsindex.php?referrerid=$bbuserinfo[B][U]</div></a></td>
Why are there closing tags for a hyper link and div if there are no opening tags?
Jmordenata
28 Jan 2008, 09:42
Hmmm... Not to be rude, but I think the perfect (almost) code should be:
FIND in USERCP:
<!-- ############## END PRIVATE MESSAGES ############## -->
</if>
AFER, ADD:
<!-- Referral Link -->
<if condition="$show['member']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" align="center">
<tr>
<td class="thead">here the explanation of the referrer link:<br />
$vboptions[bburl]/index.php?referrerid=$bbuserinfo[userid]</div></a></td>
</tr>
</if>
<!-- END REFERRAL LINK -->
BatMNet
01 Feb 2008, 06:09
Can someone please re-write this??? And where to put it.... I'm just confused now...
I couldn't find anything about End Private Message..... I Used (Plus I added a div to the code to center it under your explination)
Find:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Add BEFORE
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Straightupimp
10 Feb 2008, 18:50
If you would like to place on forumhome like he has here is the PROPER WORKING CODE
<!-- Referral Link -->
<if condition="$show['member']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" align="center">
<tr>
<center>Your Unique Referrer Link Is:</center>
<td class="thead">
$vboptions[bburl]/index.php?referrerid=$bbuserinfo[userid]</div></div></a></td>
</tr>
</table>
<br />
</if>
<!-- / Referral Link -->
<br />
just follow all his steps and it will work fine
PaulSonny
24 Feb 2008, 23:50
Which part of:
"This modification may not be copied, reproduced or published elsewhere without author's permission."
Did you's not understand?
MiahBeSmokin420
07 May 2008, 13:56
Which part of:
"This modification may not be copied, reproduced or published elsewhere without author's permission."
Did you's not understand?
for 1 its not a modification its a template mod
for 2 i wouldn't even really call it a template mod
its just a link
shoot i had this on my site before y'all even had it posted
if you want to get technical then technically the creators of vb make it but just never implemented it into the software
so quit wining about something so small dang acting like kids i though most of y'all were adults but i guess not
wpeloquin
20 Jun 2008, 21:10
Which part of:
"This modification may not be copied, reproduced or published elsewhere without author's permission."
Did you's not understand?has it been any of those?
(1) they have pointed out that the code he wrote is invalid and does not work, making it a useless template modification as-is.
(2) they have re-written the code in the original coders thread, which means he still will get credit for anyone clicking on "Install" even though he didn't even write the proper code.
(3) they have discussed various templates in which to put the proper, newly-written code
so if what they have done is bad, then remove the original modification that was written, since it is obviously wrong and the code he used will not work as said, and allow the guys who DID write the proper code to be given the credit.
wpeloquin
20 Jun 2008, 21:23
back on topic:
I added the code to the user's profile Contact Info tab
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
HackSawed
25 Jun 2008, 23:06
I would like this but then without a registration and a unique ip system. Also then i want a good overview by who have the most referers.
iTz eLK
10 Jul 2008, 07:18
It just redirects me back to the forum home.
Emmmmrz
14 Jul 2008, 04:15
I don't suppose it would be possible to get the code inserted into a text document to download for people that want to use this; but not go code diving atm? (like myself)
vBulletin® v3.6.12, Copyright ©2000-2009, Jelsoft Enterprises Ltd.