The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
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! |
#2
|
||||
|
||||
You can add a notification from just one single plugin. Look at the hook notifications_list.
|
#3
|
||||
|
||||
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. |
#4
|
||||
|
||||
Here is an example:
PHP Code:
|
#5
|
||||
|
||||
Worked a charm, thanks a bunch :up:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|