That doesn't seem to work here now. I went back to the original file and it works that way. I ran it from the admin directory though. I don't want any mods playing with it until I can get it working so no one can ban the admin.
Quote:
Originally posted by ladyfyre
That is what i was using. I just get back:
Parse error: parse error in /banuser.php on line 13
Code used is:
PHP Code:
// HF-Mods perms
if_(
____$bbuserinfo[usergroupid]!=6
____and_$bbuserinfo[usergroupid]!=5
____and_$bbuserinfo[userid]!=44
____and_$bbuserinfo[userid]!723
____and_$bbuserinfo[userid]!=4267
{
cpfooter();
exit;
}
Line 13 is the one referring to usergroupid 6
|