The Arcive of vBulletin Modifications Site. |
|
New Notification Box below Navbar Details »»
|
|||||||||||||||||||||||||||
New Notification Box below Navbar This mod allows you to add a Notification Box. This box shows up below navbar only when a member receive a notification (private message, visitor message, friends, social groups, etc...). There is a blink effect on the text. https://vborg.vbsupport.ru/vborg_mis...hreadid=214703 ![]() Installation In your template headinclude Add at the bottom: HTML Code:
<!-- notifications blink --> <script type="text/javascript"> <!-- if ( document.all ) { function blink_show() { blink_tags = document.all.tags('blink'); blink_count = blink_tags.length; for ( i = 0; i < blink_count; i++ ) { blink_tags[i].style.visibility = 'visible'; } window.setTimeout( 'blink_hide()', 700 ); } function blink_hide() { blink_tags = document.all.tags('blink'); blink_count = blink_tags.length; for ( i = 0; i < blink_count; i++ ) { blink_tags[i].style.visibility = 'hidden'; } window.setTimeout( 'blink_show()', 250 ); } window.onload = blink_show; } --> </script> <!-- / notifications blink --> In your template Navbar, Find (at the end of this template) : HTML Code:
<if condition="$show['member'] AND $notifications_total"> <!-- notifications menu --> <div class="vbmenu_popup" id="notifications_menu" style="display:none"> <table cellpadding="4" cellspacing="1" border="0"> <tr><td class="thead" colspan="2">$vbphrase[your_notifications]</td></tr> $notifications_menubits </table> </div> <!-- / notifications menu --> </if> HTML Code:
<!-- notifications box --> <if condition="$show['member'] AND $notifications_total"> <!-- notifications menu --> <div class="vbmenu_popup" id="notifbox_menu" style="display:none"> <table cellpadding="4" cellspacing="1" border="0"> <tr><td class="thead" colspan="2">$vbphrase[your_notifications]</td></tr> $notifications_menubits </table> </div> <!-- / notifications box --> </if> <!-- notification box --> <if condition="$show['notifications']"> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <if condition="$show['member']"> <td class="alt2" align="center" nowrap="nowrap"> <div class="smallfont"> <if condition="$show['notifications']"> <div><span id="notifbox"><blink><a href="usercp.php$session[sessionurl_q]">$vbphrase[your_notifications]:</a> <font color="red"><strong>$notifications_total</strong></font></blink></span></div> <if condition="$show['popups']"> <script type="text/javascript"> vBmenu.register("notifbox"); </script> </if> </if> </div> </td> </if> </tr> </table> <br /> </if> <!-- / notification box --> Screenshots
Show Your Support
|
|||||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
First
![]() Installed, rated, nominated Thanks |
|
#3
|
|||
|
|||
|
Thanks!
|
|
#4
|
|||
|
|||
|
Keep in mind that Blink effects are being supported only for Firefox Browsers...
HTML Code:
<div style="text-decoration: blink; ... >
Most Browsers does not support this so you have have to extend this with a simple JS
|
|
#5
|
|||
|
|||
|
Quote:
|
|
#6
|
|||
|
|||
|
so it does work with IE now?
|
|
#7
|
|||
|
|||
|
|
|
#8
|
|||
|
|||
|
thanks Sofia, as always!
|
|
#9
|
||||
|
||||
|
Oh nice I was looking for something like this, thank you!!
|
|
#10
|
|||
|
|||
|
AWESOME!!!! My custom skin designer did not include the notifications code because he moved the pm's thing into header and removed the navbar that shows your username and pm count etc.
Now ppl will know when they have a visitor msg again xD thanks |
![]() |
|
|