The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
$vbulletin-options[''] in array check not working
I'm having a small problem. I'm installing vbulletin settings for my banner system over at webhostdebate, but when trying to store the mime allowable types in a vbulletin setting it fails to validate an image as an image.
Code that works: PHP Code:
PHP Code:
|
#2
|
|||
|
|||
Store the types as a space delimited list in settings:
Code:
image/gif image/png image/jpg image/jpeg image/bitmap Code:
if (in_array($_FILES['banner']['type'], explode(" ", $vbulletin->options['banner_types']))) |
#3
|
|||
|
|||
thanks, that worked.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|