Back to vBulletin 3.6 Template Modifications

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

This modification is in the archives.
vB Version: 3.6.x Rating: (2 votes - 5.00 average) Installs: 5
Released: 29 May 2009 Last Update: Never Downloads: 0
Not Supported Re-usable Code Translations  

New PM Box below Navbar


This mod allows you to add a New PM Box. This box shows up below navbar only when a member receive a new PM
.
There is a blink effect on the text (works with firefox and IE ).

3.8 version : New Notification Box below Navbar




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:
            <td class="vbmenu_option" title="nohilite">
            <form action="$vboptions[forumhome].php" method="get" onsubmit="return this.gotopage()" id="pagenav_form">
                <input type="text" class="bginput" id="pagenav_itxt" style="font-size:11px" size="4" />
                <input type="button" class="button" id="pagenav_ibtn" value="$vbphrase[go]" />
            </form>
            </td>
        </tr>
        </table>
    </div>
<!-- / PAGENAV POPUP -->
</if>
Add below:

HTML Code:
<!-- pm notification -->
<if condition="THIS_SCRIPT != 'private' && $show['member'] && $show['pmstats'] && $vbulletin->userinfo['pmunread']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tbody>
    <tr>
        <td class="alt1" align="center">
            <div style="text-align: center">
                <blink><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]"><font color="red">$vbphrase[private_messages_nav]</font></phrase></blink>
            </div>
        </td>
    </tr>
</tbody>
</table>
<br />
</if>
<!-- / pm notification -->
Enjoy

Download

No files for download.

Screenshots

Click image for larger version
Name:	1.png
Views:	67
Size:	18.6 KB
ID:	99754  

Similar Mods

End-User Options Navbar Forumjump- Adds a DHTML "Forum Jump" menu to your Navbar vBulletin 3.6 Add-ons

vblts.ru supports vBulletin®, 2022-2024