Chilling_Silence Posted March 19, 2012 Share Posted March 19, 2012 Currently we have our cPanel integration working (Automatically creating the custom spec accounts based on the sliders), however we've had to provide "Disk Space" values in "MB" amounts. Ideally we don't want customers choosing a 139MB Hosting Plan and having to change it every other day, we'd prefer if we were able to round it to the nearest GB, or have it adjust in 100MB blocks for example. Is this possible? 0 Quote Link to comment Share on other sites More sharing options...
caminoz74 Posted June 9, 2012 Share Posted June 9, 2012 Hi, I'm wondering if you got any further with this and what module you are using for the slider to hook it into Cpanel? Thanks in advance and hope you got somewhere representing it in the closest GB! 0 Quote Link to comment Share on other sites More sharing options...
disgruntled Posted June 10, 2012 Share Posted June 10, 2012 (edited) Currently we have our cPanel integration working (Automatically creating the custom spec accounts based on the sliders), however we've had to provide "Disk Space" values in "MB" amounts. Ideally we don't want customers choosing a 139MB Hosting Plan and having to change it every other day, we'd prefer if we were able to round it to the nearest GB, or have it adjust in 100MB blocks for example. Is this possible? This is done in the slider itself, the display can be calculated from MB to display GB and you can decide the "step" values, EG, min: 0, max: 50000, step: 100; basically each point on the slider will move up 100mb With regards to making the display GB, var gbval = (ui.value / 1000); //you could use 1024 as depending on the usage either 1000 or 1024 is the standard Edited June 10, 2012 by disgruntled 0 Quote Link to comment Share on other sites More sharing options...
disgruntled Posted June 10, 2012 Share Posted June 10, 2012 Hi, I'm wondering if you got any further with this and what module you are using for the slider to hook it into Cpanel? the slider doesnt hook into cpanel, whmcs does, the slider just tells whmcs what the configuration values are for whmcs to create the approriately configured account. 0 Quote Link to comment Share on other sites More sharing options...
SilverNodashi Posted June 14, 2012 Share Posted June 14, 2012 Does WHMCS bill the user accordingly? I.e. if the standard package includes 500MB space, and 5GB bandwidth, but a user chooses 2GB space & 10GB bandwidth, but ends up using 15GB bandwidth, does WHMCS take all of this into account, and only invoice him for the additional 5GB bandwidth, not 10GB? 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.