The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
I want to use the following conditional
<vb:if condition="$forum[forumid] != x"></vb:if> to disable the viewing of notices in a specific forum so I open up template "navbar" and add it around the notices code and it does not work. Any ideas? <vb:if condition="$forum[forumid] != 159"> <vb:if condition="$show['notices']"> <form action="profile.php?do=dismissnotice" method="post" id="notices" class="notices"> <input type="hidden" name="do" value="dismissnotice" /> <input type="hidden" name="s" value="{vb:raw session.sessionurl}" /> <input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" /> <input type="hidden" id="dismiss_notice_hidden" name="dismiss_noticeid" value="" /> <input type="hidden" name="url" value="{vb:raw return_link}" /> <ol> {vb:raw notices} </ol> </form> </vb:if> </vb:if> |
#2
|
|||
|
|||
![]()
For forums:
HTML Code:
<vb:if condition="$foruminfo['forumid'] != '159'"> </vb:if> For Threads: HTML Code:
<vb:if condition="$threadinfo['forumid'] != '159'"> </vb:if> |
#3
|
||||
|
||||
![]()
Thank you, could never figure out why I couldnt get variables to work.
![]() --------------- Added [DATE]1269927611[/DATE] at [TIME]1269927611[/TIME] --------------- Thanks to you my Tutorial section finally looks how I want it to ![]() http://thewindows7site.com/forum/forums/159-Tutorials |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|