Log in

View Full Version : Developer documentation for list of values in userinfo


moondragon13
12-26-2005, 07:15 AM
Hello,

Are there any kind of developer documentations available? I have the following:


chdir('/home/db7aston/www/forums');
require_once('./global.php');

// IF USER IS LOGGED IN
if ($vbulletin->userinfo['username'])
{
// CODE TO EXECUTE IF USER IS LOGGED IN
echo 'logged in';
}
else
{
// CODE IF USER IS NOT LOGGED IN
echo 'not logged in';
}


It would be very helpful if I could know all the values of the userinfo array. Things like their userid, if they are logged in, etc.

Marco van Herwaarden
12-26-2005, 07:51 AM
print_r($vbulletin->userinfo);

Andreas
12-26-2005, 09:43 AM
function fetch_userinfo()