BP Direct Menus – Adding notifications
My goal is to attempt to remove the admin bar completely but not to lose the functionality it provides, I’ve been using a plugin called BP Direct Menus to add a count at the end of the menu item. For example where my menu item is ‘Messages’ I add %(unreadmessagecount)% in the menu title and the plugin converts that to ‘Messages (1)’ when it has a new message.
This plugin doesn’t have any feature for notifications and I’ve tried a brief fiddle with the files but I have been unable to get a notification count due to my lack of skill and knowledge in this area. (unfortunately the dev doesn’t seem to be around anymore)
The GitHub for this project is https://github.com/mrwulf/bp-direct-menu/blob/master/bp-direct-menu/inc/frontend-noajax.inc.php
In my attempts I have only managed to print ‘Notifications (ARRAY)’ so I am definitely going wrong somewhere.
Does anyone have any insight (with regards to this plugin) on how to get the notification count for BuddyPress?
- The topic ‘BP Direct Menus – Adding notifications’ is closed to new replies.