vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Miscellaneous Hacks - Alternative Breadcrumbs for your vB4 (https://vborg.vbsupport.ru/showthread.php?t=280518)

final kaoss 06-30-2012 05:37 PM

Thanks, installed.

Neo_Angelo 07-06-2012 07:15 PM

I love this modification, looks much nicer than the dDefault, thanks for the share. :)

initiald 07-09-2012 07:46 AM

This would be nice if you can add navbit-home icon next to "Your Site Name" or remove "Your Site Name" and replace it with the "home icon".

dot. 07-24-2012 02:12 PM

Quote:

Originally Posted by initiald (Post 2346294)
This would be nice if you can add navbit-home icon next to "Your Site Name" or remove "Your Site Name" and replace it with the "home icon".

This would in fact be awesome.

Chadi 07-26-2012 08:29 PM

1 Attachment(s)
Conflicting issue it seems, first there is already a .breadcrumb class in vbulletin.css

Problem is that the body background is missing its white property. I tried to even change the custom additional.css (yours) breadcrumb background property to match the vbulletin.css one, cleared cache but for whatever reason didn't take effect.

oldz442 07-27-2012 04:42 AM

1 Attachment(s)
Thanks. Any ideas how to put the little Home icon back? I tried but get the below result.

EDIT: Is text-indent: 9999px; really needed, and if so, is there an alt? thx

EDIT: I got the home icon pretty much where I want it for now. Had to add padding:4px 0 6px 0 Curious... what do most folks set that far left link to... 'homepage' home or 'forum' home? I have it at homepage right now, but thinking forum home might be more logical as I already have a Home button in the main top nav where What's New is.

grey_goose 07-29-2012 03:42 AM

Very happy with this, thanks for sharing!

synseal 08-08-2012 12:09 PM

Excellent!!! Thank you.

artcrimes 08-09-2012 06:00 AM

Hi,

Great thread! Will you share footer area code of ​​your website? (https://www.beercandle.com/forum.php)

Also a very nice theme, what is the theme name?

nando99 09-20-2012 01:19 AM

this is awesome!

anyway to get rid of the forum link tho?

Quote:

Originally Posted by kralex (Post 2317443)


gariksher 10-23-2012 03:54 AM

Thank you!
Mark as Installed.

cuphongle 10-28-2012 07:42 PM

its wonderful! thank you
anyone got a nicer/cleaner looking "post new thread" image?

thanks

joerns 01-04-2013 09:36 PM

1 Attachment(s)
Great mod, thank you! I have a small formatting issue (see attached image) and would appreciate any ideas on how to solve it. It only happens on the last item of a navigation path - upper levels are fine as in here: http://www.mopanetree.com/opentalk/1...a-space-2.html

JamalFree 01-04-2013 10:38 PM

Thank you !!! Very nice

Lpspider 01-15-2013 10:55 PM

1 Attachment(s)
All my arrows are pointing the wrong way using this css.

They are < instead of >. Tips?

badbob1337 01-29-2013 12:43 PM

tested on 4.2.0. buggy.

AnthemToGod 03-11-2013 02:19 AM

Tested 4.2.0, not working... But..

I changed some stylevar field i this code, working now..

Replace with this code on additional.css

PHP Code:

.bread_box {
    
margin-top2px;
    
overflowhidden;
    
clearboth;
}
.
breadcrumb {
    
positionrelative;
    
font11px Arial,Calibri,Verdana,Geneva,sans-serif;
    
background#f1f1f1 url(images/gradients/top-highlight.png) repeat-x
        
scroll left top;
    
border#000000; /* this is the border color that's around the whole thing */
    
-moz-border-radius:{vb:stylevar border_radius};
    -
webkit-border-radius: {vb:stylevar border_radius};
    
border-radius: {vb:stylevar border_radius};
    
overflowhidden;
}
.
breadcrumb .crust {
    
displayblock;
    
floatleft;
    
positionrelative;
}
.
breadcrumb .crust:first-child a.crumb {
    
padding-left13px;
    -
moz-border-radius-topleft:{vb:stylevar border_radius};
    -
moz-border-radius-bottomleft:{vb:stylevar border_radius};
    -
webkit-border-top-left-radius: {vb:stylevar border_radius};
    -
webkit-border-bottom-left-radius: {vb:stylevar border_radius};
    
border-top-left-radius: {vb:stylevar border_radius};
    
border-bottom-left-radius: {vb:stylevar border_radius};
}
.
breadcrumb .crust a.crumb, .breadcrumb .crust b.lastcrumb {
    
text-decorationnone;
    
background-color#f1f1f1; /* this is the background color of the CRUMBS, ie: the links */
    
padding0 10px 0 23px;
    
border-bottom1px/* this is the same as the border value higher up, this only shows if the last crumb causes it to overflow */
        
border-bottom-style:solid;
        
border-bottom-color:#c1c1c1;
    
margin-bottom: -1px;
    
outline0 none;
    -
moz-outline-style0 none;
    
displayblock;
    
line-height22px;
    
_border-bottomnone;
    
color:#417394; /* this is the color of the links in the crumbs */
    
text-decoration:none;
}
.
breadcrumb .crust b.lastcrumb {
    
backgroundtransparent none;
    
color#3e3e3e; /* this is the color of the last crumb, ie: the final destination */
    
font-weightbold;
}
.
breadcrumb .crust a.crumb, .breadcrumb .crust b.lastcrumb {
    
line-height22px;
}
.
breadcrumb .crust .arrow {
    
border12px solid transparent;
    
border-right1px none black;
    
border-left#c1c1c1; /* this is the _background_ color of the "arrow" */
    
border-left-width12px !important;
    
border-left-stylesolid !important;
    
displayblock;
    
positionabsolute;
    
right: -12px;
    
top: -1px;
    
z-index50;
    
width0px;
    
height0px;
}
.
breadcrumb .crust .arrow span {
    
border12px solid transparent;
    
border-right1px none black;
    
border-left-color#f1f1f1; /* this is the border color of the "arrow" */
    
displayblock;
    
positionabsolute;
    
left: -13px;
    
top: -12px;
    
z-index51;
    
white-spacenowrap;
    
overflowhidden;
    
text-indent9999px;
    
width0px;
    
height0px;
}
.
breadcrumb .refresh:hover background-position0px -16px; }
.
breadcrumb .crust:last-child a.crumb font-weightbold; }
.
breadcrumb .crust:hover a.crumb 
    
