open shoutbox.php and find:
* Staff Edit: it's supposed to have if ($CURUSER) { } round it.
if (isset($_GET['history'])) {
if (isset($_GET['page'])) {
if($_GET['page'] > '1') {
$lowerlimit = $_GET['page'] * 100 - 100;
$upperlimit = $_GET['page'] * 100;
}else{
$lowerlimit = 0;
$upperlimit = 100;
}
}else{
$lowerlimit = 0;
$upperlimit = 100;
}
$query = 'SELECT * FROM shoutbox ORDER BY msgid DESC LIMIT '.$lowerlimit.','.$upperlimit;
}else{
$query = 'SELECT * FROM shoutbox ORDER BY msgid DESC LIMIT 20';
}add after:if ($CURUSER) {
//check for new pm's
$res = mysql_query("SELECT COUNT(*) FROM messages WHERE receiver=" . $CURUSER["id"] . " and unread='yes' AND location IN ('in','both')") or print(mysql_error());
$arr = mysql_fetch_row($res);
$unreadmail = $arr[0];
if ($unreadmail)
print("<font color=#FF0000 size=3><B><center><blink>You Got A New PM </font>[<a href=mailbox.php?inbox class=link2 target=_blank><font color=#FF0000> $unreadmail </font></a>]</blink></center></b></a></font> ");
}* Staff Edit: it's supposed to have if ($CURUSER) { } round it.