This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
plugins:demo [2012/02/13 05:01] nuxwin |
plugins:demo [2013/04/27 05:13] nuxwin [II. Plugin activation] |
||
---|---|---|---|
Line 5: | Line 5: | ||
^Author|Laurent Declercq <[email protected]>| | ^Author|Laurent Declercq <[email protected]>| | ||
^License|GPLv2| | ^License|GPLv2| | ||
- | ^i-MSCP compatibility version|>= 1.0.2.0 (No released version)| | + | ^i-MSCP target versions|>= 1.0.2.1| |
- | ^Last Update|2012-02-13| | + | ^Last Update|2012-02-16| |
======Introduction====== | ======Introduction====== | ||
Line 37: | Line 37: | ||
</code> | </code> | ||
- | **Note:** User accounts are show in dialog box only if they exists in the i-MSCP database. | + | **Note:** User accounts are shown in dialog box only if they exists in the i-MSCP database. |
====B. Protection against deletion and password modification (Demo users)==== | ====B. Protection against deletion and password modification (Demo users)==== | ||
Line 110: | Line 110: | ||
=====II. Plugin activation===== | =====II. Plugin activation===== | ||
- | To activate the plugin, you must configure it and edit the **/etc/imscp.conf** to set the '**DEMO_SERVER**' variable to **1**. | + | To activate the plugin, you must configure it and update the plugin list via the i-MSCP plugin management interface. Once it's done, you must activate it by clicking on the activate link into the plugin management interface. |
+ | |||
+ | **Important** | ||
+ | |||
+ | In production environment, this plugin must be protected against deactivation. For this, you must protect it by clicking on the **protect** link in the plugin management interface. | ||
+ | |||
+ | =====III. Plugin deactivation===== | ||
+ | |||
+ | First, if the plugin is protected, you must edit the **gui/data/persistent/protected_plugins.php** file to remove it from the list of protected plugins. After, you will be able to deactivate it by clicking on the **deactivate** link into the plugin management interface. | ||
Feel free to test it and report any bugs or suggestions for improvement. | Feel free to test it and report any bugs or suggestions for improvement. |