![]() |
IF Statement help...
We currently use this for FORUMDISPLAY
Code:
<vb:if condition="$foruminfo['forumid'] == 18"> I'm trying to figure out a similar IF Statement to be used when posting a NEW thread in a SPECIFIC forum Sample link here: Code:
http://www.websitelink.com/forum/newthread.php?do=newthread&f=15 So that if someone is creating a new thread in that forum ID 15 there will be some additonal information thats displayed above the portion of the text editor box. Posting rules etc. Also, How can that new IF Statement be catered to cover two forum IDs such as 15 & 20? Thanks a ton! |
Here's what you need
HTML Code:
<vb:if condition="$_REQUEST['do'] == 'newthread' AND $foruminfo['forumid'] == 18"> HTML Code:
<vb:if condition="$_REQUEST['do'] == 'newthread' AND in_array($forum['forumid'], array(18,21,31,66))"> |
Thanks a ton Simon! I really appreciate it, I'll get it added tonight
:) |
All times are GMT. The time now is 11:51 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:
|