The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
TW7S - New Way To Display Notifications (jQuery,CSS,jGrowl) Details »» | |||||||||||||||||||||||||||||
TW7S - New Way To Display Notifications (jQuery,CSS,jGrowl)
Developer Last Online: Apr 2015
Description: This mod changes the way notifications are displayed. It disables the default dropdown menu listed in the toplinks in the header and uses a free open script called jGrowl to display them on the bottom left of the screen no matter where you are on a page. Helps with people "not noticing" the notifications. Enjoy. TheWindows7Site Instructions: 1) Upload files in attachment to forum root 2) Open template headinclude Paste the following code at the bottom Code:
<!-- TW7S - New Way To Display Notifications (jQuery,CSS,jGrowl) --> <script type="text/javascript" src="jscripts/tw7s_notifications/jquery-1.4.2.js"></script> <script type="text/javascript" src="jscripts/tw7s_notifications/jquery.jgrowl.js"></script> <link href="jscripts/tw7s_notifications/jquery.jgrowl.css" rel="stylesheet" type="text/css"/> <!-- TW7S - New Way To Display Notifications (jQuery,CSS,jGrowl) --> Find the following: Code:
<vb:if condition="$notifications_total"> <li class="popupmenu notifications" id="notifications"> <a class="popupctrl" href="usercp.php{vb:raw session.sessionurl_q}">{vb:rawphrase your_notifications}: <span class="notifications-number"><strong>{vb:raw notifications_total}</strong></span></a> <ul class="popupbody popuphover"> {vb:raw notifications_menubits} </ul> </li> <vb:else /> <li class="popupmenu nonotifications" id="nonotifications"> <a class="popupctrl" href="usercp.php{vb:raw session.sessionurl_q}">{vb:rawphrase your_notifications}</a> <ul class="popupbody popuphover"> <li>{vb:rawphrase no_new_messages}</li> <li><a href="private.php{vb:raw session.sessionurl_q}">{vb:rawphrase inbox}</a></li> </ul> </li> </vb:if> Code:
<!-- TW7S - New Way To Display Notifications (jQuery,CSS,jGrowl) --> <vb:if condition="$notifications_total"> <script type="text/javascript"> $.jGrowl('{vb:raw notifications_menubits} <br />You must view your notification(s) before this box will disappear.' , { sticky: true, header : 'New Notification(s)' } ); </script> </vb:if> <li><a href="private.php{vb:raw session.sessionurl_q}">{vb:rawphrase inbox}</a></li> <!-- TW7S - New Way To Display Notifications (jQuery,CSS,jGrowl) --> Done! Have fun customizing this to fit your needs. Arabic Translation by Dr.osamA Spanish Translation by Destron Download Now
Show Your Support
|
Comments |
#182
|
|||
|
|||
works ok on 4.2 p3
question, how we can customize colors for this notification window? font color and background? |
#183
|
|||
|
|||
Did you have to do anything special?
|
#184
|
|||
|
|||
no, I just did exactly as was in instruction.
|
#185
|
|||
|
|||
I did the instruction but nothing happened. vb 4.2 PL3
|
#186
|
|||
|
|||
Works great with 4.2.1. Thank you.
German Translation: Code:
<!-- TW7S - New Way To Display Notifications (jQuery,CSS,jGrowl) --> <vb:if condition="$notifications_total"> <script type="text/javascript"> $.jGrowl('{vb:raw notifications_menubits} <br />Diese Meldung wird automatisch ausgeblendet, wenn keine neuen Benachrichtigungen vorhanden sind.' , { sticky: true, header : 'Neue Benachrichtigung(en)' } ); </script> </vb:if> <li><a href="private.php{vb:raw session.sessionurl_q}">{vb:rawphrase inbox}</a></li> <!-- TW7S - New Way To Display Notifications (jQuery,CSS,jGrowl) --> |
#187
|
|||
|
|||
Looks supercool with 4.2.1. Thanks a lot!
|
#188
|
||||
|
||||
Really nice installed and works great on 4.2.1..
Having a bit of problem with a text colour, inherent from a stylevar, is there another why to fix this? it's the blue colour, I would like all to be white. |
#189
|
||||
|
||||
Really like this Mod, but it's not playing right with this Mod: SCANU's Elegant Forum description on mouseover [as Xenforo] Would anyone know how I could fix it?
Should look like this: |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|