In Reply to: RE: Mark as Read not working? posted by The Killer Piglet on February 26, 2025 at 07:19:36:
Ok, I had to look up what it's doing. Basically, the JS calls markread.mpl which is a perl script that gets an array of the root topics children and writes the message numbers read for the forum.
Using the Threads view, the bullet will change as red using CSS, a class aa-d versus li class="new" for a blue bullet. Again, it won't change until you RELOAD the page. That does work on my PC.
Everything should persist. However, right now, only the bullet color changes. It's easy enough to change the text color for the link as well which would be better, but it only would work when it is re-processed with a new load for the page.
I don't know exactly how to it on the fly with JS. Perhaps a JS flag with the root topic number could do that. Any ideas?
-Rod
This post is made possible by the generous support of people like you and our sponsors:
Follow Ups
- RE: Mark as Read not working? - Rod M 10:12:46 02/26/25 (9)
- RE: Mark as Read not working? - The Killer Piglet 13:06:47 02/26/25 (8)
- RE: Mark as Read not working? - Rod M 19:28:18 02/26/25 (6)
- RE: Mark as Read not working? - The Killer Piglet 19:50:14 02/26/25 (5)
- OK, these seems happier - The Killer Piglet 10:17:01 02/27/25 (4)
- RE: OK, these seems happier - Rod M 12:55:25 02/27/25 (3)
- to clarify, pasting the code into console won't do anything directly. - The Killer Piglet 06:10:26 02/28/25 (0)
- I see the old function is till aa.js - The Killer Piglet 13:48:41 02/27/25 (0)
- RE: OK, these seems happier - The Killer Piglet 13:39:37 02/27/25 (0)
- you may want to get rid of the 'must me logged in' check - The Killer Piglet 13:09:05 02/26/25 (0)