There are two instances of the original code to replace in user.php, I tried isnerting it in the first one as I didn't know the other existed and it did not work. I then found the other instance and then replaced both and got the following:
Parse error: parse error in /home/sites/site47/web/mod/user.php on line 96
I then tried replacing it in the last instance and it didn't work either. The code I'm using is
if ($banuser['usergroupid']==5 or $banuser['usergroupid']==6 ) {
echo "<p>You cannot ban Administrators or Moderators!</p>";
}
As we do not have regular and super moderators, I only have 5 and 6 listed.
|