The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
adding conditionals in an array
is it possible at all, i'm trying to do something like this
PHP Code:
|
#2
|
||||
|
||||
Create variables with the values where you have conditionals, then just put the variables in the arrays.
Then put the array variables in the string replace. Also, those conditionals where the else = "" are not necessary. Just put the values in. If it's not there, there is nothing to replace and it will move on. So for example. PHP Code:
PHP Code:
|
#3
|
||||
|
||||
thanks for the help, i ended up with this
PHP Code:
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|