The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
I have made a few custom pages and I want to get the Users ID so I can use it on that page..
Is there a way of just printing out a general Vb Phrase or have I got the wrong end of the stick.. Thanks in advance
|
|
#2
|
|||
|
|||
|
$name=$vbulletin->userinfo['username']; or for the id userinfo['userid']
|
|
#3
|
|||
|
|||
|
Quote:
|
|
#4
|
||||
|
||||
|
$vbulletin->userinfo['userid']
|
|
#5
|
|||
|
|||
|
oh damn
for me it was clear to use $vbulletin-> sorry |
|
#6
|
|||
|
|||
|
If you use it in a template, use:
$bbuserinfo[username] and $bbuserinfo[userid] If you use it in code, use $vbulletin->userinfo instead of $bbuserinfo. |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|