Jump to content

WHMCS Slider + cPanel HDD amounts


Recommended Posts

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?

Link to comment
Share on other sites

  • 2 months later...
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 by disgruntled
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated