Great Hack installs one of the best I've seen Great Job
Had to make a change though I have vbproarcade and I don't have this in showthread.php
PHP Code:
while ($post=$DB_site->fetch_array($posts) and $counter++<$perpage) {
if ($postdone[$post[postid]]) {
$counter--;
continue;
} else {
$postdone[$post[postid]]=1;
}
$postbits .= getpostbit($post);
}
so I did some pluging and playing and got this code to work
PHP Code:
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";
Just left out the end part
PHP Code:
$postbits .= getpostbit($post);
}
Im not sure why it works this way but it does so Woot