Jump to content
André Bueno

REMOVE PREFIX NS1 AND NS2 WHMCS

Recommended Posts

Good afternoon, I'm having problems removing the ns1 and ns2 prefix from the service hiring form from my whmcs installation.
Can someone add me to Discord or help me privately? Thank you.

Discord: Lobao#3029

Share this post


Link to post
Share on other sites
On 11/29/2019 at 9:58 PM, André Bueno said:

Good afternoon, I'm having problems removing the ns1 and ns2 prefix from the service hiring form from my whmcs installation.
Can someone add me to Discord or help me privately? Thank you.

Discord: Lobao#3029

Just find this in your 'configureproduct.tpl':

<input type="text" name="ns1prefix" class="form-control" id="inputNs1prefix" value="{$server.ns1prefix}" placeholder="ns1">
<input type="text" name="ns2prefix" class="form-control" id="inputNs1prefix" value="{$server.ns2prefix}" placeholder="ns2">

and replace with this:

<input type="hidden" name="ns1prefix" class="form-control" id="inputNs1prefix" value="ns1" placeholder="ns1">
<input type="hidden" name="ns2prefix" class="form-control" id="inputNs1prefix" value="ns2" placeholder="ns2">

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×

Important Information

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