Simple Machines Community Forum

SMF Development => Feature Requests => Applied or Declined Requests => Topic started by: Grrzzz007 on January 23, 2007, 05:14:31 AM

Title: Number of unread posts since last visit
Post by: Grrzzz007 on January 23, 2007, 05:14:31 AM
Hi everyone,

I am trying to get the number of unread posts since last visit. I want to use it for either displaying a link to the search of unread messages (including the number of new posts) or to display just a text saying no new posts since last visit.

I looked at the function in Recent.php which is doing the search. Well, this is rather - lets say - intense ;)

So I hope that someone could tell me the right query for that!
Title: Re: Number of unread posts since last visit
Post by: Grrzzz007 on January 25, 2007, 04:47:51 PM
Does nobody has any idea?
Title: Re: Number of unread posts since last visit
Post by: Suetan on January 25, 2007, 04:51:56 PM
Do you want this to be done as a popup? as a message in the news? as a message on the login page? or what?
Title: Re: Number of unread posts since last visit
Post by: nitins60 on January 26, 2007, 01:53:46 AM
It would be cool, if we display like below!

You have unread posts (x) since last visit, total unread posts (x)

i think we just need to add (x) to existing feature!
Title: Re: Number of unread posts since last visit
Post by: Grrzzz007 on January 26, 2007, 10:35:15 AM
Quote from: nitins60 on January 26, 2007, 01:53:46 AM
It would be cool, if we display like below!

You have unread posts (x) since last visit, total unread posts (x)

i think we just need to add (x) to existing feature!
Thats what I am talking about. In case of x=0, there wouldn't be a link anymore, but a text saying that there are not any unread posts.