Support Forum

The Forum New Post Icon – Group View – Let's Discuss

YS Yellow Swordfish
Yellow Swordfish
Member

The question is – do we abandon and remove it.

Firstly it is important to understand how ‘new post’ handling is performed for forum members. This process is described in detail on the wiki. This process is used everywhere with the exception of the new post icon n the forum index of the Group View.

The reason it is not used in this view is because the members ‘new post list’ only holds the topic ids. Yes – it would be possible to display the forum index row and work out from the users list if any of the topics in the list belong to the forum but that is a very slow, query intensive procedure which will have a noticeable and unwanted negative effect on performance. This is especially true of you have a lot of forums and/or a large topic list.

It is also possible to add the forum id to the users new post list. This is the ideal solution and has only been rejected for 4.2 because it involves some serious code changes that would delay the release. It can be re-considered for 4.3.

So how does it currently work?

When the forum index row is displayed we do have available to us the timestamp of the last post made in any topic belonging to that forum. This is compared to the last visited date of the user. Quite simply, if the last visited date is before the last topic post date then the icon is displayed. initially, at the time of login, this is accurate. But as a few people have pointed out if the user then visits that forum and reads the topics that were unread when they return to the Group View the icon is still shown. This is because the last Visited date remains the same for the session – as it needs to.

So the icon – signifying unread posts – can become inaccurate during a users forum session. This is not ideal and, as stated above, we can overcome this. But as we do not have the time to replace this code in 4.2, the question is do we just remove the functionality until such a time as we can get it right or do we leave it in for 4.2 as it is better, perhaps, than nothing. I made the suggestion to remove it simply because it is a question that seems to come up fairly often.

(Additional note for James: When we were discussing this the other day the problem was exacerbated by incorrect processing of the timestamp on posts. This, we believe, is probably a bug introduced into WP in, perhaps 2.9.1. We have now fixed that which at the very least means that the icon resets itself upon logout/login or timeout of the users session.)

9 Answers

New Answer

LU Luffer
Luffer
Member

I have to say it is very confusing to have a new post icon displayed when there are no new posts. Most users will visit the group view first, and then go to the forum because it indicates new posts.

Would a possible solution be to only show the new posts icon in the group view on their first visit? So after they’ve visited any other forum or topic, all new post icons on the group view are removed? Maybe that’s just as much, or more work, I don’t know.

It would have the benefit of the group view not having the new post icon ‘stuck’, which is good. But it would also mean that memebers only see the new posts icon once, which is bad.

I guess if it’s possible to add the forum ID to the users new post list to make this work ‘properly’ in 4.3 then a page in the wiki explaining how it currently works should surfice and maybe add a note to say in the next version it will give more accurate results? I think you’re right that it’s better than nothing though.

If you remove the feature you’ll get all the questions about “Why are the new post notifications not showing up?” instead.

I think the current wiki page could be expanded to explain why the notification doesn’t dissapear on the Group View and that it’s a ‘feature’ rather than a ‘bug’ 🙂 Currently it doesn’t really mention the Group View and only explains how it deals with Topics. This might be adding to users confusion.

LU Luffer
Luffer
Member

Yellow Swordfish said:

(Additional note for James: When we were discussing this the other day the problem was exacerbated by incorrect processing of the timestamp on posts. This, we believe, is probably a bug introduced into WP in, perhaps 2.9.1. We have now fixed that which at the very least means that the icon resets itself upon logout/login or timeout of the users session.)


 

Have you implemented the fix on this forum? I ask because when I logout/login the new post notification is still there. If you haven’t then ignore me Cool

YS Yellow Swordfish
Yellow Swordfish
Member

Yes – I believe so.

Try setting your timezone in your profile. In your case, as in mine, the setting should be 6 as we are 6 hours in front of Chicago where the server is. Steves setting should be -1

MP Mr Papa
Mr Papa
Member

with 4.3 following so closely on the heals of 4.2, I would recommend just leaving it in there… and fixing it nicely in 4.3…

LU Luffer
Luffer
Member

Yellow Swordfish said:

Yes – I believe so.

Try setting your timezone in your profile. In your case, as in mine, the setting should be 6 as we are 6 hours in front of Chicago where the server is. Steves setting should be -1


 

I don’t want to dwell on this topic if it’s getting an overhaul in 4.3…. but just so you know. Having checked my timezone and setting it 6 hours in front, it still refuses to mark posts as read when I login/out.

I’m also having an issue with the admin bar not marking posts as read. When I quick reply, or mark as read and close. The messages still stay in my queue as unread, even when I go to the topic and read it there, it still says it’s unread.

YS Yellow Swordfish
Yellow Swordfish
Member

The timezone setting works for me on logout/login so I am baffled on that front…

As to the admin bar you have to remember that this is shared between all admins and moderators. We currently have it set up that moderators can use the bar and the quick reply etc., but are unable to actually remove the posts from the queue as that requires an actual admin. This is an option.

LU Luffer
Luffer
Member

Ahh, okay. I’ve only ever used it as an admin before so this is new behaviour to me! I was expecting the message to be removed from the bar after I had read it. But if it’s shared then it makes sense now, no problem!

LU Luffer
Luffer
Member

Right, there’s definitly something screwy going on here…

It now appears that none of the posts are being marked as read, this was working for me before. I was only having the Group View issue before, but topics are staying “unread” after reading them, loging out/in etc…

Could this be related to my moderator status somehow? I’ve only noticed it since then…

YS Yellow Swordfish
Yellow Swordfish
Member

Almost certainly your new found celebrity status. Wink

What you are probably seeng is that posts still in the Admin Queue are not marked as closed until they have been removed. Not sure if there is an easy way around thast to be honest. But it would be helpful if you could monitor that to make sure this is the reason. There have ben no code changes however.