Howdy, Stranger!

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


WHMCS Module Needed for disable hostname and nameservers field for VPS Hosting
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

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

HostEONSHostEONS Member, Patron 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.

Comments

  • launchvpslaunchvps Member, Patron 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
  • 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.