Page 1 of 1

PhpBB question

Posted: Fri Mar 18, 2005 7:52 am
by Shendemiar
Whats the system phpbb keeps track of read/unread messages. When one logs in, it's pretty obvious that everthing posted since last visit is new, but after reading couple of them, how can it tell what's been read of those new ones.

I'd like to have a count of unread posts in a forum.

Seems like the data is in class created on each loading of any page.

I don't get it. Where's the data marking what topic is unread/read while the page is beeing loaded.

Nothing in session, nothing in cookie, and in the database is just the submit-time of a post and user last-visit time.

Posted: Fri Mar 18, 2005 8:06 am
by feyd
current (2.0.x) versions use a session cookie to track which thread and when something was read. Olympus will use the database to track it.

SID_T is the basic name of the cookie