Whmcs: When setting up to purchase VPS, cancel NS filling in and automatically generate hostname

888u

Last update at :2024-07-09,Edit by888u

To modify these, you only need to modify the configureproduct.tpl file of the shopping cart template (the file is located in templates/orderforms/stardand_cart). The specific modification steps are as follows: Find the corresponding div block filled in by NS, and then add the style

style="display:none;"

And modify the value in the following similar code.

About automatically generating hostname:

Just add the following code to the bottom of the file:

In addition, if you don’t want users to modify the hostname, you can modify the similar code below to look like this:

Reprinted from: https://eqblog.com/whmcs-hostanme-ns.html

Recommended site searches: IP segment query, virtual host trial, cheap domain name registration, domain name check, host server rental, virtual host space, free all-purpose space application, Japanese server rental Japanese server, Hong Kong server rental, vps foreign server, < /p>

Whmcs: When setting up to purchase VPS, cancel NS filling in and automatically generate hostname

All copyrights belong to 888u unless special state
取消
微信二维码
微信二维码
支付宝二维码