Jump to content

"NEW" PMs


Guest Logan

Recommended Posts

Posted

When you receive a new PM, you get a popup. If you don't view it, but instead go elsewhere on the board other than that PM, it'll show "1 New Messages" at the top of the board until you go into your pm center.

BUT, you don't have to actually read the PM for it to not show as new on the member bar. Click the link "1 new messages", just view your pm list, then go back to the board, the count will return to 0, if you go back to the pm list you'll see it's still unread (has an unread icon), but it doesn't show in the member bar that there is 1 new message.

This really needs to be fixed (yes, I consider it a bug but am placing it here as it is more of a feature suggestion).

UNTIL you actually read the PM(s), the new messages count should continue to show it as new regardless whether you have viewed the pm list or not, you still didn't view the actual message so it's technically still new. Like other BBS software, as well as webmail, if you just view the list and not the PM, it will continue to say there is new messages.

Why should it be changed to be this way? Well, say you haven't been online in awhile, or you have received a lot of PMs since your last visit. Well, you click the # of new messages, read 1 or 2, go back to the board, the new messages count will be 0 since you viewed the pm list but not all of the new pms, then it's possible you will forget to read them which happens to me a lot.

I hope this is considered.

Posted

Yes, I think rather than typing all that up, I should have just said:
On the member bar have it show the # of UNREAD PMs there are instead of new. :P

Posted

Dean also thought it was a good idea, and decided to make a quick mod to do this at our site.

If you want the number next to "new messages" to be the number of unread messages, here you are:

File: sources/classes/class_display.php

Find:

$this->ipsclass->member['new_msg'] = intval($this->ipsclass->member['new_msg']);

Add Below:

$d21_gcupmcn = $this->ipsclass->DB->build_and_exec_query(array('select' => 'count(mt_id) as total', 'from' => 'message_topics', 'where' => 'mt_owner_id='.$this->ipsclass->member['id'].' AND mt_to_id='.$this->ipsclass->member['id'].' AND mt_read=0'));

$this->ipsclass->member['new_msg'] = intval($d21_gcupmcn['total']);



Save and upload the file.

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...