Admin_Status_menu,_adding_a_plugin_to - e107inc/e107v1 GitHub Wiki


title: Admin Status menu, adding a plugin to permalink: /Admin_Status_menu,_adding_a_plugin_to/

As of e107 0.7 a plugin can add it's own information to the Status menu displayed in the admin area.

There are two steps to this process.

First off is to register the use of these features with core when the plugin is installed by inserting the following line to your plugin.php:

The next step is to create the file e_status.php your plugins root folder.

You can place any code in here you wish, depending on the information you want to display, noting that everything these files output must be in the $text variable in an appended form (ie. with '.=' not'='). Below is an example of the e_status.php taken from the cores Forum plugin:

The Chatbox plugin also contains an example of an e_status.php file.

Category:API Category:PluginWriting