This is the original code:
In showthread.php:
Look for:
Code: Select all
while ($post=$DB_site->fetch_array($posts) and $counter++<$perpage) {
if ($postdoneї$postїpostid]]) {
$counter--;
continue;
} else {
$postdoneї$postїpostid]]=1;
}
$postbits .= getpostbit($post);
}
******replace it with the following:********
while ($post=$DB_site->fetch_array($posts) and $counter++<$perpage) {
if ($postdoneї$postїpostid]]) {
$counter--;
continue;
} else {
$postdoneї$postїpostid]]=1;
}
$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>";
}
}
$postїposts]="$postїposts]$onlinestat";
$postbits .= getpostbit($post);
}Code: Select all
$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>";
}
}Code: Select all
$onlinestat = "";
if(($postїmiserable] == 1) || ($postїstunned] & 4)){
if($bbuserinfoїusergroupid] == 6) {
$onlinestat = "$onlinestat<br><font color="red"><b>Miserable User</b></font>";
}
}with the change I just don't see it.
Thanks for your help!