Welcome Guest. Please Login or Register  


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



Normal Mode | Print  

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: --   


Threads
 office@neoit.ro   WHMCS login to Virtualizor Control Panel (6 Replies, Read 179831 times)
    |--  asim_shaikh   Hi, Thank you...   on September 29, 2016, 6:21 am
    |--  office@neoit.ro   hello guys, i...   on June 17, 2017, 1:07 pm
    |--  office@neoit.ro   oki .... so...   on June 17, 2017, 2:03 pm
    |--  chirag   Hi, Sir we...   on June 24, 2017, 10:41 am
    |--  ppconsulting   Good afternoon, My...   on January 4, 2021, 9:04 pm
    |--  chirag   Hi, We have...   on January 5, 2021, 9:44 am

« Previous    Next »

Normal Mode | Print  



Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is October 17, 2025, 12:58 am.

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