Welcome Guest. Please Login or Register  


You are here: Index > Softaculous Auto Installer > General Support > Topic : Need assistance with WordPress Admin Sets & WHMCS module



Threaded Mode | Print  

 Need assistance with WordPress Admin Sets & WHMCS module (2 Replies, Read 6972 times)
cikez
Group: Member
Post Group: Newbie
Posts: 2
Status:
Hello, I was successfully able to follow your instructions on how to configure my WHMCS installation to provision WordPress installations on successful payment. I was also successfully able to get WordPress Admin Sets to automatically install specific plugins during the installation.

My issue is, I need to be able to specify a specific WordPress set for a specific PID.

Here is what I am currently using (works for all):
PHP Code

 $GLOBALS['softaculous_conf']['install']['pid'][1] = 'WordPress'// 1 is the PID and WordPress is the script we want to install
$GLOBALS['softaculous_conf']['install']['pid'][17] = 'WordPress';
$GLOBALS['softaculous_conf']['install']['pid'][18] = 'WordPress';

$GLOBALS['softaculous_conf']['defaults']['sets_name'][] = 'default-set_admin'



I tried this but it does not seem to work:
PHP Code

 $GLOBALS['softaculous_conf']['defaults']['defaults_by_pid'][1]['sets_name'][] = 'default-set_admin'



Any help would be much appreciated! Thanks.
IP: --   

Need assistance with WordPress Admin Sets & WHMCS module
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 5636
Status:
Hi,

Sorry for the delay in response.

It seems the variable was defined incorrectly in sample softaculous_extra.php

The correct syntax would be :
$GLOBALS['softaculous_conf']['defaults_by_pid'][1]['sets_name'][] = 'default-set_admin';

Sorry for the inconvenience caused.

We will update the conf file soon.

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

Need assistance with WordPress Admin Sets & WHMCS module
cikez
Group: Member
Post Group: Newbie
Posts: 2
Status:
Thank you!
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is March 19, 2024, 3:18 am.

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