phpBB New Post Determination

Carson

Seasoned Veteran
Joined
Apr 11, 2007
Messages
3,912
Reaction score
11
FP$
4,716
Does anyone know how phpBB3 determines when there is a new post in a topic for a user? Does it just store every view that a user makes on a topic?
 
There is two ways it could do it although I'm not entirely sure. One way could be that it stores it all via cookies (the new/no new only posts) or it could store the information in the database and get settled via the PHP core code and decide if X user has read it or not and if X post is new anyway.
 
I usually look at the last post date/time, but that's just me. Although I think that may be how the system works as well though. If it sees a new post that was made just this morning, then it would show up as a new post, wouldn't it? Other than that, I think this sounds like a question for the official phpBB support forum.
 
I looked it up on the phpBB wiki today. Every time you view a topic, it inserts a "mark_time". Then, when you are viewing a forum, this "mark_time" is compared with the last reply time. If the last reply time is greater than the "mark_time" stored in the database, then the topic is considered a new topic.
 
Carsonk said:
I looked it up on the phpBB wiki today. Every time you view a topic, it inserts a "mark_time". Then, when you are viewing a forum, this "mark_time" is compared with the last reply time. If the last reply time is greater than the "mark_time" stored in the database, then the topic is considered a new topic.

That sounds confusing, but at the same time it makes sense.
 
Back
Top Bottom