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 |
#122
|
||||
|
||||
Open your includes/config.php and search for this section of code:
Code:
// ****** USERS WITH QUERY RUNNING PERMISSIONS ****** // The users specified here will be allowed to run queries from the control panel. // See the above entries for more information on the format. // Please note that the ability to run queries is quite powerful. You may wish // to remove all user IDs from this list for security reasons. $config['SpecialUsers']['canrunqueries'] = ''; Code:
$config['SpecialUsers']['canrunqueries'] = 'YOUR USERID HERE'; |
Благодарность от: | ||
EquinoxWorld |
#123
|
|||
|
|||
Very nice works like a charm.
My members love it too. |
#124
|
|||
|
|||
anyone has this working for vb4.1.4? Looks awesome!
|
#125
|
|||
|
|||
Great mod, marked installed and rated 5 stars.
How would I go about having the box disappear once it's been clicked on? |
#126
|
|||
|
|||
i just installed on 4.1.4 It's great!! much appreciated.
|
#127
|
|||
|
|||
Yeah it's good ain't it.
There's quite a few mods by tw7 that I really appreciate. |
#128
|
|||
|
|||
Is there ANY way to make it so it does not fade away completely if the user has NOT checked the messages? It seems to big to keep it on top of everything until the user checks the messages and for it to totally disappear is bad too because you would have to refresh the page to remember if you had notifications or not. If this could "hide" a bit (after certain amount of seconds) and when the user hovers it breaks out again to total size this would be so much more awesome. Please if someone knows how to do this please share!
|
#129
|
|||
|
|||
Quote:
|
#130
|
|||
|
|||
When I open the header file I cannot find the code you said to find. Not there at all. I am clueless.
This is what I find: PHP Code:
|
#131
|
|||
|
|||
Thanks Installed and working perfectly..................
Great Work Bro......... |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|