vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Bottom Forum Navigation breadcrumbs (https://vborg.vbsupport.ru/showthread.php?t=104127)

j883376 12-30-2005 10:00 PM

Bottom Forum Navigation breadcrumbs
 
This requires all of 2 template edits

First, open 'FORUMDISPLAY', in the last few lines, find
Code:

$footer
Directly above that, add this
Code:

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

$footer
And add above it
Code:

<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 12-31-2005 08:29 PM

First post reserved

Snake 12-31-2005 10:55 PM

Lovely!

/me installs

007 12-31-2005 10:55 PM

Nice, this is better than the one that requires a plugin. :)

j883376 01-01-2006 02:38 AM

Quote:

Originally Posted by 007
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-01-2006 01:52 PM

If you don't want it spanning the entire page:
https://vborg.vbsupport.ru/showpost....55&postcount=8

AusFootball 01-03-2006 02:30 AM

Very nice thanks

j883376 01-03-2006 12:38 PM

Quote:

Originally Posted by RMS-Chef
If you don't want it spanning the entire page:
https://vborg.vbsupport.ru/showpost....55&postcount=8

Personally, I like it across the entire page, but its all a matter of preference. :)

stefaandk 01-09-2006 07:50 AM

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 01-11-2006 08:53 PM

/me clicks install

The Chief 02-02-2006 04:28 AM

installed and works great, thanks!!

/me clicks install

Ohiosweetheart 02-02-2006 05:16 AM

oh yeah... love it!

Lost_Prophet 03-16-2006 12:28 PM

Handy, thanks :)

Quillz 03-27-2006 03:13 PM

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 03-29-2006 09:57 PM

Quote:

Originally Posted by Quillz
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 03-30-2006 09:40 AM

Brilliant. Thanks.

Quillz 04-01-2006 05:59 PM

Quote:

Originally Posted by j883376
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 04-01-2006 09:02 PM

thanks, had requested the same elsewhere too :-)

jim6763nva 04-16-2006 02:21 PM

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:

Code:

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

</form>
<br />

Just below that, Add this:

Code:

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

Code:

<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 04-19-2006 01:51 AM

jim6763nva your forumdisplay code wont be able to display additional navbar on a category :)

jim6763nva 04-19-2006 09:49 AM

Quote:

Originally Posted by SaN-DeeP
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 05-12-2008 02:09 AM

Works still on 3.7 :)

jredrum 05-28-2008 07:57 PM

Where would I put the code if I want to put it just under or over the quick reply box?

Brandon Sheley 05-28-2008 08:02 PM

Quote:

Originally Posted by jredrum (Post 1534409)
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 05-28-2008 08:15 PM

Quote:

Originally Posted by Loco.M (Post 1534414)
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.


All times are GMT. The time now is 09:42 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.01138 seconds
  • Memory Usage 1,772KB
  • 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
  • (7)bbcode_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (25)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete