2015-04-02, 09:12 AM
Hi there,
Having added groupselect and forumselect for the settings options is really great, but I think it could be useful to have the hability to select only one group (or forum), without the "all" nor "none" options.
I mean something like:
And another small suggestion : having a "userselect" method (ajax completion ?)
Regards
Having added groupselect and forumselect for the settings options is really great, but I think it could be useful to have the hability to select only one group (or forum), without the "all" nor "none" options.
I mean something like:
else if($type[0] == "forumalone")
{
$selected_value = (int)$setting['value']; // No need to check if empty, int will give 0
$setting_code = $form->generate_forum_select('select['.$setting['name'].'][]', $selected_value, array('id' => $element_id, 'size' => 5));
}
else if($type[0] == "groupalone")
{
$selected_value = (int)$setting['value']; // No need to check if empty, int will give 0
$setting_code = $form->generate_group_select('select['.$setting['name'].'][]', $selected_value, array('id' => $element_id, 'size' => 5));
}
And another small suggestion : having a "userselect" method (ajax completion ?)
Regards