Using VBulletin 3.7.x notifications engine
Everyone saw a nice drop-down list with all notifications you have at the top-right corner of every page. Let's look, how to add our own notifications to this list. It is very easy!
1. Create a GLOBAL phrase, that will be displayed as a text for your notification. Let's consider it's name to be MyNotificationName. 2. Create plugin for hook notifications_list with the following code: PHP Code:
|
There was an error in your PHP Code (2nd from last line of array):
PHP Code:
|
thank you!
you should have released this 2 weeks ago - would have come in handy :) |
Thanks for fixing my error.
Quote:
|
Quote:
EDIT: It works! Not knowing how to write an xml plugin (yet) [S]I simply edited the "global.php" adding what you see below[/S] . . . wrong, I used the plugin manager and imported exact same code as a product ( hehe :confused: first time!) I left the navbar template alone and the very last line "$vbms_newmessages['newcount'] = 0" stops the original "Email" count display. PHP Code:
Will do an xml plugin next, what else can we hide, use this for? Oh, also, the sound notification hack "you got mail" makes me jump, can anybody point me toward a simple ding/dong chime.wav? "Your inbox has VBMS email waiting. 1" Cheers & thanks again, Rabbit |
\WINDOWS\Media\chimes.wav :)
|
All times are GMT. The time now is 10:23 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|