PDA

View Full Version : How to display userid


Gil427
04-22-2007, 10:21 PM
I'm making a personal add-on where it says your referral link in your user cp. I was wondering what the code is to display the person's userid. I think it's something like [userid]

So far I have:

<table class="tborder" align="center" border="0"
cellpadding="$stylevar[cellpadding]"
cellspacing="$stylevar[cellspacing]" width="100%">
<thead>
<tr>
<td><span style="color: rgb(255, 255, 255);"><span
style="font-weight: bold;">Your Referral Link:</span>
http://www.vgtrades.com/forums/index.php?referrerid=</span>
</td>
</tr>
</thead>
</table>
<br>

Thanks,
Gil

basketmen
04-22-2007, 10:27 PM
try this

http://www.vgtrades.com/forums/index.php?referrerid=$bbuserinfo

or this

http://www.vgtrades.com/forums/index.php?referrerid=$userid

Gil427
04-22-2007, 10:31 PM
It's still not showing up :( it just shows:

http://www.vgtrades.com/forums/index.php?referrerid=

Dominic
04-22-2007, 10:37 PM
<a href="http://www.vgtrades.com/forums/index.php?referrerid=" target="_blank">http://www.vgtrades.com/forums/index.php?referrerid=</a>$bbuserinfo[userid]

Gil427
04-22-2007, 10:38 PM
WOOT, thanks sooo much CC Phantom and basketmen... BTW it was CC Phantom's that worked.