![]() |
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 --> |
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 |
Which part of:
"This modification may not be copied, reproduced or published elsewhere without author's permission." Did you's not understand? |
Quote:
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 |
Quote:
(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. |
back on topic:
I added the code to the user's profile Contact Info tab Code:
Open template: memberinfo_block_contactinfo |
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.
|
It just redirects me back to the forum home.
|
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)
|
it is showing like a Text
It supposed to show as link? |
All times are GMT. The time now is 07:36 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:
|