The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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:
|
#2
|
|||
|
|||
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)"> <vb:if condition="$this_script = THIS_SCRIPT"><br /><b>{vb:raw this_script}</b><br /></vb:if></vb:if> 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} {vb:raw navbits.lastelement} </ul> <hr /> </div> Code:
</vb:if> |
Благодарность от: | ||
Lynne |
#3
|
|||
|
|||
Thank you so much
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|