The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Hiya,
With what variable can I retrieve a user's profile field off a user's id. I already have declared the userid: PHP Code:
|
|
#2
|
||||
|
||||
|
if you have $vbulletin->userinfo already exist you can use
PHP Code:
|
|
#3
|
|||
|
|||
|
Thanks. Where can I find the entire array of userinfo variables?
|
|
#4
|
||||
|
||||
|
you can use var_dump to see the contents of the array
|
|
#5
|
|||
|
|||
|
Where do I use that? |
|
#6
|
|||
|
|||
|
You would need to put it somewhere where you can see the output. One thing you could do it make a plugin using hook misc_start and code like this:
Code:
if ($_REQUEST['do'] == 'var_dump')
{
echo "<pre>";
var_dump($vbulletin->userinfo);
echo "</pre>";
exit;
}
|
|
#7
|
|||
|
|||
|
Thanks man!
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|