PDA

View Full Version : Mini Navbar above Quick Reply


FunaGuy
13 Oct 2006, 11:43
Mini Navbar above Quick Reply
===============================

Admincp > Style Manager > Edit Templates > SHOWTHREAD

Find
<if condition="$show['multiquote_global']">

Add above

<!-- another navbar -->
<table class="normal" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="alt1" width="100%">
<if condition="is_array($navbits)">
<table cellpadding="0" cellspacing="0" border="0">
<tr valign="bottom">
<td><a href="#" onclick="history.back(1); return false;"><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt="$vbphrase[go_back]" border="0" /></a></td>
<td>&nbsp;</td>
<td width="100%"><span class="navbar"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1">$vboptions[bbtitle]</a></span> $navbits[breadcrumb]</td>
</tr>
<tr>
<td class="navbar" style="font-size:10pt; padding-top:1px" colspan="3"><if condition="$_SERVER['REQUEST_METHOD'] == 'POST'"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink.gif" alt="" border="0" /><else /><a href="$scriptpath"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink.gif" alt="$vbphrase[reload_this_page]" border="0" /></a></if> <strong>$navbits[lastelement]</strong></td>
</tr>
</table>
<else />
<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>
</table>
<!-- another navbar -->

<br />


Tested and Works Fine :)


Done ;)
Support me by Click on Mark as Installed and By Donation!

vasu_alla007
13 Oct 2006, 18:40
nice works clicks install

Stromba
24 Oct 2006, 00:05
Great work.. Well done

iran.gs
28 Oct 2006, 13:54
Nice work did not work on mine what it did made my short cut showing 2 times since i had another hack for short cut back to the forum and the bottom of post reply ... but nice job mate..

gdoner
28 Oct 2006, 19:35
its good for me thanks...

FunaGuy
18 Nov 2006, 14:30
-- Updated --

Nov 18, 2006
Added an update for the newest version of vBulletin, 3.6.3. Enjoy and let me know if anything's wrong.

Farjad
23 Nov 2006, 23:23
Was wondering if we can just use $navbar instead?

Garyk
23 Nov 2006, 23:29
Was wondering if we can just use $navbar instead?
that would add the links and login form that comes with the navabr trust me you most likey would not want to do that but you can give it a try and see how it turns out

peterska2
23 Nov 2006, 23:36
Was wondering if we can just use $navbar instead?
I wouldn't recommend doing that. As said above it will add everything including the navbar login/userinfo and navbar links. Also it will cause problems with your navbar dropdown menus.

Farjad
25 Nov 2006, 04:45
that would add the links and login form that comes with the navabr trust me you most likey would not want to do that but you can give it a try and see how it turns out

I wouldn't recommend doing that. As said above it will add everything including the navbar login/userinfo and navbar links. Also it will cause problems with your navbar dropdown menus.

Ohk.. was just wondering..

tobybird
26 Nov 2006, 04:23
Thank you! Clicked Install.

Losha
26 Nov 2006, 07:30
Thank you Hak favorites

lostgirl815
25 Jan 2007, 00:13
This is fabulous - just what I needed, what with the "get new posts" and all the categories it was getting hard to remember what I said where. Thanks! I'll go find install and click it.

Mr Pink
05 Mar 2007, 15:34
Personally I've used this code:

<!-- breadcrumb -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="alt1" width="100%">
<if condition="is_array($navbits)">
<table cellpadding="0" cellspacing="0" border="0">
<tr valign="bottom">
<td><a href="#" onclick="history.back(1); return false;"><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt="$vbphrase[go_back]" border="0" /></a></td>
<td>&nbsp;</td>
<td width="100%"><span class="navbar"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1">$vboptions[bbtitle]</a></span> $navbits[breadcrumb]</td>
</tr>
<tr>
<td class="navbar" style="font-size:10pt; padding-top:1px" colspan="3"><if condition="$_SERVER['REQUEST_METHOD'] == 'POST'"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink.gif" alt="" border="0" /><else /><a href="$scriptpath"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink.gif" alt="$vbphrase[reload_this_page]" border="0" /></a></if> <strong>$navbits[lastelement]</strong></td>
</tr>
</table>
<else />
<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>





</if>

</tr>
</table>
<!-- / breadcrumb -->

;)

Roflstilzchen
13 Apr 2007, 07:33
very good, thank you!

almightyone
14 Apr 2007, 21:50
installed :)

trackpads
03 Oct 2007, 00:20
Very nice hack! Thanks!!

dvbusuario
26 Dec 2007, 00:34
Very nice!!!

Thanks!

Install

vithorius
03 Apr 2008, 17:58
I installed this hack on vB 3.6.8 and it works fine. Thanks!

vithorius
03 Apr 2008, 18:02
Personally I've used this code:

<!-- breadcrumb -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="alt1" width="100%">
<if condition="is_array($navbits)">
<table cellpadding="0" cellspacing="0" border="0">
<tr valign="bottom">
<td><a href="#" onclick="history.back(1); return false;"><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt="$vbphrase[go_back]" border="0" /></a></td>
<td>&nbsp;</td>
<td width="100%"><span class="navbar"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1">$vboptions[bbtitle]</a></span> $navbits[breadcrumb]</td>
</tr>
<tr>
<td class="navbar" style="font-size:10pt; padding-top:1px" colspan="3"><if condition="$_SERVER['REQUEST_METHOD'] == 'POST'"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink.gif" alt="" border="0" /><else /><a href="$scriptpath"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink.gif" alt="$vbphrase[reload_this_page]" border="0" /></a></if> <strong>$navbits[lastelement]</strong></td>
</tr>
</table>
<else />
<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>





</if>

</tr>
</table>
<!-- / breadcrumb -->

;)

Hummm... I see! Your code adds a line outside the table!

Pretty much better! Thank you! :up: :up: :up:

WoodPusher
04 Apr 2008, 19:03
The folder image is showing a red x. Any Ideas?

mk484
07 Apr 2008, 22:00
Very nice,
Thanks. Clicked Install.

alfaowner
27 May 2009, 23:50
I removed the extra if statement that wasnt required to get this to work on 3.8.2

<!-- breadcrumb -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="alt1" width="100%">
<if condition="is_array($navbits)">
<table cellpadding="0" cellspacing="0" border="0">
<tr valign="bottom">
<td><a href="#" onclick="history.back(1); return false;"><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt="$vbphrase[go_back]" border="0" /></a></td>
<td>&nbsp;</td>
<td width="100%"><span class="navbar"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1">$vboptions[bbtitle]</a></span> $navbits[breadcrumb]</td>
</tr>
<tr>
<td class="navbar" style="font-size:10pt; padding-top:1px" colspan="3"><if condition="$_SERVER['REQUEST_METHOD'] == 'POST'"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink.gif" alt="" border="0" /><else /><a href="$scriptpath"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink.gif" alt="$vbphrase[reload_this_page]" border="0" /></a></if> <strong>$navbits[lastelement]</strong></td>
</tr>
</table>
<else />
<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>






</tr>
</table>
<!-- / breadcrumb -->

john1744
15 Jan 2010, 17:55
Anyone have tips for getting this into 4.01?