User Referrer

MobileHacks

New Member
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
PHP:
$navbar
Add Under,
PHP:
<!-- 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">
http://$vboptions[bburl]/$bbuserinfo[userid]</div></a></td>
        </tr>
</table>
<br />
</if>
<!-- / Referral Link -->


<br />
 
wht u have coded is absolutly wrong... there is no <div> block, still </div></a> entered into yr code.

this is modified code and perfect
PHP:
<!-- 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]</td>
        </tr>
</table>
</if>
 
nitins, would it be possible to place something like this inside the postbit (I think it is called)
You know, the part where someoneclicks your name and gets the user profile/stats etc

any idea mate please?
 
The conditional on line 18 appears to be missing its end tag (</if>). The template will not function properly unless this is fixed.

So yours isnt coded "perfectly" like you said

add </if> at the end of the code
 
Gunner said:
nitins, would it be possible to place something like this inside the postbit (I think it is called)
You know, the part where someoneclicks your name and gets the user profile/stats etc

any idea mate please?

if you are talking about showthread.php, by default u can get the profile/PM links by clicking on user name.... if i m wrong, let me know by screenshot wht exactly u want
 
Back
Top