PDA

View Full Version : need script modify


-dloh-hammer
11-30-2001, 06:24 PM
plz someone con modify this script to allow userlv 13 8 34 and 12 to pass all other gets error_nopermission


require("./global.php");

if ($bbuserinfo[userid]==0) {
show_nopermission();
}

Admin
11-30-2001, 06:28 PM
require("./global.php");

if ($bbuserinfo[usergroupid]!=13 and $bbuserinfo[usergroupid]!=8 and $bbuserinfo[usergroupid]!=34 and $bbuserinfo[usergroupid]!=12)) {
show_nopermission();
}
That will work if by user level you mean usergroup.

-dloh-hammer
11-30-2001, 06:31 PM
yeap mean usergroups :)


big thx for fast help