Resource icon

Category Menu with count 1.0.1

No permission to download
Compatible With Version
All
Supported
Yes
Add member count to the category menu found in wrapper.html

Installation
1) Upload via admin plugin manager
2) In case you removed the template tag from default skin ( or your own ), the template tag in question is {$category_menu} and should be in wrapper.html

Html
This plugin contains 2 html files so you can adjust the html to match your skin.
If you wish to edit them copy them into the plugins child folder so they stay safe

Word of advise
Speed is key these days. The more members and categories you have, the slower the query will become, naturally.
For sites with members in the thousands, this isn't the best solution. So a future version will work differently to include counts directly into the category table, meaning, we update counts as members turn inactive/active.
This way we wont have to execute any database query at all, since we already have all the category data.
For this to work the core needs a change tho, so this has to wait until we release a core version fit for this type of update.
  • Like
Reactions: toplistenportal
Author
Basti
Downloads
5
Views
68
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from Basti

Latest updates

  1. Only query active members

    Previous version i also queried inactive members, resulting in wrong counts, this has been fixed.
Top