The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Linking two If conditions in Plugin
Hi all is it possible to have two if conditions in a plugin one dependant on the other like this:
if ($vbulletin->options['bsactive'] and $vbulletin->options['bs_inarray_active']){ or do i have to have: if ($vbulletin->options['bsactive']){ if ($vbulletin->options['bs_inarray_active']){ 'MY CODE } } |
#2
|
||||
|
||||
Quote:
if ($vbulletin->options['bsactive'] && $vbulletin->options['bs_inarray_active']){ |
#3
|
||||
|
||||
And will work Too since its Part of the php syntax but Yes this will work As intended
|
#4
|
||||
|
||||
Thank you both for that
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|