The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
please help with if condition
This is to go in postbit_legacy I am looking for the code so that if they say yes, it will display an image, but the next field would be if they want the preset image or a custom one, where they will enter the URL. So: Do you want a banner? Yes / No Would you like it to be preset / custom? Preset / Custom If Custom, Enter URL here - URL How would I do this with an IF condition? Note that the image will be surrounded by <a href=""> to link to another site. Currently I am using: PHP Code:
|
#2
|
||||
|
||||
you know, if can contain another if...
|
#3
|
|||
|
|||
Well for some reason, it doesn't seem to work if I have:
What type of banner? Default / Custom / None Can you please put some sample code up that should work? It would need to allow them to put a URL to their banner in place |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|