Quote:
04-16-02 at 06:22 PM TECK said this in Post #35
for unread pm's replace:
PHP Code:
$headpm=$DB_site->query_first("SELECT count(*) AS messages FROM privatemessage WHERE userid=$bbuserinfo[userid] AND dateline>$bbuserinfo[lastvisit] AND folderid=0 $ignoreusers");
with:
PHP Code:
$headpm=$DB_site->query_first("SELECT COUNT(*) AS messages FROM privatemessage WHERE userid=$bbuserinfo[userid] AND messageread=0 AND folderid=0 $ignoreusers");
|
Just for clarification for anybody that is trying to get this hack to work, these line changes fixed my problem. However I still had the entire PM Line to click to enter your private message CP disappearing when there was no new PMs, but I fixed that myself. I like this. It seems to work better than that blinking PMbox hack that doesn't always give you a popup even though you have a PM waiting for you.