Vinny find this code:
PHP Code:
error_reporting
put under it:
PHP Code:
require('./global.php');
because $bbuserinfo won't work with out that code and alot of oter things as well...
then under that add my code...
all my code states is that if the user trying to access the script isn't in the usergroupid 2 then they will recieve the error

regards hope that helps...
g-force2k2