Quote:
Originally Posted by veenuisthebest
1. And in the option code I see "setting[$setting[varname]", does varname needs to be replaced by something ?
|
No, leave it as is. This is for VBulletin Debug mode.
Quote:
Originally Posted by veenuisthebest
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 ?
|
Your $vbulletin->options['my_setting_name'] will contain comma delimited list of checked options. explode it and use.
Quote:
Originally Posted by veenuisthebest
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
|
This is VBulletin internal feature I never used.