Notices Displayed Inside of the Navbar
The display of notices can be awkward and obtrusive, especially if you have something else like ads or statistics displayed above the forum listings. Conveniently, there's an awkward and large gap between the breadcrumbs and login form.
These modifications simply create another table between the breadcrumbs and login forum. The notices will no longer be displayed under the navbar but instead inside of this table. Any excessively long text will create a vertical scroll bar. Here's an example of what these template modifications will result in: Template Modifications: 1. Remove the notifications code from its current position. Find the following code in your navbar template and remove it: Code:
<if condition="$show['notices']"> <form action="profile.php?do=dismissnotice" method="post" id="notices"> <input type="hidden" name="do" value="dismissnotice" /> <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" /> <input type="hidden" id="dismiss_notice_hidden" name="dismiss_noticeid" value="" /> <input type="hidden" name="url" value="$return_link" /> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="thead">$vbphrase[notices]</td> </tr> <tr> <td class="alt1"> $notices </td> </tr> </table> <br /> </form> </if> Code:
<td class="alt1" width="100%"> Code:
<td class="alt1" width="25%"> Code:
<td class="alt2" nowrap="nowrap"> Code:
<td class="alt2" width="25%"> Code:
<div class="navbar" style="font-size:10pt"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /></a> <strong>$vboptions[bbtitle]</strong></div> </if> </td> Code:
<!-- Custom Notices --> <td class="notices" width="50%"> <if condition="$show['notices']"> <form action="profile.php?do=dismissnotice" method="post" id="notices"> <input type="hidden" name="do" value="dismissnotice" /> <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" /> <input type="hidden" id="dismiss_notice_hidden" name="dismiss_noticeid" value="" /> <div style="overflow:auto;height:50px"> <br> $notices </form> </if> </td> <!-- / Custom Notices --> * These template modifications are also made within the navbar template. Download
navbar_notifications.txt (2.6 KB, 22 downloads) |
Similar Mods
Add-On Releases Navbar Mod - adds social bookmarking, notifications highlighting, & search fields | vBulletin 3.7 Add-ons |
Add-On Releases Navbar - adds social bookmarking, notifications highlighting, & search fields | vBulletin 3.8 Add-ons |