Softaculous


Topic : WHMCS/Softaculous Automation


Posted By: nathanplatt on July 4, 2019, 11:46 am
HI Everyone,

I'm using the hock to install wordpress automatically with my packages in cpanel, but i'll like it to also install a set of plugins as well, is this possible?

Posted By: Brijesh on July 12, 2019, 10:57 am | Post: 1
Hi,
You can create WordPress plugin set from Softaculous admin panel -> Software -> Manage WordPress Sets
Create a Set and add plugins that you would like to be installed when a user chooses that set.

Once this is done you will need to change the WHMCS auto install module file "softaculous_extra.php" file and add the below line to install this set when WordPress is auto installed :
PHP Code

 $GLOBALS['softaculous_conf']['defaults']['sets_name[]'] = 'MY_PLUGIN_SET_admin'

In the above line MY_PLUGIN_SET is the name you chose while creating the set from Softaculous admin panel. You need to add "_admin" in the POST value since the plugin set is created from Softaculous admin panel.


-----------------------
SitePad Website Builder
Follow us on Twitter

Posted By: nathanplatt on July 12, 2019, 3:18 pm | Post: 2
How do i limit it to specific package, i tried implementing this and found it was applying it to all packages.

Posted By: Brijesh on July 13, 2019, 6:42 am | Post: 3
Hi,

If you want to install different set of scripts for different WHMCS products you can refer to the following guide :
http://www.softaculous.com/docs/developers/whmcs-auto-install-module/#specify-specific-script-to-install-for-specific-whmcs-products

If you want the Softaculous module only for specific product ids you can use the following guide :
http://www.softaculous.com/docs/developers/whmcs-auto-install-module/#specify-whmcs-product-ids

-----------------------
SitePad Website Builder
Follow us on Twitter

Posted By: nathanplatt on July 15, 2019, 3:34 pm | Post: 4
Is the PID the number at the end of the custom link that WHMCS generates?

Posted By: Brijesh on July 15, 2019, 3:36 pm | Post: 5
Yes

-----------------------
SitePad Website Builder
Follow us on Twitter

Powered By AEF 1.0.8 © 2007-2008 Electron Inc.