PDA

View Full Version : Bottom Forum Navigation breadcrumbs


j883376
31 Dec 2005, 22:18
This requires all of 2 template edits

First, open 'FORUMDISPLAY', in the last few lines, find
$footer
Directly above that, add this
<table class="tborder" cellspacing="0" cellpadding="$stylevar[cellpadding]" border="0" width="100%">
<tr>
<td class="alt2"><span class="navbar"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1">$vboptions[bbtitle]</a></span> $navbits[breadcrumb] &gt;<strong>$navbits[lastelement]</strong></td>
</tr>
</table>

Then open up 'SHOWTHREAD', again find
$footer
And add above it
<table class="tborder" cellspacing="0" cellpadding="$stylevar[cellpadding]" border="0" width="100%">
<tr>
<td class="alt2"><span class="navbar"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1">$vboptions[bbtitle]</a></span> $navbits[breadcrumb] &gt;<strong>$navbits[lastelement]</strong></td>
</tr>
</table>

If your navigation seems squashed against things, add a <br /> tag above opening <table> tag and/or below the </table> tag.

Viola! Bottom Forum Navigation for all!

Don't forget to press INSTALL!

j883376
31 Dec 2005, 22:29
First post reserved

Snake
01 Jan 2006, 00:55
Lovely!

/me installs

007
01 Jan 2006, 00:55
Nice, this is better than the one that requires a plugin. :)

j883376
01 Jan 2006, 04:38
Nice, this is better than the one that requires a plugin. :)
Anything that doesn't add plugins and more queries to the system is always better. :)

RMS-Chef
01 Jan 2006, 15:52
If you don't want it spanning the entire page:
http://www.vbulletin.org/forum/showpost.php?p=815955&postcount=8

AusFootball
03 Jan 2006, 04:30
Very nice thanks

j883376
03 Jan 2006, 14:38
If you don't want it spanning the entire page:
http://www.vbulletin.org/forum/showpost.php?p=815955&postcount=8
Personally, I like it across the entire page, but its all a matter of preference. :)

stefaandk
09 Jan 2006, 09:50
Good stuff, but it sits a bit too low, where would I put this code so it sits above display options in the thread list and above the quick reply within the thread itself?

Club3G
11 Jan 2006, 22:53
/me clicks install

The Chief
02 Feb 2006, 06:28
installed and works great, thanks!!

/me clicks install

Ohiosweetheart
02 Feb 2006, 07:16
oh yeah... love it!

Lost_Prophet
16 Mar 2006, 14:28
Handy, thanks :)

Quillz
27 Mar 2006, 17:13
This is a useful hack, but what if I want it higher up on the page? Where would I have to move the code?

j883376
29 Mar 2006, 23:57
This is a useful hack, but what if I want it higher up on the page? Where would I have to move the code?
That would entirely defeat the purpose of the mod. Its meant to be at the bottom for users to not have to scroll back up to navigate the site.

Zacharicus
30 Mar 2006, 11:40
Brilliant. Thanks.

Quillz
01 Apr 2006, 19:59
That would entirely defeat the purpose of the mod. Its meant to be at the bottom for users to not have to scroll back up to navigate the site.
So... how would I move it up the page?

SaN-DeeP
01 Apr 2006, 23:02
thanks, had requested the same elsewhere too :-)

jim6763nva
16 Apr 2006, 16:21
I took this a step further. I took the treeview type breadcrumb above the navbar and snipped out the login and welcome information.

In the FORMDISPLAY, Look for:


<!-- / controls below thread list -->

</form>
<br />


Just below that, Add this:


<!-- breadcrumb info -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="alt1" >
<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"><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_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>
<br />
<!-- / breadcrumb -->



In the SHOWTHREAD, Look for:


<if condition="$show['inlinemod']">
$spacer_close
</form>
$spacer_open
</if>
<br />


Just below the break, add the same code that you added to FORUMDISPLAY

SaN-DeeP
19 Apr 2006, 03:51
jim6763nva your forumdisplay code wont be able to display additional navbar on a category :)

jim6763nva
19 Apr 2006, 11:49
jim6763nva your forumdisplay code wont be able to display additional navbar on a category :)

That wasn't the intension.. IIRC, all this thread was about was to display a breadcrumb at the bottom of the thread. Instead of putting it all on one line I thought it would be nice to have it look like the breadcrumb at the top of the page. So far it's been working fine.

Jim

trackpads
12 May 2008, 04:09
Works still on 3.7 :)

jredrum
28 May 2008, 21:57
Where would I put the code if I want to put it just under or over the quick reply box?

Brandon Sheley
28 May 2008, 22:02
Where would I put the code if I want to put it just under or over the quick reply box?

above or below the quick reply code ;)

I'm pretty sure it's labeled with something like <--quick reply controls-->

jredrum
28 May 2008, 22:15
above or below the quick reply code ;)

I'm pretty sure it's labeled with something like <--quick reply controls-->

Yeah, I was trying that but it was offsetting the board. I took out the table tags and it seemed to work.

Thanks.