News:

Want to get involved in developing SMF? Why not lend a hand on our GitHub!

Main Menu

$config_vars option for board selection?

Started by ScopeXL, May 19, 2011, 11:16:20 PM

Previous topic - Next topic

ScopeXL

I am working on a mod, and am using the nice and simple $config_vars for my admin page. I've pretty much figured out how to create checkboxes, textboxes, int fields, and permission settings. Is there a $config_var I can use for board selection? Basically working the same way permissions do it.

i.e.

$config_vars = array(
array('permissions', 'permission_key'),
);


is there a such thing as array('boards', 'key'), or something similar that will allow the user to select boards from a list of current boards?
Thanks in advance for any help.

live627

No. You have to use a query and then add the results to your settings array.

ScopeXL


Advertisement: