We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
There is a bug in WHMCS modules
-
- Posts: 10
- Joined: Mon Feb 17, 2014 2:25 am
-
- Posts: 258
- Joined: Fri Jan 10, 2014 7:34 pm
Re: There is a bug in WHMCS modules
Indeed, Skid, fix this please.
-
- Posts: 1
- Joined: Sat Apr 11, 2015 6:53 am
Re: There is a bug in WHMCS modules
otherwise, the customer was not able to login webmail from his client area.
___________________
developments
Littlelioness
Episodes 131-135: The Post-Alabasta Arc
___________________
developments
Littlelioness
Episodes 131-135: The Post-Alabasta Arc
Last edited by zeeshan030 on Tue Jun 13, 2023 11:01 am, edited 4 times in total.
Re: There is a bug in WHMCS modules
Topic quite old, not sure this "bug" still active.zeeshan030 wrote:otherwise, the customer was not able to login webmail from his client area.
It's a bug? How can we test this? Will you help with this? (sorry, don't have WHMCS)
Re: There is a bug in WHMCS modules
Yes this bug is still active.
I've recently ran into this as well and fixed it myself in the WHMCS VestaCP Module - vesta.php
I however did it differently and used "$params["domain"]" instead.
He's referring to a small section in the Client Area for WHMCS @
This portion:
Should actually be:
Simple quick fix, nothing big.
I've recently ran into this as well and fixed it myself in the WHMCS VestaCP Module - vesta.php
I however did it differently and used "$params["domain"]" instead.
He's referring to a small section in the Client Area for WHMCS @
Code: Select all
function vesta_ClientArea($params) {
$code = '<form action="https://'.$params["serverhostname"].':8083/login/" method="post" target="_blank">
<input type="hidden" name="user" value="'.$params["username"].'" />
<input type="hidden" name="password" value="'.$params["password"].'" />
<input type="submit" value="Login to Control Panel" />
<input type="button" value="Login to Webmail" onClick="window.open(\'http://'.$serverhostname.'/webmail\')" />
</form>';
return $code;
Code: Select all
<input type="button" value="Login to Webmail" onClick="window.open(\'http://'.$serverhostname.'/webmail\')" />
Code: Select all
<input type="button" value="Login to Webmail" onClick="window.open(\'http://'.$params["domain"].'/webmail\')" />