Please or Register to create posts and topics.

Mark all read button

@Asgaros, would you consider adding a “Mark All Read” button to the menu bar when in “Activity” mode?  It would save the user from backing all the way out to the “Forum” level and then scrolling to the bottom to access the current button.

I my never ending quest to get a “New Posts” function… Could it be arranged so that when a user goes to “Activity” mode, only the topics that are blue [unread] are displayed?  That would take care of the “user starting a session and then gong away only to return an hour later” issue that you posited earlier.

We all appreciate the work you’ve done so far and if Asgaros wasn’t so good already we wouldn’t be asking for more. ;^)  Success breeds demand.

Hello @gespanne

Adding an additional “Mark all read” button to the activity feed is a good idea. I will try to add it with the next update.

I brainstormed a little bit about some kind of “New posts” filter for the activity feed but it seems to be more tricky than expected – especially in forums like yours which have a lot of topics/posts. The main problem are performance issues in combination with the pagination. Just to get an idea what has to be done internally:

  • Get a list of all posts
  • Order them by date
  • Ensure that you are allowed to access those posts because maybe you dont have access to the category where it belongs to
  • Ensure it is a posts which has been created since the last “Mark all read” action
  • Ensure its in a topic which you have not opened yet
  • If you have opened the topic already, ensure that the post has been created after the last topic-visit
  • And now the most complicated part: Use all of this information to only show a small part of those posts via the pagination: 1 …50, 51 … 100, etc

You see: A lot of analyzing and calculations has to be done under the hood which gives me some headache on how to make this run fast.

For comparison: The red parts are not relevant for the normal activity feed because it shows all posts anyway and only adds a simple markment when its unread.

One way to simplify this is to disable the pagination for a “New posts” filter so that all new posts/topics are shown on a single page. But this also means: First-time visitors will see a giant list of posts for big communitys which will produce a lot of traffic and heavy server-load as well when we talk about thousands topics and more.

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

T.

You are aware of our special situation. Our forum has been unavailable for a month.  Is it possible to mark all posts for all users as read? This would cut down on a huge amount of traffic in our case because it would keep returning users from calling up 78k posts as “unread” in activity.

A.

@gespanne

The current unread-situation does not have any impact on your sites traffic at the moment. The described traffic/performancy issues will only happen if I would implement such a “New posts” filter. In this case marking all topics as read would not help because this issue will still occur for new users, bots, guests, etc because the system basically has to iterate over all posts.

But yes, I have updated the date for all of your existing users so they get rid of the initial blue marking.

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

Thanks for the “all read” tweak.  It will make things easier for my users.  we have gone fully on line with the forum as of about 6 hours ago.  Fingers crossed.  Our environment is now Pie Registration in front of Asgaros running Divi theme.  I hope it all works.  Thank you so much for your guidance and for coding a great plugin.

Hello @gespanne

I am happy to hear that everything is working fine so far. If you encounter any problems feel free to come back at me.

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

Hello again @gespanne

I just began my work on the “Unread Topics” view. This will be an additional view which shows all topics which are new or contain new posts you havent read yet. So I will go the way in grouping all those new posts into topics. A click on them will bring you to the first unread post.

You can follow progress on this in the following GitHub ticket:

https://github.com/Asgaros/asgaros-forum/issues/182

This new feature will be definitely included in the upcoming big v1.11 update which I plan to release at the end of November (because my time is limited at the moment due to my current stay in Asia).

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

Thomas,

I hope your time in Asia is pleasant and productive.

Thanks for the work on the “unread posts” feature.  While we are asking for things [does it ever end?], is there a way to limit the scope of results under the activity button.  In our case we have about 15 years of activity.  Being able to see all of that is interesting but may be adding an unnecessary processing load.  Maybe a parameter in the “Activity” function to define a time period, last 24 hours, last week, last month, etc, with a default of activity within a period chosen by the admin.  While we’re at it, a defined activity look up by time period, like activity between two dates?

We continue to enjoy Asgaros.  Thanks for your efforts!

I have recently implemented Asgaros Forum on my site and am very impressed with the look and feel.  For some reason, I do not have the “Mark All as Read” button on any of my threads or forums.  Can you help me?  I cannot find where the setting is (to show or not show the button) if there is one.