![]() |
Unable to use forum conditional in header or threadbit
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> |
For forums:
HTML Code:
<vb:if condition="$foruminfo['forumid'] != '159'"> For Threads: HTML Code:
<vb:if condition="$threadinfo['forumid'] != '159'"> |
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 |
All times are GMT. The time now is 02:35 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:
|