PDA

View Full Version : [Monkey's Works] - Thread simple Navbar below QuickReply


Triky
03-19-2007, 10:00 PM
[Monkey's Works] - Thread simple Navbar below QuickReply
By Triky - Web City (http://www.web-city.it/forum/)




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


Preview:

Click! (https://vborg.vbsupport.ru/attachment.php?attachmentid=62106&d=1174394079)

Modification:

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

Search for:

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

<!-- 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
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:

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

Above, add this:
(Note: it's the same code, but this one, at the end, have a <br /> tag.)

<!-- 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
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 (https://vborg.vbsupport.ru/attachment.php?attachmentid=67519&stc=1&d=1185385433)

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

Triky
07-27-2007, 04:03 PM
Your little additions are amongst my favorite

Thank you, EvilKitty. :)
PS: I'm developing an entire new vB style.. ;)
along with your making my sig move to the bottom of my post. :D[Mhh, I haven't understand what this mean! :p
My bad english. http://www.web-city.it/forum/images/smilies/dropbonk.gif