[QUOTE=Akex]You can get $bbuserinfo by calling global.php
PHP Code:
chdir('path/to/your/forum/directory/'); //don't use it if your page is in the forum directory
require_once('global.php');
In theory -- this is a great idea and something I originally used. However, I discovered something really disturbing during a few stress tests.
I've been testing a content management application which bolts on to vB on a dedicated server here. When I included the vB files and hit it with about 7,000 requests, it brought the server load from 0.00 to 18.57. If I manually added the $bbuserinfo array without loading the vBulletin files, it was running around 1.5.