Welcome Guest. Please Login or Register  


You are here: Index > Softaculous Auto Installer > General Support > Topic : WHMCS/Softaculous Automation

1


Threaded Mode | Print  

 WHMCS/Softaculous Automation, I want to install wordpress with a set of extension by default (18 Replies, Read 11524 times)
nathanplatt
Group: Member
Post Group: Newbie
Posts: 14
Status:
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?
IP: --   

WHMCS/Softaculous Automation
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 5641
Status:
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
IP: --   

WHMCS/Softaculous Automation
nathanplatt
Group: Member
Post Group: Newbie
Posts: 14
Status:
How do i limit it to specific package, i tried implementing this and found it was applying it to all packages.
IP: --   

WHMCS/Softaculous Automation
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 5641
Status:
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
IP: --   

WHMCS/Softaculous Automation
nathanplatt
Group: Member
Post Group: Newbie
Posts: 14
Status:
Is the PID the number at the end of the custom link that WHMCS generates?
IP: --   

WHMCS/Softaculous Automation
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 5641
Status:
Yes

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

WHMCS/Softaculous Automation
webhostal
Group: NOC
Post Group: Newbie
Posts: 1
Status:
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.
IP: --   

WHMCS/Softaculous Automation
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 5641
Status:
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
IP: --   

WHMCS/Softaculous Automation
uhkghghg
Group: Member
Post Group: Newbie
Posts: 7
Status:
Hi, that last post's code doesn't work please advise.
IP: --   

WHMCS/Softaculous Automation
uhkghghg
Group: Member
Post Group: Newbie
Posts: 7
Status:
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
IP: --   

WHMCS/Softaculous Automation
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 5641
Status:
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
IP: --   

WHMCS/Softaculous Automation
uhkghghg
Group: Member
Post Group: Newbie
Posts: 7
Status:
I have done
IP: --   

WHMCS/Softaculous Automation
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 5641
Status:
@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
IP: --   

WHMCS/Softaculous Automation
uhkghghg
Group: Member
Post Group: Newbie
Posts: 7
Status:
634426
IP: --   

WHMCS/Softaculous Automation
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 5641
Status:
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
IP: --   

« Previous    Next »

Threaded Mode | Print  

1


Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is March 29, 2024, 11:30 am.

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