Welcome Guest. Please Login or Register  


You are here: Index > Softaculous Auto Installer > General Support > Topic : Custom Scripts Issue WHMCS



Threaded Mode | Print  

 Custom Scripts Issue WHMCS, Cannot get it to install my custom script (3 Replies, Read 382 times)
damncreative
Group: Member
Post Group: Newbie
Posts: 3
Status:
What Works
- My custom wordpress package installs everything as it should and works
- I called this custom script as it's softname wpelementorvip

What Have I Done?
- I have added custom field to it called Script and set the Select Options field to Elementor VIP and as a Drop Down
- I have added my custom script to softaculous_extra to /path/to/whmcs/includes/hooks/ which you can find my php below (it's the correct ID as well)

PHP Code

 $GLOBALS['add_softaculous_scripts'] = array(
                    
10001 => array('name' => 'Elementor VIP',
                                
'softname' => 'wpelementorvip',
                                
'desc' => 'WordPress Elementor VIP Package, filled with licensed pro plugins.',
                                
'ins' => 1,
                                
'cat' => 'blogs',
                                
'type' => 'php',
                                
'ver' => '5.1.1'
                                
)
                            ); 




What Doesn't Work
Upon purchase and after selection of the Drop Down, it installs default wordpress. It does not install my custom script package.
IP: --   

Custom Scripts Issue WHMCS
damncreative
Group: Member
Post Group: Newbie
Posts: 3
Status:
Another thing to mention is I have cPanel Extended installed and it has only two options - the list of scripts that are default and then the Configurable Options - any ideas?
IP: --   

SOLVED - Custom Scripts Issue WHMCS
damncreative
Group: Member
Post Group: Newbie
Posts: 3
Status:
If you want to use Custom Softaculous Scripts inside of WHMCS and cPanel Extended you need to do the following:

Reference:
https://www.docs.modulesgarden.com/CPanel_Extended_For_WHMCS#Configurable_Options_For_Application_Auto_Install

- Go to Configurable Options
- Create a New Group called Application
- Select your Assigned Products, you can hold shift or CTRL to select them in the list
- Click Add New Configurable Option
- Call it Installation App
- Under Options input the Name of your Custom Script EXACTLY as you have it in Softaculous

It should properly install
IP: --   

Custom Scripts Issue WHMCS
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 4344
Status:
Hi,

Glad to know your issue was resolved.

-----------------------
SitePad Website Builder
Follow us on Twitter
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is October 18, 2019, 6:58 pm.

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