PDA

View Full Version : Suggestion for streamlining navigation...



cyclical
08-05-2007, 17:07
I added this on my local Oklahoma Mustang Club Vbulletin forum...


You can add the same Breadcrumbs found at the top of the page to the bottom of the page, it really is quite usefull.

How often do you find yourself on the last page/last post of a thread and to get back into the forum section you were last on you can either hit back a few times, or scroll all the way back to the top of the page and click the section you want back into. This speeds up browsing considerably and works really well on our forum.

You can easilly add the same breadcrumb found at the top of the page to the bottom of the page as well. The actual coding is in the NAVBAR template, all I did was copy that data over to the SHOWTHREAD template.

like so...

http://www.okdhm.com/cyclical/breadcrumb.jpg


To do so, go to your AdminCP->Styles & Templates->Style Manager. Then expand all templates, and scroll down to the template called SHOWTHREAD and double click it.

Find the following code

<!-- / start content table -->

below it add the following code

<!-- Begin Breadcrumb -->
<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"><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>
<br>
<br>
<!-- end breadcrumb -->

TommyB
08-05-2007, 21:54
Nice,
But with every update / template change I then have to remember to add all these hack/mods to any new template etc.

cyclical
08-05-2007, 22:03
Yeah... true.

I keep a notepad file of any changes I make, then I upgrade and just go down the list. Doesn't take that long... :)

ScubaToys Larry
08-05-2007, 22:41
Heck Tommy... I'll give this one a shot... I'll do it later tonight. So if the whole board crashes... It's your fault cyclical!

ScubaToys Larry
08-05-2007, 23:39
Ok... I did it. And nobody got hurt! Even added a <br> before and took one out after as it looked crowded. Would like to move it over a smidge though...

the gooch
08-06-2007, 00:05
I like it ehh lawt

ScubaToys Larry
08-06-2007, 00:08
Thanks Cyclical. It worked!

Centerius
08-06-2007, 14:53
And here I thought you were asking about how to streamline underwater navigation using a compass or something. :)

cyclical
08-06-2007, 16:08
Thanks Cyclical. It worked!
No problem........ after using it for a few days, you will wonder how you ever got along without it.

Anytime we upgrade on our forum, it is one of the first things I re-install... I have gotten very spoiled by it.

94GTStang
08-06-2007, 22:27
hahaha... on the old board, I suggested this very same thing. Of course it wasn't with VB. Thanks Jorge for the breadcrumbs, they help out the navigation a ton