Blesta Auto Install Module
This guide will help you to setup the Softaculous Auto Install plugin in Blesta to auto-install scripts after a user account is created. Setting this up is very easy. This guide assumes that you have already installed Softaculous on your server.
Note: This plugin works only with cPanel at the moment.
List of Scripts
All the scripts in Softaculous can be Auto Installed. Following is the popular list of scripts :
WordPress, b2evolution, StatusNet, Drupal, Mambo, phpBB, SMF, AEF, Coppermine, Gallery, Jcow, OpenClassifieds, openX, WebCalendar, Shadows Rising, phpList, SquirrelMail, LimeSurvey, Piwik, SugarCRM, PHProjekt, osCommerce, Magento, phpBook, HESK, osTicket, kPlaylist, VidiScript, Gregarius, CodeIgniter, Moodle, Elgg.
Download and Upload
Download the Auto Installation plugin here File:Softaculous.zip
Unzip it and upload the softaculous folder, in your /path/to/blesta/plugins/ Directory.
Install the Plugin
Once you have uploaded the plugin you will need to install it from the Blesta admin panel -> Settingss -> Plugins page. Click on the Available tab on the Plugins page and look for the Soft Auto Installer plugin and click on the Install button.
Editing the Package
This guide assumes you have already setup the Package in Blesta to create user accounts automatically when the order is activated.
Setup Configurable Options
Now click on the Create Option button to create configurable options. We need to create the following Configurable Options as demonstrated in the screenshot below. Please use the same option name as in the screenshots below otherwise the plugin will not work.
Note : You can give "None" as the first option in the List of Scripts. If a user doesn't want to install a script when their account is created, they can choose "None" to refrain from installing any script.
Now go to your package and edit the package to assign the Configurable Options Group you just created to your package.
Testing the Setup
You can test the setup by making a DUMMY Order and activating that order. When the order is activated and the control panel account is created the Softaculous Auto Install plugin will install the script as well.
There could be several reasons for the plugin Not to work :
- A firewall is blocking requests
- You put the incorrect Field Names
- cURL is disabled in PHP
If you need any assistance then please contact Softaculous Support. Please send us a screenshot of the Order Form and the Configurable Options you added to the Package.