You can sign up to get a daily email of our articles, see the Mailing List page!
Support us on Patreon to keep GamingOnLinux alive. This ensures we have no timed articles and no paywalls. Just good, fresh content! Alternatively, you can support us on Paypal and Liberapay!
Mark notifications as read after manually visiting a topic
Guppy commented on 9 June 2017 at 10:50 am UTC

As per topic it would be nice if notifications to a topic were marked 'read' even if you didn't click the specific link. ( there are usually multiple notifications per topic - likes, replies, quotes, etc )

liamdawe commented on 17 July 2017 at 11:41 am UTC

It would be nice to have a system like that sure, but right now I'm unsure how to really do it.

There would need to be something in place that would know exactly where you are on a page and what you've looked at. Quite hard to do.

tuubi commented on 17 July 2017 at 6:27 pm UTC

Could you do some trickery to clear the notification when you click it, before redirecting? You don't even need anything fancy if you whip up a "redirector" php script that takes the link target and notif id as arguments. This doesn't need to be quite as complicated as you imply.

In any case, the feature would be nice to have.

liamdawe commented on 17 July 2017 at 10:17 pm UTC

tuubiCould you do some trickery to clear the notification when you click it, before redirecting? You don't even need anything fancy if you whip up a "redirector" php script that takes the link target and notif id as arguments. This doesn't need to be quite as complicated as you imply.

In any case, the feature would be nice to have.
I literally have no clue what you're saying. Why would we clear a notification, before they click it? They click it, it wipes it as it sends them to it.

This is a topic about wiping it if you visit a topic you have a notification for. The problem is: Okay, they're at the topic/article, but have they actually seen the specific post the notification is for?

tuubi commented on 18 July 2017 at 8:51 am UTC

liamdaweI literally have no clue what you're saying.
Me neither. Sorry about the brainfart. Of course you already mark the notifications as read when we click them.

The simplest way I can think of to do what he's actually asking you to do would be to store a reference to the article/forum topic/private message when a notification is set (unless you already do, didn't check), and then mark as read all referring notifications every time the user loads the article or whatever. But that would be a bit wasteful due to all the extra database queries. And it could get really confusing for the user I guess

liamdawe commented on 18 July 2017 at 9:00 am UTC

tuubi
liamdaweI literally have no clue what you're saying.
Me neither. Sorry about the brainfart. Of course you already mark the notifications as read when we click them.

The simplest way I can think of to do what he's actually asking you to do would be to store a reference to the article/forum topic/private message when a notification is set (unless you already do, didn't check), and then mark as read all referring notifications every time the user loads the article or whatever. But that would be a bit wasteful due to all the extra database queries. And it could get really confusing for the user I guess
Yeah that's a double-edged sword. Sure it wipes it, but we again have no idea if they've even seen what the notifications are for.

Guppy commented on 20 July 2017 at 6:35 am UTC

(away on vacation, hence the long reply time)
I was thinking simple mark notifications as "read" of the topic has been read since the notification was created.

This of course assumes that you keep track of "last read" per thread per user (most forum solutions do)

Due to spam you need to Register and Login to comment.


Or login with...

Livestreams & Videos
Community Livestreams
  • RPGoodness: "Dragon Age Origins" (via Wine)
  • Date:
See more!
Popular this week
View by Category
Contact
Latest Forum Posts
Facebook