Jump to content

How to see "New posts" in a forum software


LanceT

Recommended Posts

I'm working on a customized forum software, but I am wondering how best to make my forum display a "new post" image when there is an unread post by the user currently browsing.

 

Confused by what I want? Basically I want something like what PHPfreaks has. It displays this image http://www.phpfreaks.com/forums/Themes/default/images/english/new.gif

 

whenever there is a new unread post in a thread.

 

How do the major forum softwares do it?

Link to comment
https://forums.phpfreaks.com/topic/46364-how-to-see-new-posts-in-a-forum-software/
Share on other sites

You check the last time a person visited a topic and compare it to the time of the latest post in a topic

 

in this case, I have to have a database that stores the last time a person visited all of the topics? that would be really huge database. I've thought of this way but I think it may be inefficient for my purposes.

 

Any other ideas?

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.