2011-12-02, 10:01 AM
In Admin CP -> Configuration -> Plugins:
1. Would be nice if we could sort plugins by names or controls.
2. When a plugin is activated or installed, MyBB should display a warning message when all plugins are disabled (from Admin CP -> Configuration -> Settings -> General Configuration or when is defined NO_PLUGINS at the top of init.php).
Example of php code in MYBB_ADMIN_DIR/modules/config/plugins.php (maybe at line 338 for MyBB 1.6.5, before any action initiated by plugins):
[attachment=24872]
3. Also, would be nice to tell us what plugin is installed (activated) / uninstalled (deactivated) instead of: "The selected plugin has been uninstalled... etc."
4. And a button in this page to "Disable/Enable All Plugins" quickly.
// Later Edit: To be honest, this could be in MyBB 1.6.6 !
1. Would be nice if we could sort plugins by names or controls.
2. When a plugin is activated or installed, MyBB should display a warning message when all plugins are disabled (from Admin CP -> Configuration -> Settings -> General Configuration or when is defined NO_PLUGINS at the top of init.php).
Example of php code in MYBB_ADMIN_DIR/modules/config/plugins.php (maybe at line 338 for MyBB 1.6.5, before any action initiated by plugins):
if(defined("NO_PLUGINS") || ($mybb->settings["no_plugins"] == 1))
{
$message = /* warning message */;
flash_message($lang->/* warning message */, 'error');
admin_redirect("index.php?module=config-plugins");
}
like in this screenshot:[attachment=24872]
3. Also, would be nice to tell us what plugin is installed (activated) / uninstalled (deactivated) instead of: "The selected plugin has been uninstalled... etc."
4. And a button in this page to "Disable/Enable All Plugins" quickly.
// Later Edit: To be honest, this could be in MyBB 1.6.6 !