Softaculous


Topic : Trouble with Wordpress and custom plugins/theme set


Posted By: mkrokos on March 19, 2023, 12:52 am
Hello,

trying to auto install a Wordpress with custom theme and plugins upon a specific product purchased from WHMCS installation.

  1. I have created a set of plugins and a theme in the "Manage Wordpress Sets" area of Softaculous admin area. I have named it "ClickAway" (soft name 'clickaway')
  2. I have created the product in WHMCS and added the required Custom Fields (but not a field for the script, this should be "Wordpress"). Product ID is 99
  3. I have uploaded the softaculous_extra.php file with the following:

Code
$GLOBALS['softaculous_conf']['protocol'] = 'https://www.';
$GLOBALS['softaculous_conf']['user_mod_dir'] = 0;
$GLOBALS['softaculous_conf']['overwrite_existing'] = 0;
$GLOBALS['softaculous_conf']['use_special_chars'] = 0;
$GLOBALS['softaculous_conf']['use_special_chars_username'] = 0;
$GLOBALS['softaculous_conf']['use_special_chars_password'] = 0;
$GLOBALS['softaculous_conf']['use_panel_login'] = 0;
$GLOBALS['softaculous_conf']['softaculous_sidebar_link'] = 0;
$GLOBALS['softaculous_conf']['defaults']['email_password'] = 1;

$GLOBALS['softaculous_conf']['fields']['Script'] = 'Script Name';
$GLOBALS['softaculous_conf']['fields']['Admin Name'] = 'Admin Username';
$GLOBALS['softaculous_conf']['fields']['Admin Pass'] = 'Admin Password';
$GLOBALS['softaculous_conf']['fields']['Directory'] = 'Installation Directory';

$GLOBALS['softaculous_conf']['custom_fields']['site_name'] = 'Site Name';
$GLOBALS['softaculous_conf']['custom_fields']['site_desc'] = 'Site Description';

$GLOBALS['softaculous_conf']['install']['pid'][99] = 'WordPress';
$GLOBALS['softaculous_conf']['defaults_by_pid'][99]['sets_name'][] = 'clickaway_admin';
$GLOBALS['softaculous_conf']['pid'] = array(99);

$GLOBALS['softaculous_conf']['defaults']['admin_username'] = 'admin';
$GLOBALS['softaculous_conf']['defaults']['site_name'] = 'This is a default Site Name';
$GLOBALS['softaculous_conf']['defaults']['softdirectory'] = 'test';


However nothing is installled when I accept the order and run the create module.

Any ideas?

Thanks in advance

Posted By: Brijesh on March 20, 2023, 12:52 pm | Post: 1
Hi,

Can you please go to WHMCS -> System Activity Log

and check if you see any log from Softaculous there ?

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

Posted By: mkrokos on March 20, 2023, 1:48 pm | Post: 2
Hello and thanks for the reply, however I managed to set it up correctly.

Posted By: Brijesh on March 21, 2023, 3:40 am | Post: 3
Glad to know you were able to set it up.

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

Powered By AEF 1.0.8 © 2007-2008 Electron Inc.