I am using WHMCS and have a product that auto installs wordpress on cpanel. This mostly works, except I would like to have all sites installed using https as a protocol and also minor auto updates to be enabled.
I have edited the softilicious _extra.php script and added this code:
The site name and description works, but i dont think the protocol or the auto upgrade options are going through. Any ideas?
Also on a separate less urgent note, is there documentation on how to include a wordpress install into my WHMCS product, that has all my chosen plugins and settings within it. Rather than bare bones wordpress.
The fields you posted above seems to be correct and should work. Just make sure these lines are not commented in your softaculous_extra.php file.
If you can open a support ticket with access to your WHMCS admin panel and FTP details to the hooks folder and can check this for you :
https://www.softaculous.com/support/
Regarding your other question for WordPress with plugins, you can refer to the following guide to add plugins to your WordPress installations :
https://softaculous.com/docs/Adding_Plugins
Once you have added the plugin it will be displayed on the install form. For getting it installed via WHMCS auto install module, you can post the default value for the "name" attribute in your checkbox using the $GLOBALS['softaculous_conf']['defaults'] as above.
For e.g. you create a checkbox with the name "my-plugin" for your custom plugin you need to add the following in your softaculous_extra.php to make sure it is installed by default with your WHMCS auto install module :
$GLOBALS['softaculous_conf']['defaults']['my-plugin'] = 1;