Unread posts via database
-
I want my registered visitors to see whether they’ve read a post or not. Like email programms mark unread emails. It’s important to me that this is database driven.
If there isn’t such a plugin already I’ll probably write one. I wanted to check that first though. Anyone?My idea is to fill a table each time an author publishes a new post. One row per registered visitor with the visitors ID and the post-ID. When the visitor reads the post (or by clicking the unread-icon beside the post) the row will be deleted from the table. Of course there should also be some kind of “mark all posts as read”-button/link. Do you think this would work fine? Any suggestions?
Michael
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Unread posts via database’ is closed to new replies.