MyBB Hacks

Full Version: Unread PM/Thread Status
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is there a way to check if a PM's or thread's status is unread in the private_messagebit and forumdisplay_thread templates?
$message['status'] and $message['readtime'] should be 0 for unread PMs.

Threads are more tricky as they can be read, but have unread posts.  MyBB uses $thread['lastread'] and compares it with the lastpost time to see if a thread should be marked as containing unread posts.
Reference URL's