![]() |
|
Article Options |
Using VBulletin 3.7.x notifications engine
by
![]() 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:
![]() Last edited by Princeton; 30 May 2008 at 14:23.. Reason: fixed error in code |
||||
Views: 3404
|
Comments |
#2
|
||||
|
||||
There was an error in your PHP Code (2nd from last line of array):
No members have liked this post.
|
#3
|
||||
|
||||
thank you!
you should have released this 2 weeks ago - would have come in handy ![]()
__________________
Former vBulletin.org Staff Member Latest Articles: Liquid Layout = Less Ad Revenue? How to Monetize Your Site Improve Web Page Performance How To Write For The Web If it needs instructions, there's room for improvement. Give users what they actually want, not what they say they want. And whatever you do, don't give them new features just because your competitors have them! No members have liked this post.
|
#4
|
||||
|
||||
Thanks for fixing my error.
![]() No members have liked this post.
|
#5
|
||||
|
||||
Thanks Fract, I guessed right (see here). Want to change the way vbms email notifies me but still haven't decided what to do for a access menu.
EDIT: It works! Not knowing how to write an xml plugin (yet) I simply edited the "global.php" adding what you see below . . . wrong, I used the plugin manager and imported exact same code as a product ( hehe ![]() I left the navbar template alone and the very last line "$vbms_newmessages['newcount'] = 0" stops the original "Email" count display.
Works perfect! If I "read" then "mark as unread" the notification indeed comes back. 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 No members have liked this post.
Last edited by silly rabbit; 21 Jun 2008 at 05:02. |
#6
|
||||
|
||||
\WINDOWS\Media\chimes.wav
![]() No members have liked this post.
|
![]() |
«
Previous Article
|
Next Article
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Article Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 23:29.