Jump to content
SolusVM Community

Koby

Members
  • Content count

    13
  • Joined

  • Last visited

  1. I noticed in the client's panel; when they have a Xen PV or Xen HVM host, that it shows the Quick Backs and the Central Backup. Assumptions: 1. Quick Backup only works with openvz? 2. Central Backups do not work with Xen HVM yet? Assuming the above is correct: 1. Can the link to Quick Backup be disable for any Xen PV / Xen HVM VPS? 2. Can the link for both Quick Backup and Central Backup be disabled for Xen HVM VPS? I would still like to leave the links live for Quick Backup and Central Backup for hosts running openvz if possible, but I'd rather not confuse the customer with links to Quick Backups when their virtulization type doesn't support it. Currently, we do not use openvz so it would not be impractical for us to remove this completely from the template for now. If HVM isn't supported in Central Backups yet, we would use R1Soft backups for them until these are supported in solusvm. Hope this makes sense? Hope someone also has some thoughts or ideas on how to accomplish the above?
  2. Please excuse me if this has already been done somewhere as I've only been running Solusvm for a couple of days. Reason: I created my first VM through WHMCS today and in the Client Area, I found the Username / Password listed in text below the Reboot, Shutdown, Boot buttons, but no easy way for the Customer to know where the login to the Solusvm Control Panel like they can in the cPanel Client Area. Disclaimer: I assume it is ok to modify/add the code in solusvmpro.php for the WHMCSV2 module that is owned by Solusvm? I am also not claiming that this is the best way to do this by any means. If someone knows the param for the master server URL, it would be much cleaner. Bit too tired here to keep digging for it in the WHMCS documentation. Simple Modification: Find the Following Code in the solusvmpro.php for WHMCS: function solusvmpro_ClientArea($params) { $code = '<input type="button" value="Reboot" onClick="window.location=\'clientarea.php?action=productdetails&id=' . $params[serviceid] . '&serveraction=custom&a=reboot\'" /> <input type="button" value="Shutdown" onClick="window.location=\'clientarea.php?action=productdetails&id=' . $params[serviceid] . '&serveraction=custom&a=shutdown\'" /> <input type="button" value="Boot" onClick="window.location=\'clientarea.php?action=productdetails&id=' . $params[serviceid] . '&serveraction=custom&a=boot\'" /> '; return $code; } Replace with the following: NOTE: Be sure you replace HOST.YOURHOSTNAME.COM with the name of your master server function solusvmpro_ClientArea($params) { $code = ' <form action="https://HOST.YOURHOSTNAME.COM:5656/login.php" method="post" target="_blank"> <input type="hidden" name="username" value="' . $params["username"] . '" /> <input type="hidden" name="password" value="' . $params["password"] . '" /> <input type="submit" name="Submit" value="Login" class="button" /> <input type="button" value="Reboot" onClick="window.location=\'clientarea.php?action=productdetails&id=' . $params[serviceid] . '&serveraction=custom&a=reboot\'" /> <input type="button" value="Shutdown" onClick="window.location=\'clientarea.php?action=productdetails&id=' . $params[serviceid] . '&serveraction=custom&a=shutdown\'" /> <input type="button" value="Boot" onClick="window.location=\'clientarea.php?action=productdetails&id=' . $params[serviceid] . '&serveraction=custom&a=boot\'" /> '; return $code; } Hope someone else finds this useful.
×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.