[AddonsLab] Unread Post Count

xF2 Add-on [AddonsLab] Unread Post Count 1.6.0

No permission to download
Compatible XF Versions
  1. 2.0
  2. 2.1
  3. 2.2
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 - "NulledTeam - [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 https://www.null-scripts.net/resources/addonslab-navigation-badge.3774/

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:
Code:
.customBadgeContainer.navwhatsNew:after {
top: -10px;
}
will make the badge in What's New tab to be on the top-right corner.
Author
Admin
Size
39.6 KB
Extension
zip
Downloads
48
Views
2,096
First release
Last update

More resources from Admin

Latest updates

  1. Performance fix

    The package optimizes the query for fetching unread posts as recommended by @XFA As we already...
  2. Rebuild expired cache on fly

    This release resolves an issue with the expired cache not being rebuilt on the fly. Now the...
  3. Node permission support

    The release implements support for node permissions View threads by others and View thread...

Similar resources

[AddonsLab] Conversation Permissions Admin
Allows admins to put minimum number of posts required to start a conversation or reply in one
Allows adding a static or dynamically generated badge next to any public navigation entry.
[AddonsLab] Post Limit Per Node Admin
Limit number of posts/threads per usergroup
731Threads
2,286Messages
63,724Members
fernandonunesLatest member
Back