Posted By: Brijesh on August 26, 2019, 6:27 am | Post: 1 |
Hi,
I would not suggest to make changes in install.xml directly as that file will be overwritten when a new version of that scripts is available. You can refer to the following guide on how to add plugins to WordPress : https://softaculous.com/docs/Adding_Plugins You will have to add the fields in XML file but that will just display the field on install form, if you would like to use the value posted by users in that field you will need to make changes in __post_mod_install() function in mods.php Once this is done you will need to make changes in your WHMCS to ask the fields as per the product chosen. I assume you will create separate products for each script i.e. separate product for WordPress with WooCommerce, another product for WordPress with Invoicing. So while configuring these products you can make changes to "Custom Fields" and create the fields as per your requirement. ----------------------- Webuzo - Multi User Hosting Control Panel AMPPS - Best WordPress/PHP/MySQL development tool |
Posted By: Brijesh on August 27, 2019, 1:17 pm | Post: 3 |
Hi,
You can use all the fields that exist in install.xml of a script in [[]], e.g. [[admin_username]], [[admin_email]] Also there are few other keys that can be used, basically any keys that exist in $__settings array can be used. You can use the post_install filter to log the $__settings array in a log file and check all the keys : https://www.softaculous.com/docs/developers/filters/#post_install ----------------------- Webuzo - Multi User Hosting Control Panel AMPPS - Best WordPress/PHP/MySQL development tool |
Posted By: Brijesh on August 31, 2019, 12:41 pm | Post: 6 |
Hi,
Can you please open a support ticket with access to your WHMCS installation 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 |