AddonsLab - Unread Post Count

XF2 Basic AddonsLab - Unread Post Count 1.0.0

No permission to download
The add-on shows the number of unread posts on What's New tab
ℹ️ XF versions
  1. 2.0.x
  2. 2.1.x
  3. 2.2.x
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 xenforo.com

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.
AddonsLab - Navigation Badge
XF2 Basic  AddonsLab - Navigation Badge  1.0.0
Andrew - Banned Users List
XF2 Basic  Andrew - Banned Users List  1.2.0
  • Configuration.webp
    Configuration.webp
    33.4 KB · Views: 17
  • Dynamic Badge.webp
    Dynamic Badge.webp
    17.4 KB · Views: 15
  • Unread Post Count.webp
    Unread Post Count.webp
    27.1 KB · Views: 18
  • Like
Reactions: Dar_Boga
Author
XFTech
Downloads
0
Views
22
File Type
zip
File Size
8.1 KB
First release
Last update

Ratings

0.00 star(s) 0 ratings

More resources from XFTech

Similar content Most view View more
Back
Top