Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Project U-232 (http://www.bvlist.com/forumdisplay.php?f=80)
-   -   New BreadCrumb (http://www.bvlist.com/showthread.php?t=9784)

BamBam0077 22nd February 2014 11:16

New BreadCrumb
 
Here is a new breadcrumb menu

http://i.imgbox.com/eTFojabt.png

Remember to always backup any file you edit!!

! edit your forum.php lines 212 - 221

remove this:
Code:

//=== mini menu
$mini_menu = 'My Subscriptions |
    Search |
    Unread Posts |
    New Replies |
    My Posts |
    Mark All As Read ' . ($CURUSER['class'] === UC_MAX ? '| Member Post History' : '');
$location_bar = '

'.$INSTALLER09['site_name'].'  ►
                        Forums


                        '.$mini_menu.''.(isset($_GET['m']) ? '

All forums up to date.

' : '');

Then add:
Code:

$mini_menu = '';

// BreadCrumb Menu By BamBam0077
$location_bar = '

               

               
';
! edit your view_forum.php lines 155 - 159 [ thats in your forums folder ]

Remove This:
Code:

$location_bar = '

' . $INSTALLER09['site_name'] . '  ►
            Forums ' . $parent_forum_name . ' ►
            ' . $forum_name . $child . '


            ' . $mini_menu . '
            ';

Then Add:
Code:

// BreadCrumb Menu By BamBam0077   
$location_bar = '

               

               
';
! edit your view_topic.php line 253 - 259 [ also in your forums folder ]

Remove This:
Code:

$location_bar = '' . $status_image . ' ' . $INSTALLER09['site_name'] . '  ►
            Forums ' . $parent_forum_name . '
            ►
            ' . $forum_name . $child . '
            ►
            ' . $topic_name . ' ' . $status_image . '' . $forum_desc . '
            ' . $mini_menu . (($topic_owner == $CURUSER['id'] && $arr['poll_id'] == 0 || $CURUSER['class'] >= UC_STAFF && $arr['poll_id'] == 0) ? '  | Add Poll' : '') . '';

Then Add:
Code:

// BreadCrumb Menu By BamBam0077       
$location_bar = '

               

               
';
           
// Mod Ended

CSS:
Code:

/* NEW BREADCRUMB MENU */

.breadBoxTop {

padding: 10px 0;
overflow: hidden;
zoom: 1;
clear: both;}

#movebread{
margin-top: 1px;}

.breadBoxTop .topCtrl{

margin-left: 5px;
float: right;
line-height: 24px;}

.breadcrumb{
font-size: 11px;
border: solid #000000 0.5px;
background-color: #1F1F1F;
 -webkit-border-radius: 5px;
 -moz-border-radius: 5px;
 -khtml-border-radius: 5px;
border-radius: 5px;
overflow: hidden;
zoom: 1;
max-width: 100%;
height: auto;}

.breadcrumb .crust {

display: block;
float: left;
position: relative;
zoom: 1;
max-width: 50%;}

.breadcrumb .crust a.crumb {

cursor: pointer;
text-decoration: none;
background-color: #1F1F1F;
padding: 0 10px 0 18px;
margin-bottom: -1px;
outline: 0 none;
 -moz-outline-style: 0 none;
display: block;
_border-bottom: none;
line-height: 24px;
color: #00aeff;
box-shadow: 0px 0px 1px 0px;}

.breadcrumb .crust a.crumb > span {
       
display: block;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
max-width: 100%;}

.breadcrumb .crust a.crumb {
       
font-weight: bold;
border: solid #000000 1px;
padding-left: 20px;
 -webkit-border-top-left-radius: 4px;
 -moz-border-radius-topleft: 4px;
 -khtml-border-top-left-radius: 4px;
border-top-left-radius: 4px;
 -webkit-border-bottom-left-radius: 4px;
 -moz-border-radius-bottomleft: 4px;
 -khtml-border-bottom-left-radius: 4px;
border-bottom-left-radius: 4px;}

.breadcrumb .crust:first-child a.crumb {
   
font-weight: bold;
border: solid #000000 1px;
padding-left: 10px;
 -webkit-border-top-left-radius: 4px;
 -moz-border-radius-topleft: 4px;
 -khtml-border-top-left-radius: 4px;
border-top-left-radius: 4px;
 -webkit-border-bottom-left-radius: 4px;
 -moz-border-radius-bottomleft: 4px;
 -khtml-border-bottom-left-radius: 4px;
border-bottom-left-radius: 4px;}
   
.breadcrumb .crust:last-child a.crumb {
       
font-weight: bold;
border: 0.1px solid #000;}

.breadcrumb .crust .arrow {

border: 13px solid transparent;
border-right: none;
border-left-color: #00aeff;
 -moz-border-right-colors: #a5cae4;
display: block;
position: absolute;
right: -12px;
top: 0px;
z-index: 50;
width: 0px;
height: 0px;}

.breadcrumb .crust .arrow span {

border: 12px solid transparent;
border-right: 1px none #1F1F1F;
border-left-color: #1F1F1F;
 -moz-border-right-colors: #f0f7fc;
display: block;
position: absolute;
left: -13px;
top: -12px;
z-index: 51;
white-space: nowrap;
overflow: hidden;
text-indent: 9999px;
width: 0px;
height: 0px;}

.breadcrumb .crust:hover a.crumb {

background-color: #1F1F1F;}

#breadmenubar {

 margin-top: -15px;}   

/* END NEW BREADCRUMB MENU */

#movehead {

 margin-top: -10px;}
 
#view_forum_move {

 margin-top: -3px;}

To be fully honest with you this was a total b*tch for me to get working fully but I finally got it. If your not happy with it you can fully tweak to suit your site!

Demon-Cod3rs 25th April 2015 09:16

check u232 out for the new mod of this by the man who made this

BamBam0077 25th April 2015 10:52

:lol: "Check u232 out for the new mod of this by the man who made this"

if your talking about - http://forum-u-232.servebeer.com/ind...4.html#msg5704 than you will notice it nothing like mine as the one I created it based on css not images but I will give that developer credit as he did design another approach for non css knowledge based members not going to take that away from him. :gum:

Demon-Cod3rs 25th April 2015 14:58

nice one:drink:


All times are GMT +2. The time now is 21:56.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.