Welcome Guest. Please Login or Register  


You are here: Index > Softaculous Auto Installer > General Support > Topic : whmcs auto installer module



Normal Mode | Print  

whmcs auto installer module
omni
Group: Member
Post Group: Newbie
Posts: 6
Status:
Hi,

It turns out the above changes to variable names lets it install but it's not passing the data from the whmcs form to the sql insert. I tested the custom script installer directly in softaculous.  The variables are getting from that form to database, but not from the whmcs auto-installer hook.

Code
$GLOBALS['softaculous_conf']['custom_fields']['user_name'] = 'Admin Name';
$GLOBALS['softaculous_conf']['custom_fields']['user_password'] = 'Admin Pass';
$GLOBALS['softaculous_conf']['custom_fields']['user_email'] = 'Admin Email'


and the install.xml inputs

Code
            <input type="text" name="user_name" size="30">
                <head>{{user_name}}</head>               
            </input>
            <input type="text" name="user_password" size="30">
                <head>{{user_password}}</head>
                <handle>__admin_pass</handle>
            </input>
            <input type="text" name="user_email" size="30">
                <head>{{user_email}}</head>                               
            </input>


I really appreciate the help.
IP: --   


Threads
 omni   whmcs auto installer module, can't seem to get the vars to pass (8 Replies, Read 1938 times)
    |--  Brijesh   Hi, Please replace...   on May 8, 2014, 1:56 pm
    |--  omni    Brijesh you are...   on May 8, 2014, 2:17 pm
    |--  Brijesh   Hi, Where exactly...   on May 9, 2014, 9:48 am
    |--  omni   after checking out...   on May 9, 2014, 10:23 pm
    |--  Brijesh   Hi, This message...   on May 10, 2014, 7:16 am
    |--  omni   Hi, It turns...   on May 10, 2014, 10:08 am
    |--  Brijesh   Hi, Can you...   on May 10, 2014, 2:20 pm
    |--  Brijesh   Hi, I have...   on May 12, 2014, 6:21 am

« Previous    Next »

Normal Mode | Print  



Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is May 10, 2025, 2:39 pm.

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