Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Small breadcrumb below threads and forums Details »»
Small breadcrumb below threads and forums
Version: 1.00, by silurius silurius is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 3.7.0 Rating:
Released: 06-15-2008 Last Update: Never Installs: 10
Template Edits
Re-useable Code Translations  
No support by the author.

2009-09-30 Update: This mod still works great as of vBulletin 3.8.3!

Since I just had to make the change myself and didn't see it posted here yet, I thought I would share a simple modification that was created by someone else a while back for an older vBulletin. I just tested it on my 3.7.0 site and assume it should continue to work for any 3.7.x build.

This change will add a slightly smaller version of the breadcrumb to an area just below the threads on showthread.php, and just below the forums on forumdisplay.php. See screenshots below for examples. Please only proceed if you're comfortable making manual template edits.

Instructions:

1. Locate the following in SHOWTHREAD template:

Code:
<if condition="$show['multiquote_global']">
2. Add just above:
Code:
    <!-- extra breadcrumb -->    
                <br /><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:7pt; padding-top:1px" colspan="3"><if condition="$_SERVER['REQUEST_METHOD'] == 'POST'"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink_ltr.gif" alt="" border="0" /><else /><a href="$scriptpath"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink_ltr.gif" alt="$vbphrase[reload_this_page]" border="0" /></a></if> <strong>$navbits[lastelement]</strong></td>
                </tr>
                </table>&nbsp
                <br />&nbsp
    <!-- / extra breadcrumb -->
3. Save SHOWTHREAD template and open FORUMDISPLAY template.

4. Locate the following in FORUMDISPLAY template:

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

</form>
5. Add the following just below that code:

Code:
    <!-- extra breadcrumb -->    
                <br /><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:7pt; padding-top:1px" colspan="3"><if condition="$_SERVER['REQUEST_METHOD'] == 'POST'"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink_ltr.gif" alt="" border="0" /><else /><a href="$scriptpath"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink_ltr.gif" alt="$vbphrase[reload_this_page]" border="0" /></a></if> <strong>$navbits[lastelement]</strong></td>
                </tr>
                </table>&nbsp
                <br />&nbsp
    <!-- / extra breadcrumb -->
Edited to add screenshots and fix navbits_finallink_ltr.gif

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 06-16-2008, 04:41 PM
silurius silurius is offline
 
Join Date: Oct 2004
Posts: 404
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Reserved, just because reserving the first reply spot is all the rage.
Reply With Quote
  #3  
Old 06-16-2008, 04:49 PM
KURTZ KURTZ is offline
 
Join Date: Nov 2006
Location: Italy
Posts: 2,257
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it would be nice if you give us a pick ...
Reply With Quote
  #4  
Old 06-16-2008, 05:22 PM
silurius silurius is offline
 
Join Date: Oct 2004
Posts: 404
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KURTZ View Post
it would be nice if you give us a pick ...
Added!
Reply With Quote
  #5  
Old 06-16-2008, 05:44 PM
KURTZ KURTZ is offline
 
Join Date: Nov 2006
Location: Italy
Posts: 2,257
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks
Reply With Quote
  #6  
Old 06-16-2008, 06:52 PM
Howell Howell is offline
 
Join Date: Apr 2007
Location: UK
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is great but I personally use this other code as my background is dark and this adds the same colour background as in the top breadcrumbs.

Code:
<!-- another breadcrumbs -->
<br />
    <table class="normal" 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>
    </table>
<!-- / another breadcrumbs -->
Hope you don't mind me adding this silurius
Reply With Quote
  #7  
Old 06-17-2008, 11:03 AM
hcmagix hcmagix is offline
 
Join Date: Mar 2006
Location: Berlin / Germany
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think the better way is

https://vborg.vbsupport.ru/showthrea...ht=mini+navbar

works with 3.7.x
Reply With Quote
  #8  
Old 06-17-2008, 11:46 AM
steve1966 steve1966 is offline
 
Join Date: Dec 2007
Posts: 504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by hcmagix View Post
I think the better way is

https://vborg.vbsupport.ru/showthrea...ht=mini+navbar

works with 3.7.x
yes i agree just tried it
Reply With Quote
  #9  
Old 06-17-2008, 03:07 PM
silurius silurius is offline
 
Join Date: Oct 2004
Posts: 404
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by hcmagix View Post
I think the better way is

https://vborg.vbsupport.ru/showthrea...ht=mini+navbar

works with 3.7.x
Six of one. The fact that they created a product out of it is indeed "better". Beyond that, it's all down to individual design requirements, isn't it? This solution gives you a breadcrumb that resembles the a Junior version of main breadcrumb at the top and the other creates something different inside a box and without graphics. The designer in me objects to a box containing only one item, as is the case with randominity's solution, but again it's all down to what you want.

Also, this is probably totally irrelevant but randominity's use of the word "Navbar" in that product confuses me. Where's the navbar part? (Not to debase the discussion - I'm genuinely curious).

Edit: In any case, I have no real investment either way. Just dug up a not-so-old solution used by many before me and wanted to pass it on.
Reply With Quote
  #10  
Old 06-17-2008, 03:16 PM
silurius silurius is offline
 
Join Date: Oct 2004
Posts: 404
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Howell View Post
This is great but I personally use this other code as my background is dark and this adds the same colour background as in the top breadcrumbs.
...
Hope you don't mind me adding this silurius
Feel free to add and adapt all you want! Even if I had come up with the concept/design myself, I would say go for it. The only reservation I might ever have would be if a different solution were to appear which would call for a new thread or something.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:47 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04386 seconds
  • Memory Usage 2,306KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete