Welcome Guest. Please Login or Register  


You are here: Index > Softaculous Auto Installer > General Support > Topic : Auto wordpress install via WHMCS custom options



Threaded Mode | Print  

 Auto wordpress install via WHMCS custom options (1 Replies, Read 1332 times)
theviewer1985
Group: Member
Post Group: Newbie
Posts: 1
Status:
Hi guys,

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:

$GLOBALS['softaculous_conf']['custom_fields']['site_name'] = 'Site Name';
$GLOBALS['softaculous_conf']['custom_fields']['site_desc'] = 'Site Description';
$GLOBALS['softaculous_conf']['defaults']['eu_auto_upgrade'] = 2;
$GLOBALS['softaculous_conf']['defaults']['softproto'] = 3;

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.

Cheers
IP: --   

Auto wordpress install via WHMCS custom options
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 5652
Status:
Hi,

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;

Let us know if you have any questions.

-----------------------
Webuzo - Multi User Hosting Control Panel
AMPPS - Best WordPress/PHP/MySQL development tool
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is April 25, 2024, 4:11 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.025