The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
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. |
|
#2
|
|||
|
|||
|
This will not work, that`s what I know. But where are you searching for exactly?
|
|
#3
|
|||
|
|||
|
Quote:
![]() PHP Code:
|
|
#4
|
||||
|
||||
|
Use in_array or
Code:
<if condition="THIS_SCRIPT == 'member' OR THIS_SCRIPT == 'showthread' OR THIS_SCRIPT == 'index'"> |
|
#5
|
|||
|
|||
|
Correction to the code provided by Stickers...
Code:
<if condition="in_array(THIS_SCRIPT, array('index', 'showthread', 'member', 'usercp', 'private', 'profile', 'subscription'))">
|
|
#6
|
|||
|
|||
|
Thanks for the info Opserty
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|