You need to log in to create posts and topics.

Improve mentioning

Hello 🙂

Possible to add an css class when the users logged in is mentioned (and users no read the mentioning ) ?

On forum and topic where the user was mentioned

it will be able to add a notification icon as on discord with :after in css for exemple

Hello @kwiz

Basically it would be possible, but it leads to a couple of problems:

  • Should an indicator only be set if the user got mentioned in the last post or in general inside of the topic?
  • What happens if the user visits the topic where he got mentioned? If the marker should get removed, it would be necessary to track those states inside the database as well - which could clash with the read/unread logic.
If you want to support the development of Asgaros Forum, you can leave a good review or donate. Thank you very much!
  • Should an indicator only be set if the user got mentioned in the last post or in general inside of the topic?

In general inside of the topic, it works in the same way as read / unread.

exemple if i was mentioned in a topic an icon with number of mention appear in forum.

After in list topic

 

And when i was read the topic with my mention the icon is hide

 

 

  • What happens if the user visits the topic where he got mentioned? If the marker should get removed, it would be necessary to track those states inside the database as well - which could clash with the read/unread logic.

the marker removed yes.

but the logic is more or less the same as for the topics read / unread

we can cumulate both, if we have an unread mention, the topic should also be unread

@kwiz

I see, that makes sense. I will evaluate if I can add this in a future release but I have to do some internal changes before. Additionally I need to ensure that it has no impact on the performance because there is the requirement to parse or check all unread posts in the topic-overview for the current username which can be a lot of internal work (especially for new users with alot of unread posts).

If you want to support the development of Asgaros Forum, you can leave a good review or donate. Thank you very much!