PhpBB question

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
Shendemiar
Forum Contributor
Posts: 404
Joined: Thu Jan 08, 2004 8:28 am

PhpBB question

Post 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.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post 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
Post Reply