The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
What's the Condition for a vB Setting?
<if condition="$options['ShowX'] == yes">Show this</if> Will there be a conditional that works on the lines of that? |
#2
|
|||
|
|||
![]()
Yes/No settings are boolean. 1 for yes and 0 for no.
So you can simplify your condition... PHP Code:
PHP Code:
|
#3
|
||||
|
||||
![]()
nopid! Your are the greatest! So if I put it as boolean, and for default I could put 1 or 0?
|
#4
|
||||
|
||||
![]()
Those conditions did nothing... Anything that someone knows will work?
|
#5
|
||||
|
||||
![]() Quote:
|
#6
|
|||
|
|||
![]() PHP Code:
|
#7
|
||||
|
||||
![]()
OK, now how do I get that to be for no?
|
#8
|
|||
|
|||
![]() PHP Code:
|
#9
|
||||
|
||||
![]()
filburt and reaktor7 you rock
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|