MyBB Community Forums

Full Version: How Does MyBB determine whats a new post?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello, I'm trying my hand at coding a forum software. But am stumped at 1 thing.

How does MyBB determine whats a new post, and whats been read?

Could the developers point me in the right direction?
There is a table called threadsread - If you visit a thread a record is inserted containing the thread id, the user id, and the dateline. If the dateline is older then the latest post in the thread, or there is no record at all, then the post must be new.
Hmmm. Ok, Thanks.