I'm a huge fan of this add-on, but what would I need to do to show the counter for new Media items as well.
Is it possible to show the unread count now on the Whats New tab but next to the "New Posts" link? Users want to see the New Posts, not new profile posts and whatnot, so the New Posts is more useful. Thanks
Also, the post count shows on Mobile but not on desktop. How can I get it show on desktop? Thanks
Ah, the issue was that it didn't default to anything:Yes, it is possible. The add-on uses Navigation Badge add-on's functionality to add the badge. Please check Public Navigation -> What's new page and see the configuration needed under "Badge Type". Use the same configuration for New posts menu entry and the count will be shown on it.
The What's New was still at No Badge and callback was empty. I had to manually copy those over and it solved the issue.Any other navigation tab can show the number of unread posts by configuring it to use a callback for the badge with class name "AL\UnreadPostCount\Callback" and method "getUnreadPostCount". This is the default setup for "What's New" button after add-on installation.
Thanks for the clarification. When I click "No Badge" on What's New but want the badge just on "New Posts" (a child of Whats New), it disables the badge from New Posts. Is there a fix for this so I can display the post count only on New Posts and not Whats New? I want to encourage users to visit the New Posts page rather than Whats New.Hello, @PJK
The callback field should have been populated automatically during installation, I am not sure why it is empty.
The algorithm of counting new posts is based no option "Read marking data lifetime" and any posts created before this interval are not counted. Other than that, it counts the posts which are posted after their thread and their forum have been last marked as read manually or automatically. Visiting What's New page itself should not mark the threads as read, so it should not reset the counter. You can see it on our demo board - https://xf2.addonslab.com/index.php?whats-new/
Thank you!
Thanks for the clarification. When I click "No Badge" on What's New but want the badge just on "New Posts" (a child of Whats New), it disables the badge from New Posts. Is there a fix for this so I can display the post count only on New Posts and not Whats New? I want to encourage users to visit the New Posts page rather than Whats New.
See my post #85 above and you need to set the Badge in the Node.Just installed this. Working on mobile, but doesn't seem to be working on desktop.
Hello.
One question before i download this:
- I really have to have this Add On (https://xenforo.com/community/resources/addonslab-navigation-badge.5839/) to make this Counter Addon work?
hi is this mod all food for 2.1.0?
Thx for this addon,works gread.
Is there an option that ignoret-content not will be counted?
We use essential cookies to make this site work, and optional cookies to enhance your experience.