![]() |
Adding notification to notifications popup
Edit: I found the </table> tag which should do it, it's after $notifications_menubits in the navbar template.
I want to add a notification to the notifications pop-up menu. Trouble is I can't append it to to navbar_notifications_menubit because then it will repeat after ever menu item. Can anyone help me figure out a way to either:
I've been looking at global.php trynna figure it out but I'm a bit lost, lol. I can write plug-ins to include custom templates just fine so if someone could figure out where the closing </table> tag is kept for the navbar_notification_menubit then hopefully I could just sneak it in before there. I have a nasty feeling it'll be in the JavaScript though :erm: Any help would be much appreciated! |
You can add a notification from just one single plugin. Look at the hook notifications_list.
|
Thanks for the reply man, I spotted that bad-boy when scouting out the code, trouble is I couldn't figure out where I put the variable for the outstanding number of items in the notification - any ideas?
Thanks for your help so far. |
Here is an example:
PHP Code:
|
Worked a charm, thanks a bunch :up:
|
All times are GMT. The time now is 07:49 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|