Quantcast
Channel: phpBB.com
Viewing all articles
Browse latest Browse all 1830

Extension Writers Discussion • mark read and unread posts

$
0
0
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, :idea: i need the marktime to check with the lastpost_time... :idea: 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
isn't it?
nope.
If i visit some posts, it doesn't appear the new record in topic_track table, so how it works? :?: :?: :? :shock:

Statistics: Posted by sebo — Tue Jul 23, 2024 10:59 am



Viewing all articles
Browse latest Browse all 1830

Trending Articles