WHMCS login to Virtualizor Control Panel https://www.softaculous.com/board/index.php?tid=9615 <![CDATA[WHMCS login to Virtualizor Control Panel]]> https://www.softaculous.com/board/index.php?tid=9615&tpg=1#p51744
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.]]>
Tue, 05 Jan 2021 09:44:27 GMT https://www.softaculous.com/board/index.php?tid=9615&tpg=1#p51744
<![CDATA[WHMCS login to Virtualizor Control Panel]]> https://www.softaculous.com/board/index.php?tid=9615&tpg=1#p51737
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! :)]]>
Mon, 04 Jan 2021 21:04:27 GMT https://www.softaculous.com/board/index.php?tid=9615&tpg=1#p51737
<![CDATA[WHMCS login to Virtualizor Control Panel]]> https://www.softaculous.com/board/index.php?tid=9615&tpg=1#p37109
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.]]>
Sat, 24 Jun 2017 10:41:14 GMT https://www.softaculous.com/board/index.php?tid=9615&tpg=1#p37109
<![CDATA[WHMCS login to Virtualizor Control Panel]]> https://www.softaculous.com/board/index.php?tid=9615&tpg=1#p37013

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]]>
Sat, 17 Jun 2017 14:03:14 GMT https://www.softaculous.com/board/index.php?tid=9615&tpg=1#p37013
<![CDATA[WHMCS login to Virtualizor Control Panel]]> https://www.softaculous.com/board/index.php?tid=9615&tpg=1#p37012 thank you very much.]]> Sat, 17 Jun 2017 13:07:57 GMT https://www.softaculous.com/board/index.php?tid=9615&tpg=1#p37012 <![CDATA[WHMCS login to Virtualizor Control Panel]]> https://www.softaculous.com/board/index.php?tid=9615&tpg=1#p32837
Thank you for your valuable suggestion.

We have noted down your request and will be implemented in our upcoming virtualizor WHMCS Module releases.
]]>
Thu, 29 Sep 2016 06:21:17 GMT https://www.softaculous.com/board/index.php?tid=9615&tpg=1#p32837
<![CDATA[]]> https://www.softaculous.com/board/index.php?tid=9615&tpg=0#p32833

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.
]]>
Wed, 28 Sep 2016 20:54:51 GMT https://www.softaculous.com/board/index.php?tid=9615&tpg=0#p32833