Quote:
Originally Posted by Tom Freeman
ok thanks, can you ellaborate a little bit? If I require the global.php file then what? Is there a variable somewhere I can query against to see if the user is logged in? And if so what their username is?
THanks for the help, i'm a bit confused 
|
Then you can do anything you could in vBulletin pages basically (unless you needed to require some of the functions).
i.e. after grabbing the file make them login which is something like....
PHP Code:
require_once(~path~/global.php);
if($bbuserinfo[userid]==0){print_no_permission();}
I can't remember off hand if that will work, but it might.