• We've added extra Spam Protection. if you get problem with account registration / registration rejected. please contact us
Alvin

Free [AddonsLab] Unread Post Count 1.4.2

No permission to download
  • Author Alvin
  • Creation date
  • You can download 5 resources within 24 hours
Compatible XF Versions 2.x
2.0, 2.1
Additional Requirements
https://dloady.com/resources/addonslab-navigation-badge.760/
Visible branding
No
The add-on shows the number of unread posts on What's New tab. This is the migration of XenForo 1.x add-on "Unread Post Count" by @Chris D and includes all its features. The option to configure the cache timeout is in "Threads, discussions and conversations" options group, as before.

As XenForo 2.x has introduced a new Navigation engine, we have created another add-on - "[AddonsLab] Navigation Badge", that allows any third-parties and admins to add different badges to any navigation item. The add-on is required for this add-on to work and can be downloaded for free at [AddonsLab] Navigation Badge

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.

The badge is added using default XenForo 2.x layout/styling, but it can be easily styled for each case using CSS only by using "nav{navigationItemIdHere}" class. For example:

CSS:
.customBadgeContainer.navwhatsNew:after {
top: -10px;
}
will make the badge in What's New tab to be on the top-right corner.

The product is free and does not include any licensing code or any callbacks.
Author
Alvin
Downloads
22
Views
338
First release
Last update
Rating
5.00 star(s) 1 ratings

More resources from Alvin

Latest updates

  1. Performance optimization

    The release changes the way unread post count is loaded from the database, delaying the query...
  2. Performance optimization

    The release fixes an issue causing many SQL queries when the number of unread posts is rebuilt...
Top
AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock