Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Advertise on LowEndTalk.com
WHMCS Module Needed for disable hostname and nameservers field for VPS Hosting
New on LowEndTalk? Please read our 'Community Rules' by clicking on it in the right menu!

WHMCS Module Needed for disable hostname and nameservers field for VPS Hosting

HostEONSHostEONS Member, Provider

Hi
We are using SolusVM but have a constant problem of clients not filling up FQDN in hostname (due to which VPS are not auto provisioned) and some even gets confused with nameservers fields so I want to disable the hostname field in the order form but hostname should be randomly generated and updated in database. I also want to disable the nameservers field for VPS hosting only.

Any help is appreciated.

hostEONS - SSD KVM &OpenvZ VPS (FUSE, DOCKER, TUN/TAP Supported) | cPanel Web Hosting | VPS Locations: Los Angeles (CA), New York (NY), Jacksonville (FL) and Las Vegas (NV)| Free Blesta License | Latest Offer

Comments

  • launchvpslaunchvps Member, Provider

    For the name servers, you can disable this yourself:

    https://whmcs.community/topic/254393-dedicated-order-form-ns1-and-2-field-removal/

    For the hostname, I believe it can be edited in the same file. You would change it to a hidden field and configure the how the randomness would be added.

    Here is an example of how you can change the password field to be hidden and generate a random password instead. This may assist you in trying to do the same for hostname:

    https://whmcs.community/topic/258237-creating-random-passwords/

    Finally, some customers may want to name their servers themselves. Some do not have an FQDN, so not sure if they will prefer their servers named for them to something they cannot change.

    Thanked by 1HostEONS

    LaunchVPS, LLC - Performance Optimized VPS, Web Hosting, and Reseller Plans
    ZFS-Backed SSDs | KVM | LXC | cPanel | AS397384 | 99.9% Uptime | Any OS | PHL DC USA | 45-Day Money Back Guarantee

  • You can get create a hook and if hostname field is empty, you can simply create a random one otherwise use one provided by user. I haven't check hook index for this so you may need to do some search.

    Otherwise, just get into template files and make it required using html or js.

    Thanked by 1HostEONS

    ^-^!

Sign In or Register to comment.