Softaculous


Topic : WHMCS/Softaculous Automation


1

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.


Edited by Brijesh : December 15, 2020, 10:46 am

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

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

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

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

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

Posted By: webhostal on April 17, 2020, 8:51 am | Post: 6
Quote From : Brijesh July 12, 2019, 10:57 am
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.




hello it seems that this method is not working anymore.
i am just trying to install the set but it is not working, installin just wordpress without the plugins and themes.

Posted By: Brijesh on April 17, 2020, 10:40 am | Post: 7
Hi,

Can you please try this :
$GLOBALS['softaculous_conf']['defaults']['sets_name'] = array('MY_PLUGIN_SET_admin');

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

Posted By: uhkghghg on November 19, 2020, 11:12 pm | Post: 8
Hi, that last post's code doesn't work please advise.

Posted By: uhkghghg on November 19, 2020, 11:30 pm | Post: 9
Quote From : Brijesh April 17, 2020, 10:40 am
Hi,

Can you please try this :
$GLOBALS['softaculous_conf']['defaults']['sets_name'] = array('MY_PLUGIN_SET_admin');


This, or the above code isn't working please advise

Posted By: Brijesh on November 20, 2020, 2:45 pm | Post: 10
Hi,

Can you please open a support ticket with us so that we can check this for you :
https://softaculous.deskuss.com/

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

Posted By: uhkghghg on November 20, 2020, 8:44 pm | Post: 11
I have done

Posted By: Brijesh on November 23, 2020, 11:52 am | Post: 12
@uhkghghg We could't find ticket with your email.

Can you please PM me your Ticket ID so I can check this for you ?

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

Posted By: uhkghghg on November 23, 2020, 12:15 pm | Post: 13
634426

Posted By: Brijesh on November 23, 2020, 12:18 pm | Post: 14
Hi,

Our team has replied to your ticket today. If you still face the issue do let us know and our team will get back to you.

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

Powered By AEF 1.0.8 © 2007-2008 Electron Inc.