Log in

View Full Version : List of items in bbuserinfo?


Gellpak
10-26-2005, 09:34 PM
I've been looking everywhere to find a complete list of all items contained in bbuserinfo, and I'm not entirely sure what file to open up in my copy of vb to find this. Does anyone have a list?

Marco van Herwaarden
10-27-2005, 04:12 AM
Just add (temporary) the following statement somewhere:
echo "Userinfo: <pre>";print_r($vbulletin->userinfo);echo "</pre>";
This will show you a nice list of the contents in that script.
PS $bbuserinfo is used in 3.0, in 3.5 you should be using $vbulletin->userinfo.

TCM
11-22-2005, 09:20 PM
Just add (temporary) the following statement somewhere:
echo "Userinfo: <pre>";print_r($vbulletin->userinfo);echo "</pre>";
This will show you a nice list of the contents in that script.
PS $bbuserinfo is used in 3.0, in 3.5 you should be using $vbulletin->userinfo.
I use the following. Don't you need to escape the HTML?

echo "$vbulletin->userinfo = <pre>".htmlspecialchars(print_r($vbulletin->userinfo, true))."</pre>";

Borgs8472
11-22-2005, 09:25 PM
^ ^
make it in a php file

merk
11-22-2005, 10:03 PM
You could just use vBulletins print_array() (found in functions_misc.php) :)