Jump to content

REMOVE PREFIX NS1 AND NS2 WHMCS


Recommended Posts

  • 2 months later...
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">

 

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