BirdOPrey5
07-20-2010, 02:08 AM
OK I made a new option, var name: hiddensigon
yesno type
default: 0
I double checked all the settings from a working mod and they are indentical besides the var name...
Then in my plugin I use an if statement:
if ($vbulletin->options['hiddensigson'])
{
//code
}
But even when I turn the option to "Yes" it never executes the code... when I try to output the variable just to see what it is, I get nothing at all... $vbulletin->options['hiddensigson'] resolves to nothing...
can't figure out what is wrong.:confused:
yesno type
default: 0
I double checked all the settings from a working mod and they are indentical besides the var name...
Then in my plugin I use an if statement:
if ($vbulletin->options['hiddensigson'])
{
//code
}
But even when I turn the option to "Yes" it never executes the code... when I try to output the variable just to see what it is, I get nothing at all... $vbulletin->options['hiddensigson'] resolves to nothing...
can't figure out what is wrong.:confused: