InstantASP Community Forums
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        


Unread message indication Expand / Collapse
Author
Message
Posted 03/06/2005 14:10:58


Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Customers
Last Login: 22/09/2008 15:59:25
Posts: 693, Visits: 2,418
I'm not sure if this is a bug or a suggestion, so I'll just put it in here.

1) If I view my main forum page & see that a forum has some unread messages... I will then go into that forum... but NOT read any of the messages... Instead, I'll go back to the home page and now the forum shows that there are NO unread messages... but If I go into the forum the unread messages still appear (like they should).

2) This is also the case if I go into a forum that has 10 new unread posts... and lets say I read 2 of them.. When I go back to the main page... the forum shows that there are NO unread posts when in fact.. there are 8 unread posts.

I would think that if there were any unread posts within a forum... that the 'unread' indicator should remain until all of them are read... or if a manual "all messages read" is performed...

P.S. This is also relevant to sub-forums.

Anyone have an opinion on this... and/or has anyone else noticed this???


..:: Bare ::..
http://www.livingformetal.com
Post #7059
Posted 03/06/2005 16:03:18
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Moderators
Last Login: 14/10/2006 01:27:14
Posts: 276, Visits: 3,858
Yep I've noticed it and its a change too.  Don't know if its by design or a result of trying to fix the forum icons from remaining unread when all the posts are read.



Jimmy Stuart
Post #7062
Posted 13/06/2005 08:17:56


Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Customers
Last Login: 22/09/2008 15:59:25
Posts: 693, Visits: 2,418
I think this board is currently running on RC3... and this issue still exists...

*bump*


..:: Bare ::..
http://www.livingformetal.com
Post #7264
Posted 15/06/2005 09:58:36


IF.NET 4.2 Coming Soon

IF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming Soon

Group: Administrators
Last Login: 2 days ago @ 16:29:04
Posts: 1,956, Visits: 3,018
Bare (6/13/2005)
I think this board is currently running on RC3... and this issue still exists...

*bump*

Hi Bare / Jimmy,

Many thanks for your input on this.

This actually works as designed however the wording currently used is confusing and will be changed.

The forum markers actually indicate if new posts have been added to the forum (or sub-forums) since you last viewed the forum. They do not indicate if all posts within the forum (and sub-forums) have been read. 

Based on your suggestion however i've spent two days looking at ways to ensure the forum icons only update once all topics within a forum (and sub-forums) have been read.

Unfortunately this is not looking like something that will be available within the final v4.0 release. To determine if all posts within a forum have been read we would need to search the InstantForum_TopicsRead table for all topics within a specific forum and use this to determine if we have read all topics within a forum before flagging the forum as read. Obviously a forum may contain several thousand posts and reading or even performing a simple count on the read topics from the InstantForum_TopicsRead table would cause performance problems.

Currently topic read information is pulled from the InstantForum_TopicsRead table based on which topics are displayed per page within a forum, this limits the topic read data returned and ensures each forum only returns the topic read data for the topics presented to the user.

For example to determine if all topics within a forum have been read we would need to perform a query similar to...

SELECT Count(InstantForum_TopicsRead.TopicsReadID) FROM InstantForum_TopicsRead WHERE InstantForum_TopicsRead.ReadTopicID IN (SELECT DISTINCT InstantForum_Topics.TopicID FROM InstantForum_Topics WHERE InstantForum_Topics.ForumID = 7) AND InstantForum_TopicsRead.ReadUserID = 1

Or if we logged the forum identity within InstantForum_TopicsRead (which we don't currently as this would be tricky to ensure it's consistent)...

SELECT Count(InstantForum_TopicsRead.TopicsReadID) FROM InstantForum_TopicsRead WHERE InstantForum_TopicsRead.ReadForumID = 7 AND InstantForum_TopicsRead.ReadUserID = 1

Either way we could then use this count to compare against the actual number of topics within the forum. If they match or the read count is higher we could assume the user has read all the topics within the forum and we can mark the forum as read.

However if our forum used in this example has say half a million topics these queries would not be acceptable. This is why this requires a little more time.

It's not impossible to only flag a forum as read once all topics have actually been read however based on the work over the last couple days i've discovered this would require some reworking to ensure this did not effect performance. At this stage it would be sensible to wait for final release and hopefully offer this functionality within a minor update.

Currently the forum markers are not broke and they appear to work as designed. I quite agree the wording currently used is confusing. This will be changed to show Moderated forum (Unread) only indicates if a forum has new posts since you last viewed the forum. We'll also be updating the working used on the topic markers to make this more clear.

Many thanks again Jimmy / Bare, I'd certainly appreciate any further comments,


Kindest Regards,

Ryan Healey
Director / Developer

Explore our products...
http://demos.instantasp.co.uk/

Post #7302
Posted 15/06/2005 10:20:23


Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Customers
Last Login: 22/09/2008 15:59:25
Posts: 693, Visits: 2,418
Hi Ryan,

Yes, I completely understand the issue of performance & definitely agree that it probably is not feasable at this time..... and now that I understand that the indicator is since my last viewing of the forum... it makes more sense... (although, it does make for going into each forum to see if there are unread posts that I didn't read during my last viewing)...

Thanks for the detailed information... and remember this is just an opinion... You may never want to change the way it works now

Thanks Ryan


..:: Bare ::..
http://www.livingformetal.com
Post #7303
Posted 15/06/2005 11:07:58
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Moderators
Last Login: 14/10/2006 01:27:14
Posts: 276, Visits: 3,858
Ryan,

Thats cool and a wording change would certainly clear things up.

I have however noticed a related issue.  If a Forum is makred unread and you click on the direct link to the last post (ie don't click on the forum), hit back (going back to the main page), hit refresh a couple of times (to be safe), the end result is the forum is still unread.  So if the intended operation of the forum unread icons is simply since the last visit, then clicking directly on the last post link is obviously not working properly.  I think this is what led me to believe that the other issue was the bug, when it reality this is the bug.



Jimmy Stuart

Post #7306
Posted 01/07/2005 07:53:06


Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Customers
Last Login: 22/09/2008 15:59:25
Posts: 693, Visits: 2,418
Confirmed, Jimmy.

The direct link to the last post does not set the forum to 'no unread posts'..

bump


..:: Bare ::..
http://www.livingformetal.com
Post #7511
« Prev Topic | Next Topic »

Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Ryan Healey, Mark Christianson, Bare, James Trott

Permissions Expand / Collapse

All times are GMT, Time now is 4:34am

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.125. 10 queries. Compression Disabled.
Home | Products | Purchase | Support | Company | Contact Us
Privacy Statement | © 1999-2007 InstantASP Limited. All Rights Reserved.