Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - josemnunez

Pages: 1 ... 39 40 [41] 42 43 44
602
New Modules / Re: WHMCS Module Error
« on: March 26, 2018, 11:38:48 PM »
Try to review and download this new module

http://wiki.centos-webpanel.com/whmcs-module-for-cwp-api

603
Something like this should work

Code: [Select]
function cwp7_ChangePackage($params){
    $postvars = array('key' => $params["serveraccesshash"],'acction' => 'udp','user' => $params["username"], 'package' =>$params["configoption1"]);
    $postdata = http_build_query($postvars);
    $curl = curl_init();
    curl_setopt($curl, CURLOPT_URL, 'https://'. $params["serverhostname"] . ':2304/v1/account');
    curl_setopt($curl, CURLOPT_RETURNTRANSFER,true);
    curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
    curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, false);
    curl_setopt($curl, CURLOPT_POST, true);
    curl_setopt($curl, CURLOPT_POSTFIELDS, $postdata);
    $answer = curl_exec($curl);
    logModuleCall('cwpwhmcs','cwp7_ChangePackage','https://' . $params["serverhostname"] . ':2304/v1/account'.$postdata,$answer);
}

604
Information / Re: Customization of Panel Logo and User Login Logo
« on: March 19, 2018, 10:15:15 AM »
1. Make a copy of the folder:
Code: [Select]
/usr/local/cwpsrv/var/services/users/cwp_theme/design/ with another name

2. You go to theme manager and define it as default

3. Change the logos and the images you want in the
Code: [Select]
/usr/local/cwpsrv/var/services/users/cwp_theme/design/img/ folder with this you will prevent the CWP updates from replacing your work

After you work, let me know how it went, pls

605
have you tried to follow these steps

http://wiki.centos-webpanel.com/whmcs-module-for-cwp-api


606
Installation / Re: sh: /scripts/update_cwp: No such file or directory
« on: March 17, 2018, 09:44:45 PM »
Are you running the command from the location / root /?

607
What do the logs indicate?

You can see it by File Manager -> CWP-> Log viewer

608
CentOS-WebPanel Bugs / Re: Problem with creation FTP user
« on: March 15, 2018, 12:14:13 AM »
I understand that a version that contains this correction is already released, to update your server execute the following

Code: [Select]
sh /script/update_cwp

609
FTP / Re: Prevent user from create ftp account
« on: March 14, 2018, 10:52:27 PM »
regards

You can block an FTP account module for one or more accounts and even per package type from the admin module

CWP Settings -> Themes and Languajes -> Feature Manager tab

There, place a name to the rule, to what type you will apply it (Accounts or Packages) and choose the module that the final client will have access to


Let us know if this was your help

610
Please deal with this and let me know


Code: [Select]
sh /scripts/cwpsrv_rebuild_user_conf

611
CentOS 7 Problems / Re: Clone a CWP CentOS 7 server
« on: March 11, 2018, 10:37:58 PM »
regards

You have tested with the tool that CWP has, to migrate accounts,

Menu User Accounts -> CWP-> CWP Migration

612
CentOS-WebPanel GUI / Re: Can Not Log in Client Side
« on: March 07, 2018, 10:11:20 PM »
Try to update your version to the newest one,
Code: [Select]
sh /script/update_cwp

and tell me how it was

613
CentOS-WebPanel GUI / Re: User panel don't work - Users Cant login
« on: March 06, 2018, 12:58:07 AM »
Apparently this problem has already been solved, everything works correctly

614
Installation / Re: WHMCS new module - 404
« on: March 05, 2018, 06:01:57 PM »
What does this script say?
Code: [Select]

sh /script/check_api


615
Installation / Re: WHMCS new module - 404
« on: March 05, 2018, 05:33:51 PM »
Be sure to create an api key and autotize the ip involved

can do a php and test the api, replacing the values of the variables
Code: [Select]
$ data = array ("key" => "MYKEY", "action" => 'list');
$ url = "https: // IPSERVERAPI: 2304 / v1 / account";
$ ch = curl_init ();
curl_setopt ($ ch, CURLOPT_URL, $ url);
curl_setopt ($ ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt ($ ch, CURLOPT_CUSTOMREQUEST, "POST");
curl_setopt ($ ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt ($ ch, CURLOPT_POSTFIELDS, http_build_query ($ data));
curl_setopt ($ ch, CURLOPT_POST, 1);
$ response = curl_exec ($ ch);
curl_close ($ ch);

Pages: 1 ... 39 40 [41] 42 43 44