vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Mini Navbar above Quick Reply (https://vborg.vbsupport.ru/showthread.php?t=128993)

FunaGuy 10-12-2006 10:00 PM

Mini Navbar above Quick Reply
 
Mini Navbar above Quick Reply
===============================

Admincp > Style Manager > Edit Templates > SHOWTHREAD

Find
Code:

<if condition="$show['multiquote_global']">
Add above
Code:

<!-- 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 10-13-2006 05:40 PM

nice works clicks install

Stromba 10-23-2006 11:05 PM

Great work.. Well done

iran.gs 10-28-2006 12:54 PM

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 10-28-2006 06:35 PM

its good for me thanks...

FunaGuy 11-18-2006 01:30 PM

-- 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 11-23-2006 10:23 PM

Was wondering if we can just use $navbar instead?

Garyk 11-23-2006 10:29 PM

Quote:

Originally Posted by Farjad (Post 1123974)
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 11-23-2006 10:36 PM

Quote:

Originally Posted by Farjad (Post 1123974)
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 11-25-2006 03:45 AM

Quote:

Originally Posted by Garyk (Post 1123976)
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

Quote:

Originally Posted by peterska2 (Post 1123978)
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 11-26-2006 03:23 AM

Thank you! Clicked Install.

Losha 11-26-2006 06:30 AM

<font color="Red">Thank </font>you Hak favorites

lostgirl815 01-24-2007 11:13 PM

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 03-05-2007 02:34 PM

Personally I've used this code:

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 04-13-2007 06:33 AM

very good, thank you!

almightyone 04-14-2007 08:50 PM

installed :)

trackpads 10-02-2007 11:20 PM

Very nice hack! Thanks!!

dvbusuario 12-25-2007 11:34 PM

Very nice!!!

Thanks!

Install

vithorius 04-03-2008 04:58 PM

I installed this hack on vB 3.6.8 and it works fine. Thanks!

vithorius 04-03-2008 05:02 PM

Quote:

Originally Posted by Mr Pink (Post 1196289)
Personally I've used this code:

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-04-2008 06:03 PM

The folder image is showing a red x. Any Ideas?

mk484 04-07-2008 09:00 PM

Very nice,
Thanks. Clicked Install.

alfaowner 05-27-2009 10:50 PM

I removed the extra if statement that wasnt required to get this to work on 3.8.2

HTML 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>       
       
       
               
       
                       
       
</tr>
</table>
<!-- / breadcrumb -->


john1744 01-15-2010 04:55 PM

Anyone have tips for getting this into 4.01?


All times are GMT. The time now is 02:10 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01416 seconds
  • Memory Usage 1,816KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (1)bbcode_html_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (24)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete