MyBB Community Forums

Full Version: Hook into plugin installation?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is it possible to hook into the installation process of a plugin? For example, when you install the plugin I want a page to showup where they fill in a few inputs first, before the plugin installs and activates.

Can this be done? If so which hook should I look at.
just a guess --> admin_config_plugins_activate hook might work
plugin hooks documentation Wrote:./admin/modules/config/plugins.php

* admin_config_plugins_begin
* admin_config_plugins_check
* admin_config_plugins_activate
* admin_config_plugins_deactivate
* admin_config_plugins_activate_commit
* admin_config_plugins_deactivate_commit
* admin_config_plugins_plugin_list
The install/activate() function itself is already called in your plugin, what else do you need?

Usually you'd just put the inputs you need as settings, though.
*thumbsup*