Mark Forum as Read - changing forums to be marked as Unread

Be sure to read and follow the guidelines for our forums.

load previous
Jun 13, 2025 4:12 am
Just got a 500 error (persistent) when I tried to Mark Forum as Read in one of my game forums:

https://gamersplane.com/forums/12274/

Was able to reproduce (logged in to my account) on several browsers.
Jun 13, 2025 5:37 am
Posting in a game forum does make that game appear Unread. It was Marked as Read before, only I have posted, now it show as Unread.

I am not touching the Mark as Read button on any other games, I don't want to contaminate the data. I would hate to lose the record of what all I have read over all the games and forums I have looked at.
Jun 13, 2025 5:39 am
Nebula says:
... Also mark forum as read is slow I believe. Thanks.
It is very slow. But I never used it before, so I can not comment on if this is new.
Jun 13, 2025 6:12 am
When anyone adds a post to a game, the game's forum lists as Unread, even after the post/thread has been read.
Jun 13, 2025 10:28 am
Ok, def sounds like it's something I can't test on my main account; I just tried to mark the forum Bullseyepsa mentioned and it worked fine. It's gotta be a permissions thing I missed.

I'll have limited time this weekend, but I'll do my best to work on a solution ASAP. I'm sorry everyone.
Jun 13, 2025 11:06 am
We can wait, its doesn't stop us from using the site. Enjoy the weekend.
Jun 13, 2025 5:52 pm
I'll second what Nebula said. It's a mild annoyance; it doesn't impact usability of the site.
Jun 16, 2025 12:13 pm
I am still seeing weird behavior with the "Read" flag.
I am still getting forums/games marked as unread when I add a post. I also seem to be getting random games/forums with the same issue that no one seems to have updated. When I follow the links from the top level the threads are either marked as read or those that are marked as unread, when clicked to take me to the "latest" unread will take me to posts I have already read. When I use the "Mark as Read" to clear this it reappears later and continues to take me to old posts that have been read when the read flag gets removed later on.
Jun 16, 2025 4:37 pm
I got home late last night, and started working on this problem again today. I hope to have code on staging soon, and would appreciate help checking once it is up. I'm still trying to understand where the logic is falling apart.
Jun 16, 2025 4:44 pm
It looks like threads appear to be tracked
Forums and games are not being updated or propagating flags and changes to flags properly
Last edited June 16, 2025 4:44 pm
Jun 17, 2025 4:27 am
Keleth says:
I... I'm still trying to understand where the logic is falling apart.
Can you recreate it?

This only happens to me on prod, not on staging (at present).

• Anyone making a post in a game causes that game to be marked as unread.
https://i.imgur.com/KhNyBnJ.png
In the above screenshot you can see that I am the past person to post in this game, but it shows as unread, it was marked as read before this.

• Even just reading an old post in a game's subforum was marking that subforum as unread. (I can not recreate this now, and the Roleplay Archive subforum I was seeing this on is now showing as 'read', even though I have not touched it again.)

• The Mark as Read button is very slow on prod, it is fast on staging.
Jun 17, 2025 4:39 am
vagueGM says:
... This only happens to me on prod, not on staging (at present).

• Even just reading an old post in a game's subforum was marking that subforum as unread. (I can not recreate this now, and the Roleplay Archive subforum I was seeing this on is now showing as 'read', even though I have not touched it again.)

I did just get this to happen on staging.

Opening a link to a post in the middle of a thread marks the subforum as unread. Opening the thread from the head or tail does not seem to do that, nor does opening a specific page. But this is not definitive, as it does not happen every time, just twice since my post above, once on staging, once on staging. The thread in question also appears marked as unread after opening to a post in the middle.

On prod all my games (even retired ones) appear unread, on staging only the one I fiddled with appears that way. Earlier, I think staging was showing all as unread, but I can not promise that.
Jun 17, 2025 10:36 am
There is new logic on staging that I hope should resolve all the issues. This does not yet address the Mark as Read being slow. I'll be looking into that next. I suspect that's more easily resolved by proper indexing. Regardless, I'd appreciate people looking at behavior on staging and telling me if it looks resolved.
Jun 17, 2025 10:49 am
I have not been able to replicate the problem on staging since this fix. But then it was a sometimes hard to get to happen. Will try again in a while and others can test too.
Jun 17, 2025 1:50 pm
It seems to be fixed on my end but no idea if it is fixed for everyone. For me it was only if I went to forums and didn't go any deeper, now it is marking all forums read as before
Jun 17, 2025 2:25 pm
Does not seem to be working on my end; all Forums still show as having new messages, even after I enter and "clear" it.
Last edited June 17, 2025 2:25 pm
Jun 17, 2025 2:25 pm
Just checked out staging. I visited Test (the top thread on the front page), then returned to the front page and I see something strange. It is still marked as unread in the Game Tavern section, but it is marked as read in the Community posts section 🤔

https://i.imgur.com/0bv5hb9.jpeg
Jun 17, 2025 2:28 pm
Chalrytharendir says:
... It is still marked as unread in the Game Tavern section, but it is marked as read in the Community posts section ...
I am see the same for that (Test) game.
Jun 17, 2025 2:31 pm
vagueGM says:
Chalrytharendir says:
... It is still marked as unread in the Game Tavern section, but it is marked as read in the Community posts section ...
I am see the same for that (Test) game.
Except now it is showing as read in both places. All I did was visit the other unread game in the Games Tavern (mothership) and the (Test) game became 'read'.
Jun 17, 2025 2:33 pm
vagueGM says:
vagueGM says:
Chalrytharendir says:
... It is still marked as unread in the Game Tavern section, but it is marked as read in the Community posts section ...
I am see the same for that (Test) game.
Except now it is showing as read in both places. All I did was visit the other unread game in the Games Tavern (mothership) and the (Test) game became 'read'.
And, by 'game' I mean 'thread'.
load next

You do not have permission to post in this thread.