I just started messing around with user authentication on a non-vB page and was able to get it working by placing the following code at the top of the page:
PHP Code:
<?php
include ("global.php");
if ($bbuserinfo[userid]==0) {
show_nopermission();
}
?>
Only problem is that right now I can only get this to work on the protected page when it is inside the /forums/ directory.
I got the details on this from
http://www.vbulletin.com/forum/showt...&postid=245482