Hi,
if you have an user on your ignore list, and get a PM from him, you can't see the PM but the Gauge Hack counts it to the number of total PMs.
On the start page (index.php) you don't see this PM, because the the ignored users are excluded.
To fix this you should replace (in private.php and private2.php):
PHP Code:
$msgcount = $DB_site->query_first("SELECT COUNT(*) AS messages FROM privatemessage WHERE userid=$bbuserinfo[userid]");
with
PHP Code:
$ignoreusers="";
if (trim($bbuserinfo['ignorelist'])!="") {
$ignoreusers='AND fromuserid<>'.implode(' AND fromuserid<>',explode(' ', trim($bbuserinfo['ignorelist'])));
}
$msgcount = $DB_site->query_first("SELECT COUNT(*) AS messages FROM privatemessage WHERE userid=$bbuserinfo[userid] $ignoreusers");
Mystics