![]() |
IF or IF or
How would I go about doing:
<if condition="THIS_SCRIPT == 'member' or 'showthread' or 'index'"> is that valid ? I need something along the lines of that. |
This will not work, that`s what I know. But where are you searching for exactly?
|
Quote:
PHP Code:
|
Use in_array or
Code:
<if condition="THIS_SCRIPT == 'member' OR THIS_SCRIPT == 'showthread' OR THIS_SCRIPT == 'index'"> |
Correction to the code provided by Stickers...
Code:
<if condition="in_array(THIS_SCRIPT, array('index', 'showthread', 'member', 'usercp', 'private', 'profile', 'subscription'))"> |
Thanks for the info Opserty :)
|
All times are GMT. The time now is 09:29 AM. |
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:
|