PDA

View Full Version : SMF ssi.php like - What to use with vbulletin


IKShadow
08-22-2009, 08:18 AM
I used to run SMF board and having a lot of 3rd party software on in it ( like raid planers, dkp etc... ) I need to add a code to index.php that will check if logged user is in group (all usergroups not just primary one) and if its not php die.

What kind of solution Vbulletin offers for that.
Checked manuals but about syndication but did not saw anything about it.

Dismounted
08-22-2009, 10:49 AM
$curdir = getcwd();
chdir('./forum');
require_once('./global.php');

if (!is_member_of($vbulletin->userinfo, 6))
{
exit;
}

chdir($curdir);

IKShadow
08-22-2009, 02:44 PM
thanks