forcerm
02-10-2011, 10:14 AM
I have been using a plugin to use vbulletin data on an external page .. somerthing along the lines of
global $vbulletin;
$username=$vbulletin->userinfo['username'];
returning the values of $vbulletin->userinfo array basically lists all the settings within the 'users' table.
is there a variable i can use to pull the settings from the database? rather than writing a whole query.
thanks.
--------------- Added 1297341581 at 1297341581 ---------------
i worked it out can be done with
$vbulletin->options['value'];
global $vbulletin;
$username=$vbulletin->userinfo['username'];
returning the values of $vbulletin->userinfo array basically lists all the settings within the 'users' table.
is there a variable i can use to pull the settings from the database? rather than writing a whole query.
thanks.
--------------- Added 1297341581 at 1297341581 ---------------
i worked it out can be done with
$vbulletin->options['value'];