Back to vBulletin 3.8 Template Modifications

New Notification Box below Navbar
Mod Version: 1.00, by Sofia

vB Version: 3.8.x Rating: (9 votes - 4.78 average) Installs: 137
Released: 28 May 2009 Last Update: Never Downloads: 12
Not Supported Re-usable Code Translations  

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.



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>
Add below:

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 -->

Download

No files for download.

Screenshots

Click image for larger version
Name:	1.png
Views:	1861
Size:	42.8 KB
ID:	99695  

Similar Mods

Private Messages Enhancements SocialSpace New Notification Navbar Colour Changer vBulletin 3.8 Add-ons
Hivemail Email Notification in vbulletin NavBar vBulletin 3.0 Template Modifications

vblts.ru supports vBulletin®, 2022-2024