MyBB Community Forums
How to load these two option groups in the ACP? - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Extensions (https://community.mybb.com/forum-201.html)
+--- Forum: Plugins (https://community.mybb.com/forum-73.html)
+---- Forum: Plugin Development (https://community.mybb.com/forum-68.html)
+---- Thread: How to load these two option groups in the ACP? (/thread-183117.html)



How to load these two option groups in the ACP? - expat - 2015-10-06

How to load these two option groups in the ACP?

And then to call the array from the front end?

http://i.imgur.com/cUk8fu3.jpg


RE: How to load these two option groups in the ACP? - SvePu - 2015-10-06

That are the plugin settings option codes "groupselect" and "forumselect".
=> http://docs.mybb.com/1.8/development/plugins/#plugin-settings


RE: How to load these two option groups in the ACP? - expat - 2015-10-06

thanks can you skip a variable?
// With values
$plugins->add_hook('index_start', 'do_something', 5, 'anotherfile.php');


i have seen people use
// With values
$plugins->add_hook('index_start', array('do_something', 'lang_load')');