Hi: I tried to make this change, but I keep getting a parse error on line 460. Which is this:
$onlinestat = "";
Any ideas on how to fix this?
Thanks
Quote:
Originally Posted by Zzed
Change this:
PHP Code:
$onlinestat = "";
if(($post[miserable] == 1) || ($post[stunned] & 4)){
if(($bbuserinfo[usergroupid] == 5) or ($bbuserinfo[usergroupid] == 6) or ($bbuserinfo[usergroupid] == 7)) {
$onlinestat = "$onlinestat<br><font color=\"red\"><b>Miserable User</b></font>";
}
}
To This:
PHP Code:
$onlinestat = "";
if(($post[miserable] == 1) || ($post[stunned] & 4)){
if($bbuserinfo[usergroupid] == 6) {
$onlinestat = "$onlinestat<br><font color=\"red\"><b>Miserable User</b></font>";
}
}
And it will be visible only to the admins. 
|