if you change to the forum directory and then use:
PHP Code:
require_once ( './global.php' ) ;
probably along the beginning of the file depending on what you have in mind, but it allows for the use fo all vbulletin features if used correctly. Just by using that line you can use the
array, which allows for $bbuserinfo[username], $bbuserinfo[userid], $bbuserinfo[email] etc.
Hope that helps.
Cheers,
g-force2k2