thanks for your reply !
alright so $settings['my_setting_name'] is the field setting name, fine.
1. And in the option code I see "setting[$setting[varname]", does varname needs to be replaced by something ?
2. How do I check for the checked options from the php page ? Like for boolean we do :-
PHP Code:
if($vbulletin->options['mysetting_enable']
{
enabled = true;
}
else
{
enabled = false;
}
How to achieve similar for checkbox ?
3. umm.. not sure what you mean by bitfield supported. See in admincp->Social Group Options and Album Options and Visitor Message options. They all have a setting of "Allowed BBCODES", their option code is set to
bitfield:nocache|allowedbbcodesfull and it automatically outputs a set of checkboxes of bbcodes.
I did the same and it works but as in my 2nd ques, how do I check it ?
Thank you