![]() |
Exclude breadcrumbs from specific forums?
anyone know how I can exclude breadcrumbs from certain forums?
Thanks --------------- Added [DATE]1310359873[/DATE] at [TIME]1310359873[/TIME] --------------- IUpdate I figured out how to the do it to the cms, so i guess by question would be what do i replace index with? can I have index,forum home, forum id? Quote:
|
To do this, go into your navbar template and find:
Code:
<div id="breadcrumb" class="breadcrumb"> Before that, add: Code:
<vb:if condition="!in_array($GLOBALS[forumid], array(4,5))"> Additionally, if you would also like to remove it from specific areas of the site, use this instead: Code:
<vb:if condition="!in_array($GLOBALS[forumid], array(4,5)) AND !in_array(THIS_SCRIPT, array('blog','vbcms'))"> If you are having trouble finding what value to put in the THIS_SCRIPT, go to your "footer" template, find: Code:
<div id="footer_morecopyright" class="shade footer_morecopyright"> And after that, add: Code:
<vb:if condition="is_member_of($bbuserinfo, 6)"> Code:
<vb:if condition="$bbuserinfo['userid'] == 1"><vb:if condition="$this_script = THIS_SCRIPT"><br /><b>{vb:raw this_script}</b><br /></vb:if></vb:if> Then find (very close to the above code) Code:
{vb:raw navbits.breadcrumb} Code:
</vb:if> |
Thank you so much :)
|
All times are GMT. The time now is 03:52 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|