![]() |
User Referrer
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:
$navbar Code:
Done. Please mark as installed if you use this. |
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.
|
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??
Quote:
Also the better place to put this is inside USERCP after the <!-- ############## END PRIVATE MESSAGES ############## --> </if> |
I put it in the User Control Panel just above the New Subscribed threads so members can see it right away. Works great!
|
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. |
Quote:
|
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 --> |
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:
<!-- ############## SUBSCRIBED THREADS ############## --> Code:
<!-- Referral Link --> |
All times are GMT. The time now is 01:13 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|