Bump: solution here
In shoutbox.php find:
PHP Code:
echo "<div align='right' style='float: right'><a href='".$site_config['SITEURL']."/shoutbox.php?del=".$row['msgid']."' style='font-size: 8px'>[D]</a><div>";
Add after:
PHP Code:
$a = mysql_query("SELECT class FROM `users` WHERE id = $row[userid] ");
$a = @mysql_fetch_row($a);
switch ($a[0]) {
case 5: // Administrator
$user = "<font color=#ff0000>$row[user]</font>";
break;
case 4: // Super Moderator
$user = "<font color=#A83838>$row[user]</font>";
break;
case 3: // Moderator
$user = "<font color=#000000>$row[user]</font>";
break;
case 2: // VIP
$user = "<font color=#FEDE01>$row[user]</font>";
break;
case 1: // Uploader
$user = "<font color=#C0C0C0>$row[user]</font>";
break;
default: // User
$user = $row[user];
}
and near the line 180 find:
PHP Code:
echo '</td><td style="font-size: 12px; padding-left: 5px"><a href="'.$site_config['SITEURL'].'/account-details.php?id='.$row['userid'].'" target="_parent"><b>'.$row['user'].':</b></a> '.nl2br(format_comment($row['message']));
and replace:
'. $row['user']. '
by:
' .$user. '
Have fun!