PHP Code:
<?php
$curdir = getcwd ();
chdir('/public_html/forums');
require_once('/public_html/forums/global.php'); // location of your forums
chdir ($curdir);
if($vbulletin->userinfo['userid'] == 1) // UserID of the user you want to have access the panel
{
// Special code that only user gets to see
}
else
{
echo "You don't have permission to access to function."; // Error message for user that doesn't have access.
}
?>
If you want to usergroup, use the function
is_member_of. You can also just create your own login system but check it against the user table for your forums.