![]() |
PHP - retrieve profile field
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:
|
if you have $vbulletin->userinfo already exist you can use
PHP Code:
|
Thanks. Where can I find the entire array of userinfo variables?
|
you can use var_dump to see the contents of the array
|
Quote:
Where do I use that? |
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') |
Thanks man!
|
All times are GMT. The time now is 09:21 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|