The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Validation PHP Code question
First off, thanks for all the help I've been detting this week. I appreciate it and it has saved me from pulling all of my hair out.
Are there any examples on using the Validation PHP Code for settings in vBulletin Options? For example, Ive got a setting with a Varname of jab_thumbnail_path. I'd like to use the Validation PHP Code to check to make sure that the path enetered is writable before storing it. I'm just unsure of how to properly access the value entered for jab_thumbnail_path in the Validation PHP Code and what will be displayed to the user if the validation fails. Or is this not the best place/practice to do this? Thanks for your help, James |
#2
|
||||
|
||||
The option's value is $data, and you just return true, or false.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|