<?$dir = getcwd();chdir('/home/***/public_html/forum/');require_once('./global.php');chdir($dir);echo $vbulletin->userinfo['userid'];?>