Quote:
Originally posted by Hotte
In banuser.php @ line 10:
if ($bbuserinfo[userid]!=1 and !$ismod=$DB_site->query_first("SELECT * FROM moderator WHERE userid=$bbuserinfo[userid] and forumid=2")) {
change this to:
PHP Code:
if (
$bbuserinfo[usergroupid]!=6
and $bbuserinfo[usergroupid]!=5
and $bbuserinfo[userid]!=x
and $bbuserinfo[userid]!=y
and $bbuserinfo[userid]!=z
{
|
missing a ")" after the last userid (or group)
becareful :knockedout:
-edit-
another thing, i didnt even notice, u ban by userid (number) not user name, be careful on that