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)
-   -   [Monkey's Works] - Thread simple Navbar below QuickReply (https://vborg.vbsupport.ru/showthread.php?t=142589)

Triky 03-19-2007 10:00 PM

[Monkey's Works] - Thread simple Navbar below QuickReply
 
[Monkey's Works] - Thread simple Navbar below QuickReply
By Triky - Web City



Hi there, monkeys! A little template modification for you! This add an additional navbar under the QR (QuickReply).


Preview:

Click!

Modification:

Quote:

Go into your SHOWTHREAD templates:
(AdminCp -> Styles & Templates -> Manager -> Edit Templates)

Search for:

Code:

<!-- end currently active users -->
Below add this:

Code:

<!-- Thread QR Navbar -->
<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>
<!-- / Thread QR Navbar -->






Done! :)


I hope you like this little mod.

See you!


Best regards,
Triky
Monkey's Work - Web City Forum Online
http://www.web-city.it/

dbirosel 03-20-2007 08:01 PM

Works great. Question, how do i add it above the quick reply?

Triky 03-20-2007 09:49 PM

Quote:

Originally Posted by dbirosel (Post 1208270)
Works great. Question, how do i add it above the quick reply?

Hi, dbirosel. :)
If you want add it above the QR, in the SHOWTHREAD template, search for:

Code:

<if condition="$show['multiquote_global']">
Above, add this:
(Note: it's the same code, but this one, at the end, have a <br /> tag.)

Code:

<!-- Thread QR Navbar -->
<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>
<br />
<!-- / Thread QR Navbar -->


dbirosel 03-20-2007 10:10 PM

Thanks, works great! Looks nice too!

Triky 03-20-2007 10:13 PM

Thanks for your support. :)

Atakan KOC 03-26-2007 07:28 AM

Thanks........

AzaDiyaR 03-26-2007 10:15 AM

nice thanks

Ohiosweetheart 07-25-2007 04:13 PM

I really wish that you would put this in a text file and attach it so we don't have to keep coming back here to use it.

Please?? Pretty please???

Triky 07-25-2007 04:45 PM

Quote:

Originally Posted by Ohiosweetheart (Post 1301322)
I really wish that you would put this in a text file and attach it so we don't have to keep coming back here to use it.

Please?? Pretty please???

[Monkey's Works] - Thread simple Navbar below QuickReply.txt

EvilKitty 07-27-2007 01:59 PM

Your little additions are amongst my favorite - this is now installed, along with your making my sig move to the bottom of my post. :D


All times are GMT. The time now is 03:38 AM.

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.01157 seconds
  • Memory Usage 1,749KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete