The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Additional navbar at bottom of forumdisplay
Hi!
I tried to add another navbar at the bottom of each page to ease navigation to higher-level forums. So I copied the navbar-template and added a new one "navbar2" that is all the same as navbar. Finally I removed the login-stuff and navigation-stuff and so reduced it to the level I want. Unfortunately there are no links shown (iirc it's the breadcrump-stuff). Please have a look at the bottom of http://forum.computerbetrug.de/forumdisplay.php?f=15 There you will see what I mean. It just seems as if the variables in the template are not parsed. Please help me to solve this problem. |
#2
|
|||
|
|||
This is how I do it.
To place a navbar at the bottom of forums: - Open FORUMDISPLAY template. - Find: Code:
<!-- / controls below thread list --> </form> <br /> Code:
<!-- bottom breadcrumb navbar --> <br /> <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)"><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt="$vbphrase[go_back]" border="0" /></a></td> <td> </td> <td width="100%"><span class="navbar"><a href="$vboptions[forumhome].php?$session[sessionurl]" accesskey="1">$vboptions[bbtitle]</a></span> $navbits[breadcrumb]</td> </tr> <tr> <td class="navbar" style="font-size:10pt; padding-top:1px" colspan="3"><a href="$scriptpath"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink.gif" alt="$vbphrase[reload_this_page]" border="0" /></a> <strong>$navbits[lastelement]</strong></td> </tr> </table> <else /> <div class="navbar" style="font-size:10pt"><a href="$vboptions[forumhome].php?$session[sessionurl]" 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> <br /> <!-- / bottom breadcrumb navbar --> To place a navbar at the bottom of threads: - Open SHOWTHREAD template. - Find: Code:
<!-- / controls below postbits --> BELOW THAT ADD: (Same code as above) Save template. There is also a nice little plugin here to do something similar, it creates a new template on import of the product through the control panel, then gives you a choice of inserting a full navbar in its' own table row like this does, or as a mini-navbar between the New Reply button and the Moderation dropdown. That plugin is only written to do navbars at the bottom of a thread, but you could easily insert it at the bottom of a forum at the same location in the FORUMDISPLAY template I use above. The only thing I don't like about the Mini-navbar plugin is that the navbar stops at the forum level, and does not show the actual thread you are in like the main navbar does. The code I listed above will show the full location including current thread, just like the top navbar does. Cheers, Dexter... |
#3
|
|||
|
|||
Dexter - many thanks for posting this. It's just what I needed.
Brilliant. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|