Welcome Guest. Please Login or Register  


You are here: Index > Virtualizor - Virtual Server Control Panel > Suggestions > Topic : WHMCS login to Virtualizor Control Panel



Threaded Mode | Print  

 WHMCS login to Virtualizor Control Panel (6 Replies, Read 168090 times)
office@neoit.ro
Group: Member
Post Group: Newbie
Posts: 7
Status:
Good day everybody, i have noticed yesterday, after replacing the old WHMCS module for virtualizor that first of all, the links to the VPS hosting server are set to IP  and not to hostname, and of course the SSL sertificates are no longer valid.


in /home/$user/public_html/modules/servers/virtualizor/virtualizor.php  :

function virtualizor_AdminLink($params) {
    $code = '<a href="https://'.$params["serverip"].':4085/index.php?act=login" target="_blank">Virtualizor Admin Panel</a>';
    return $code;
}



i have set


function virtualizor_AdminLink($params) {
    $code = '<a href="https://'.$params["serverhostname"].'/index.php?act=login" target="_blank">Virtualizor Admin Panel</a>';
    return $code;
}


is it possible to ad in the future updates of the module also an adjustment to this line ?

function virtualizor_LoginLink($params) {
    $code = "<a href=\"https://".$params["serverip"].":4083/\" target=\"_blank\" style=\"color:#cc0000\">Login to Virtualizor</a>";
    return $code;


Thank you very much!


If the thread has been open before, please excuse me, i did not have the time to check.
IP: --   

WHMCS login to Virtualizor Control Panel
asim_shaikh
Group: Member
Post Group: Elite Member
Posts: 381
Status:
Hi,

Thank you for your valuable suggestion.

We have noted down your request and will be implemented in our upcoming virtualizor WHMCS Module releases.


-----------------------
Regards,
Virtualizor Team
http://www.virtualizor.com
IP: --   

WHMCS login to Virtualizor Control Panel
office@neoit.ro
Group: Member
Post Group: Newbie
Posts: 7
Status:
hello guys, i have noticed that the suggestion has not been implemented in the newest files for whmcs module .... have you managed to test them and found irregularities ? any ideea for the secomd line about changing from serverip  to serverhostname to prevent the problems with the secure connection ?  otherwise the only possibility is to change the port for unsecure connection ... wich of course for obvious reasons, it`s not safe ...
thank you very much.
IP: --   

WHMCS login to Virtualizor Control Panel
office@neoit.ro
Group: Member
Post Group: Newbie
Posts: 7
Status:
oki .... so ... simplest solution ....


setting up the virtualizor server in whmcs    :  hostname.server.com    no port at the end of the line.

arranging the lines for login :


function virtualizor_AdminLink($params) {
    $code = '<a href="https://'.$params["serverhostname"].':4085/index.php?act=login" target="_blank">Virtualizor Admin Panel</a>';
    return $code;
}

function virtualizor_LoginLink($params) {
    $code = "<a href=\"https://".$params["serverhostname"].":4083/\" target=\"_blank\" style=\"color:#cc0000\">Login to Virtualizor</a>";
    return $code;
   
}



tested and running SMOOOOTHHH    all actions without flaw .....

all access ossibilities running ok ..... 

one more thing

is it possible to add in the login lines  the  direct login for the user ? 
in admin login button    root and pass  option

in the client side    email and pass ???  i will put some lines for reference from other module :



    function gamecp_LoginLink($params) {
        echo "<a href=\"".$params[gamecp_url]."?user=".$params['clientsdetails']['email']."&pass=".$params['password']."&sublogin=true\" target=\"_blank\" class=\"btn btn-info\" style=\"text-decoration:none;float:right;margin-right: 16px;margin-bottom: 10px;\">".login_text."</a>";
    }

attached the hole plugin .....


is there a way for someone to check and adjust ???  i will test if needed ...
thank you very much
IP: --   

WHMCS login to Virtualizor Control Panel
chirag
Group: Virtualizor Team
Post Group: Elite Member
Posts: 419
Status:
Hi,

Sir we can add a configuration so that if you enable it in virtualizor_conf.php it will use the hostname instead of IP.

Let us know for further information.

-----------------------
Virtualizor - VPS Control Panel
Follow us on Facebook
IP: --   

WHMCS login to Virtualizor Control Panel
ppconsulting
Group: Member
Post Group: Newbie
Posts: 7
Status:
Good afternoon,

My apologies for re-opening this thread. I'm just curious about how to configure the options specified by OP in this thread to have Virtualizor in WHMCS use the server hostname instead of the server's IP. If someone has managed to figure it out for version 2 of the module, it would be appreciated if somebody could let me know the steps.

Take care and stay safe! :)
IP: --   

WHMCS login to Virtualizor Control Panel
chirag
Group: Virtualizor Team
Post Group: Elite Member
Posts: 419
Status:
Hi,

We have implemented this and the setting will be there in next update.
It will use the hostname automatically if hostname is saved while adding the Virtualizor master server.
If the hostname is not present it will use the virtualizor ip which is saved while adding the virtualizor server.

Let us know for further information.

-----------------------
Virtualizor - VPS Control Panel
Follow us on Facebook
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is November 12, 2024, 5:10 pm.

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