PDA

View Full Version : Can't find anywhere.


Hex_legend
09-29-2008, 11:05 PM
I have checked all the vBulletin variable lists but I can't find this variable anywhere.
I am trying to put a users referrals in the postbit, but can't work out what the code would be.

I've tried:


$bbuserinfo[referrals]
$post[referrals]
$bbuserinfo[referral]
$post[referral]

glennybee
09-30-2008, 12:25 AM
This is the code that's used in the memberinfo templates to display the number of referrals in the profile page (Statistics tab)...but I can't get it to work in the postbit template. Maybe you will have better luck.

<if condition="$vboptions['usereferrer']"><li><span class="shade">$vbphrase[referrals]:</span> $prepared[referrals]</li></if>

veenuisthebest
09-30-2008, 12:26 AM
probably the variable isn't available in postbit. Read this (https://vborg.vbsupport.ru/showthread.php?t=144109)

glennybee
09-30-2008, 12:37 AM
I think this is what you want! :)

https://vborg.vbsupport.ru/showthread.php?t=144222

Hex_legend
09-30-2008, 01:32 AM
I think this is what you want! :)

https://vborg.vbsupport.ru/showthread.php?t=144222

Thanks.
I found that just after posting this topic.

Confirmed - this DOES work on 3.7.3