Register Members List Search Today's Posts Mark Forums Read

Article Options
How to turn off breadcrumbs...
Join Date: Oct 2006
Posts: 37

by BonsaiNut BonsaiNut is offline 30 Nov 2011
Rating: (1 vote - 5.00 average)

For what it's worth, I run a site that has several content areas that are all integrated with vBulletin and that are accessible via tabs in the navbar (a photo gallery, links directory, wiki, etc). I was getting annoyed with breadcrumbs showing up when I did not want them to. So I figured out how to turn off breadcrumbs in all site areas OUTSIDE of the main forums.

You will need to add a conditional "if" statement in your navbar template.

Open navbar, scroll to the bottom, and look for the div code <div id="breadcrumb" class="breadcrumb"> and edit the code so it looks like this:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Using this conditional statement, you can see how you can turn breadcrumbs "on" or "off" for various parts of the site, depending on the value of THIS_SCRIPT.
Views: 5694
Reply With Quote
Old 28 Dec 2012, 13:15
itzkr0me itzkr0me is offline
Join Date: Jun 2012
Blast from the past, but this really did help me. Thanks so much for this.
Reply With Quote
Old 04 Apr 2013, 16:52
matrex722's Avatar
matrex722 matrex722 is offline
Join Date: Jan 2007
nice work
Reply With Quote
Old 27 May 2014, 21:58
asabet asabet is offline
Join Date: Dec 2008
Thank you, this rocks.
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Article Options

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

New To Site? Need Help?

All times are GMT. The time now is 00:47.

Layout Options | Width: Wide Color: