Hi there, i'm devolping something and trying to list the last 50 posts grouped by topics (in a list page like the "recent posts").
i've a problem understanding how posts are marked like read or unread for the reader.
we have the forum_track (i think we don't need it)
we have the topic_track table (it give the marktime for topic_id and user_id)
we have the last_post_time column in phpbb_topics
so i guess, i need the marktime to check with the lastpost_time... so while i visit the topic and the last post, in the db will appears (in topic_track) a new record with:
nope.
If i visit some posts, it doesn't appear the new record in topic_track table, so how it works?
i've a problem understanding how posts are marked like read or unread for the reader.
we have the forum_track (i think we don't need it)
we have the topic_track table (it give the marktime for topic_id and user_id)
we have the last_post_time column in phpbb_topics
so i guess, i need the marktime to check with the lastpost_time... so while i visit the topic and the last post, in the db will appears (in topic_track) a new record with:
- my id
- the topic_id i've visited
- the marktime, the time i've visited it
nope.
If i visit some posts, it doesn't appear the new record in topic_track table, so how it works?
Statistics: Posted by sebo — Tue Jul 23, 2024 10:59 am