Cless Posted November 17, 2007 Share Posted November 17, 2007 Hello. I wanted to know how to find out if a person has read a specific page or forum topic. Like, on Forums, if you haven't read a topic, the icon next to it is a certain icon, and if you have read that topic, the icon is different. I'm not sure how else to explain it. Some people told me that I should use Cookies, however, I do not see how Cookies would be useful in this situation. Thanks! Quote Link to comment Share on other sites More sharing options...
kratsg Posted November 17, 2007 Share Posted November 17, 2007 When someone has opened the "read topic" page, update the query to show 1 added view (if it was 1, update it to 2, etc...) Then, on the page that shows the pictures, if the view == 0, then show an "unread" picture, otherwise, show a "read" picture. Quote Link to comment Share on other sites More sharing options...
Cless Posted November 17, 2007 Author Share Posted November 17, 2007 Oh... but, I want the unread and read statuses to be for seperate users. Quote Link to comment Share on other sites More sharing options...
kratsg Posted November 17, 2007 Share Posted November 17, 2007 Oh, like this forum has? I believe that goes along the idea of timestamps. For example, this forum tracks the last person who POSTED in the topic, adds the timestamp in the database. So any user who logs on later who never saw that new post before (meaning their last timestamp on the site was smaller than the timestamp of the post) will have a picture showing new post. Quote Link to comment Share on other sites More sharing options...
Cless Posted November 17, 2007 Author Share Posted November 17, 2007 OH! Thanks a lot! =) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.