Smartys wrote:wobo: The only problem I see with your suggestion is that you can't store an infinite amount of read information in someplace (say, a text field in the users table).
Not infinite but I did not see any porblems in all that time with this MOD in phpBB or the same function in SMF. When a user stays away too long or forgets to mark all unread and "uninteresting" posts as read for a while he may get a database error one day when he clicks on "Show unread posts". All he has to do then is clicking on "Mark all forums read" and he can go on. But that happened only in few cases where the user kept more than 800 or 1K or more unread flags.
That's why the last visit time is so nice: it reduces the amount of data we have to store by a great deal. If you have an issue with the last visit time on your forum, you can use the Mark topics as read mod and set the timeout much higher (as in to several hours)
No. The timeout is no help if you have a connection breakdown or you want to shutdown your laptop when you enter the plane (and leave the WiFi access area) after having read some of the new posts while waiting for boarding. It does not solve the essential problem of saving the unread marks independent from sessions:
I click on the link "Show new posts" and I see 50 or 60 posts (that's normal in our forum when I stay away for a day or a weekend). I do not have the time to read all of them, so I just read the first 10, log out, go fishing, come back in the afternoon, log in and with a click on "Show unread posts" I have my list of unread posts plus the posts that came in after I logged out.
This is working right now in SMF on my forum with 1K registered users and around 50 new posts coming in daily (worked as well with the MOD in phpBB). I did not experience any heavy load on mysqld on the server or any slowing down or anything else.
Looking at the "Unread MOD" in phpBB this functionality does not seem to be such a problem to be implemented in PunBB by an experienced PHP coder. Maybe someone could have a look at that MOD and get his ideas from there. Or he could port that MOD to PunBB. Anyhow, this function became so popular to the users that I can't offer them a forum without it. It's one of the MUST HAVEs, once you know that it exists.
wobo