how to remove the name of the forum boards in Breadcrumb
SunDi3yansyah Offline
Junior Member
**
Posts: 23
Joined: Dec 2012
Post: #1
how to remove the name of the forum boards in Breadcrumb
When I would ask, what if I want to remove the name of the board in the forum navigation, because there was no house penggnti URL is an image by following the tutorial here
http://yaldaram.com/thread-317.html Or http://myskins.org/Thread-Make-A-Nice-Br...http://myskins.org/Thread-Make-A-Nice-Breadcrumb-Navigation-for

[Image: how+to+remove+this+board+breadcrumb.jpg]

I've been trying to work on the code below but was not successful

Code:
// Add our main parts to the navigation
$navbits = array();
$navbits[0]['name'] = $mybb->settings['bbname_orig'];
$navbits[0]['url'] = $mybb->settings['bburl']."/index.php";


please visit my test forum http://kampoeng.comuv.com/

03-23-2013 04:11 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Destroy666 Offline
Junior Member
**
Posts: 27
Joined: Jul 2012
Post: #2
RE: how to remove the name of the forum boards in Breadcrumb
Remove the 0 element but leave the array. Works for me.
03-24-2013 01:52 AM
Find all posts by this user Quote this message in a reply
SunDi3yansyah Offline
Junior Member
**
Posts: 23
Joined: Dec 2012
Post: #3
RE: how to remove the name of the forum boards in Breadcrumb
(03-24-2013 01:52 AM)Destroy666 Wrote:  Remove the 0 element but leave the array. Works for me.

if you belong to the following?

Code:
// Add our main parts to the navigation
$navbits[]['name'] = $mybb->settings['bbname_orig'];
$navbits[]['url'] = $mybb->settings['bburl']."/index.php";


tolong beri instruksi yang jelas, saya masih awam dalam bahasa PHP

(This post was last modified: 03-24-2013 02:51 AM by SunDi3yansyah.)
03-24-2013 02:49 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Destroy666 Offline
Junior Member
**
Posts: 27
Joined: Jul 2012
Post: #4
RE: how to remove the name of the forum boards in Breadcrumb
Uhmm, English?

Replace to:

Code:
// Add our main parts to the navigation
$navbits = array();

03-24-2013 03:19 AM
Find all posts by this user Quote this message in a reply
SunDi3yansyah Offline
Junior Member
**
Posts: 23
Joined: Dec 2012
Post: #5
RE: how to remove the name of the forum boards in Breadcrumb
(03-24-2013 01:52 AM)Destroy666 Wrote:  Remove the 0 element but leave the array. Works for me.

if you belong to the following?

Code:
// Add our main parts to the navigation
$navbits[]['name'] = $mybb->settings['bbname_orig'];
$navbits[]['url'] = $mybb->settings['bburl']."/index.php";


Me Wrote:tolong beri instruksi yang jelas, saya masih awam dalam bahasa PHP

I like the intent of the conversation

Quote:please give clear instructions, I still lay in the PHP language

okay
I'll try, if I still fail, I will be back Biggrin
03-24-2013 11:33 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Sama34 Offline
Senior Member
****
Posts: 490
Joined: May 2011
Post: #6
RE: how to remove the name of the forum boards in Breadcrumb

PHP Code:
// Add our main parts to the navigation
$navbits = array();
$navbits[0]['name'] = $mybb->settings['bbname_orig'];
$navbits[0]['url'] = $mybb->settings['bburl']."/index.php";


To:

PHP Code:
// Add our main parts to the navigation
$navbits = array();


Support PM's will be ignored. Yipi
Plugins: Announcement Bars - Custom Reputation - Mark PM As Unread
03-24-2013 02:34 PM
Visit this user's website Find all posts by this user Quote this message in a reply
SunDi3yansyah Offline
Junior Member
**
Posts: 23
Joined: Dec 2012
Post: #7
RE: how to remove the name of the forum boards in Breadcrumb
(03-24-2013 02:34 PM)Sama34 Wrote:  

PHP Code:
// Add our main parts to the navigation
$navbits = array();
$navbits[0]['name'] = $mybb->settings['bbname_orig'];
$navbits[0]['url'] = $mybb->settings['bburl']."/index.php";


To:

PHP Code:
// Add our main parts to the navigation
$navbits = array();


thank you so much you have helped me.
if there is anything I can do I will do for you

once again thanks Biggrin
03-25-2013 12:39 AM
Visit this user's website Find all posts by this user Quote this message in a reply
devid456 Offline
Junior Member
**
Posts: 3
Joined: Jul 2013
Post: #8
RE: how to remove the name of the forum boards in Breadcrumb
this script removes the title bar that says

<script type="text/javascript">
<!--
/* remove Forum Name | Topics | Posts...
and add thread & post info by california */
var td=document.getElementsByTagName("td");
if(location.href.match(/\/?((index\.cgi)?\??(action=(ma.+ad|logout|home))?(#.+)?)?$/)){
    for(i=0;i<td.length;i++){
        if(td[i].width=="1%" && td[i].innerHTML.match(/\d/)){
            if(td[i+1].width.match(/^(1|7)%$/)){
                td[i].innerHTML+="<br />threads";
                td[i].width="8%";
            }else{
                td[i].innerHTML+="<br />posts";
                td[i].width="7%";
            }
        }
        if(td[i].width=="8%" && !td[i].innerHTML.match(/thread/)){
            td[i].width="4%";
        }
        if(td[i].className=="titlebg" && td[i].innerHTML.match(/Forum Name/i)){
            td[i].parentNode.style.display="none";
        }
    }
}
//-->
</script>
07-03-2013 11:44 PM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #9
RE: how to remove the name of the forum boards in Breadcrumb
^ Seriously wtf?

My Blog
07-04-2013 10:04 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: