[AddonsLab] Navigation Badge

[AddonsLab] Navigation Badge 1.0.0

No permission to download
Hello everyone,

We have confirmed that the add-on works fine on XenForo 2.1 version.

Just let us know if there are any issues and we will check them asap.

Thank you!
 
Thanks for this add-on!

I''m not sure how to do the callbacks. Is there a list or example with logic we can follow?

One thing I want to do is:

Main nav
Media Gallery tab: (New media and comments combined)
Sub-nav
New Media menu link: (New media count)
New Comments menu link: (New comment count)

Also:
What's New? tab (Count of what widgets we have in there combined)

Would you be able to offer any assistance? Right now the most important is Media tab overall as I am trying to improve engagement there. Thanks!
 
Any instructions? Not sure what to put in the fields Callback: Class/Method

Would be happy with a new media count in the Gallery tab for now.
And a What's New count.
 
Last edited:
I've been receiving these errors...are they from your two add-ons?

Code:
An exception occurred: [XF\Db\Exception] MySQL fetch error [2014]: Commands out of sync; you can't run this command now in src/XF/Db/AbstractStatement.php on line 228

XF\Db\AbstractStatement->getException() in src/XF/Db/Mysqli/Statement.php at line 196
XF\Db\Mysqli\Statement->getException() in src/XF/Db/Mysqli/Statement.php at line 134
XF\Db\Mysqli\Statement->fetchRowValues() in src/XF/Db/AbstractStatement.php at line 63
XF\Db\AbstractStatement->fetch() in src/XF/Db/AbstractStatement.php at line 113
XF\Db\AbstractStatement->fetchAll() in src/XF/Db/AbstractAdapter.php at line 155
XF\Db\AbstractAdapter->fetchAll() in src/addons/AL/UnreadPostCount/Service/CounterService.php at line 99
AL\UnreadPostCount\Service\CounterService->fetchUnreadPostCountForUserInForums() in src/addons/AL/UnreadPostCount/Service/CounterService.php at line 57
AL\UnreadPostCount\Service\CounterService->fetchUnreadPostCountForUser() in src/addons/AL/UnreadPostCount/Service/CounterService.php at line 35
AL\UnreadPostCount\Service\CounterService->rebuildFromDatabase() in src/addons/AL/UnreadPostCount/Service/CounterService.php at line 27
AL\UnreadPostCount\Service\CounterService->getCachedCount() in src/addons/AL/UnreadPostCount/Callback.php at line 20
AL\UnreadPostCount\Callback::getUnreadPostCount()
call_user_func() in src/addons/AL/NavigationBadge/Listener/NavigationSetup.php at line 49
AL\NavigationBadge\Listener\NavigationSetup::listen()
call_user_func_array() in src/XF/Extension.php at line 67
XF\Extension->fire() in src/XF/App.php at line 2654
XF\App->fire() in src/XF/Pub/App.php at line 572
XF\Pub\App->getNavigation() in src/XF/Pub/App.php at line 513
XF\Pub\App->renderPageHtml() in src/XF/App.php at line 1995
XF\App->renderPage() in src/XF/Mvc/Dispatcher.php at line 402
XF\Mvc\Dispatcher->render() in src/XF/Mvc/Dispatcher.php at line 58
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2184
XF\App->run() in src/XF.php at line 391
XF::runApp() in index.php at line 20
 
I've been receiving these errors...are they from your two add-ons?

Code:
An exception occurred: [XF\Db\Exception] MySQL fetch error [2014]: Commands out of sync; you can't run this command now in src/XF/Db/AbstractStatement.php on line 228

XF\Db\AbstractStatement->getException() in src/XF/Db/Mysqli/Statement.php at line 196
XF\Db\Mysqli\Statement->getException() in src/XF/Db/Mysqli/Statement.php at line 134
XF\Db\Mysqli\Statement->fetchRowValues() in src/XF/Db/AbstractStatement.php at line 63
XF\Db\AbstractStatement->fetch() in src/XF/Db/AbstractStatement.php at line 113
XF\Db\AbstractStatement->fetchAll() in src/XF/Db/AbstractAdapter.php at line 155
XF\Db\AbstractAdapter->fetchAll() in src/addons/AL/UnreadPostCount/Service/CounterService.php at line 99
AL\UnreadPostCount\Service\CounterService->fetchUnreadPostCountForUserInForums() in src/addons/AL/UnreadPostCount/Service/CounterService.php at line 57
AL\UnreadPostCount\Service\CounterService->fetchUnreadPostCountForUser() in src/addons/AL/UnreadPostCount/Service/CounterService.php at line 35
AL\UnreadPostCount\Service\CounterService->rebuildFromDatabase() in src/addons/AL/UnreadPostCount/Service/CounterService.php at line 27
AL\UnreadPostCount\Service\CounterService->getCachedCount() in src/addons/AL/UnreadPostCount/Callback.php at line 20
AL\UnreadPostCount\Callback::getUnreadPostCount()
call_user_func() in src/addons/AL/NavigationBadge/Listener/NavigationSetup.php at line 49
AL\NavigationBadge\Listener\NavigationSetup::listen()
call_user_func_array() in src/XF/Extension.php at line 67
XF\Extension->fire() in src/XF/App.php at line 2654
XF\App->fire() in src/XF/Pub/App.php at line 572
XF\Pub\App->getNavigation() in src/XF/Pub/App.php at line 513
XF\Pub\App->renderPageHtml() in src/XF/App.php at line 1995
XF\App->renderPage() in src/XF/Mvc/Dispatcher.php at line 402
XF\Mvc\Dispatcher->render() in src/XF/Mvc/Dispatcher.php at line 58
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2184
XF\App->run() in src/XF.php at line 391
XF::runApp() in index.php at line 20

We will reply now in Unread Post Count add-on, as the error is from that add-on and is not directly related to the navigation badge add-on.
 
Top Bottom