background-color:#e9e9e9; /* this is the background color of the crumb when it's hovered */
    
color#417394; /* likewise, this is the color of the crumb's link when hovered */
    
text-decoration:none
}
.
breadcrumb .crust:hover .arrow span 
    
border-left-color:#e9e9e9; /* this is the color of the "arrow" when hovered. It should be identical to the `.breadcrumb .crust:hover a.crumb` background value */



DemOnstar 07-09-2013 11:17 AM

Wanted to see an example, followed the link to the site and found out it was private...

Screen shots would be nice.

Thanks.....

final kaoss 07-09-2013 10:25 PM

There are screenshots, just look at the attachments.

ahobilam 07-12-2013 07:30 AM

Hi
It is great for my forum 4.2.1
thank you
given 5*
See the breadcrumb below:
https://dl.dropboxusercontent.com/u/...breadcrumb.png

Disco_Dave 08-13-2013 02:36 PM

Anyone know how to make this line a background: url

PHP Code:

.breadcrumb .crust:hover .arrow span 
    
border-left-color:#e9e9e9; /* this is the color of the "arrow" when hovered. It should be identical to the `.breadcrumb .crust:hover a.crumb` background value */


Thanks
Dave

Great hack! :)

TeamSempoi 11-21-2013 12:27 AM

working good on (vBulletin 4.2.2)

john7911 11-21-2013 05:17 AM

Thank you, I'll try it l8tr ;)

K4GAP 11-21-2013 07:30 PM

On one of your screen shots (see below) your addition and the regular breadcrumb are all within very close proximity to each other.

I would think it would be better to replace the default with yours? Otherwise it's repetitive.

https://vborg.vbsupport.ru/attachmen...4&d=1332429220

BirdOPrey5 11-21-2013 07:46 PM

1 Attachment(s)
I don't see the regular breadcrumb in that picture?

This is the default breadcrumb-

https://vborg.vbsupport.ru/attachmen...1&d=1385066769

K4GAP 11-21-2013 11:58 PM

The text below the bread crumb. My bad.
This text:
Beercandle Forums
Welcome to the Beercandle Forums.


There's no need for it.

Manuel94 06-18-2016 06:34 AM

Hi, do you know how can I do to enlarge this breadcrumb? I tried to maximize it with line-height but arrows remain small. Thank you.

charlesr 01-25-2020 08:03 PM

For anyone that is still using this, these are the new replacements that fix the (vbulletin) data-vocabulary.schema deprecation from google's search console.

(just added "vbulletin" above in case anyone is searching google!)

navbar:

Code:

<div class="bread_box">
        <nav>
                <fieldset class="breadcrumb">
                        <span class="crumbs">
                                <vb:if condition="$vboptions['hometitle']">
                                        <ol class="crust" itemscope="itemscope" itemtype="http://schema.org/BreadcrumbList">
                                                <li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
                                                        <a itemprop="item" href="{vb:raw vboptions.homeurl}" class="crumb" rel="up" itemprop="url" alt="{vb:rawphrase home}">
                                                                <span itemprop="title">{vb:raw vboptions.hometitle}</span>
                                                        </a>
                                                </li>
                                                <span class="arrow">
                                                        <span>&gt;</span>
                                                </span>
                                        </ol>
                                </vb:if>
                                {vb:raw navbits.breadcrumb}
                                {vb:raw navbits.lastelement}
                        </span>
                </fieldset>
        </nav>
</div>

navbar_link:

Code:

<vb:if condition="$show['breadcrumb']">
        <ol class="crust" itemscope="itemscope" itemtype="http://schema.org/BreadcrumbList">
                <li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
                        <a itemprop="item" href="{vb:raw nav_url}" class="crumb" rel="up" itemprop="url">
                                <span itemprop="title">{vb:raw nav_title}</span>
                        </a>
                </li>
                        <span class="arrow">
                                <span>&gt;</span>
                        </span>
        </ol>
<vb:else />
        <ol class="crust" itemscope="itemscope" itemtype="http://schema.org/BreadcrumbList">
                <li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
                        <b class="lastcrumb">
                                <span itemprop="title">{vb:raw nav_title}</span>
                        </b>
                </li>
        </ol>
</vb:if>



All times are GMT. The time now is 01:04 PM.

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.01443 seconds
  • Memory Usage 1,857KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (28)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete