Posted By: Brijesh on August 20, 2018, 10:28 am | Post: 1 |
Hi,
Are you using these settings in Softaculous admin panel or in the auto install module ? For configuring default settings in auto install module use the following guide : http://www.softaculous.com/docs/WHMCS_Auto_Install_Module#Specify_default_values_for_Custom_Fields Here is the code that you need to add in softaculous_extra.php for the settings you need : PHP Code
----------------------- Webuzo - Multi User Hosting Control Panel AMPPS - Best WordPress/PHP/MySQL development tool |
Posted By: Brijesh on August 21, 2018, 7:39 am | Post: 3 |
Hi,
The settings in softaculous_extra.php is for the enduser panel hence the settings name in enduser panel needs to be used. So this one is correct : $GLOBALS['softaculous_conf']['defaults']['eu_auto_upgrade'] = 1; The setting name in enduser panel is "eu_auto_upgrade" and the setting name in admin panel is "enable_auto_upgrade". Some settings do have different name based on its usage. If you have any doubt for the settings you can contact us anytime. ----------------------- Webuzo - Multi User Hosting Control Panel AMPPS - Best WordPress/PHP/MySQL development tool |
Posted By: Brijesh on August 23, 2018, 1:58 pm | Post: 5 |
Basically the WHMCS hook makes an API call. The API parameters are documented here :
http://www.softaculous.com/docs/API#Install_a_Script These settings are not required : $GLOBALS['softaculous_conf']['defaults']['upgrade_backup_on'] = 1; $GLOBALS['softaculous_conf']['defaults']['auto_backup_limit'] = 2; $GLOBALS['softaculous_conf']['defaults']['force_auto_upgrade'] = 1; These are admin panel settings and when you set these in admin panel they are saved and you do not need to post when making calls to enduser panel. ----------------------- Webuzo - Multi User Hosting Control Panel AMPPS - Best WordPress/PHP/MySQL development tool |
Posted By: sitedartweb on August 23, 2018, 5:33 pm | Post: 6 |
Perfect...
Issue resolved. Thank you very much. BTW: anywhere I could get a better list of options we can use for the Auto Installer? |
Posted By: Brijesh on August 24, 2018, 7:00 am | Post: 7 |
Hi,
The below guide lists almost all options you can pass while installing a script : http://www.softaculous.com/docs/API#Install_a_Script ----------------------- Webuzo - Multi User Hosting Control Panel AMPPS - Best WordPress/PHP/MySQL development tool |