Jump to content

Removing NS1 NS2 and Root Pass From Dedi/VPS Product Type


ShooCloud

Recommended Posts

I've tried virtually every single thread on here to try and remove these. All I need is hostname to show, I need NS1, NS2, and Root Pass hidden or removed from this. Anyone know how to accomplish this?

 

I'm currently using the CloudHost WHMCS template. I have tried editing configureproduct.tpl and configuredomains.tpl with no luck.

 

Screen Shot 2014-09-16 at 12.52.37 AM.png

 

Thanks

Link to comment
Share on other sites

logically, it should be configureproduct.tpl - and specifically lines similar to below...

 

<tr><td class="fieldlabel">{$LANG.serverhostname}:</td><td class="fieldarea"><input type="text" name="hostname" size="15" value="{$server.hostname}" /> eg. server1(.yourdomain.com)</td></tr>
<tr><td class="fieldlabel">{$LANG.serverns1prefix}:</td><td class="fieldarea"><input type="text" name="ns1prefix" size="10" value="{$server.ns1prefix}" /> eg. ns1(.yourdomain.com)</td></tr>
<tr><td class="fieldlabel">{$LANG.serverns2prefix}:</td><td class="fieldarea"><input type="text" name="ns2prefix" size="10" value="{$server.ns2prefix}" /> eg. ns2(.yourdomain.com)</td></tr>
<tr><td class="fieldlabel">{$LANG.serverrootpw}:</td><td class="fieldarea"><input type="password" name="rootpw" size="20" value="{$server.rootpw}" /></td></tr>

perhaps do a search of your tpl files and see if $LANG.serverrootpw is mentioned in any of them similar to above... and ensure that you're editing the correct order form template configureproduct.tpl file that is being used for your product/group.

 

other than that, you will probably need to contact the template author who should be able to point you in the right direction.

Link to comment
Share on other sites

logically, it should be configureproduct.tpl - and specifically lines similar to below...

 

<tr><td class="fieldlabel">{$LANG.serverhostname}:</td><td class="fieldarea"><input type="text" name="hostname" size="15" value="{$server.hostname}" /> eg. server1(.yourdomain.com)</td></tr>
<tr><td class="fieldlabel">{$LANG.serverns1prefix}:</td><td class="fieldarea"><input type="text" name="ns1prefix" size="10" value="{$server.ns1prefix}" /> eg. ns1(.yourdomain.com)</td></tr>
<tr><td class="fieldlabel">{$LANG.serverns2prefix}:</td><td class="fieldarea"><input type="text" name="ns2prefix" size="10" value="{$server.ns2prefix}" /> eg. ns2(.yourdomain.com)</td></tr>
<tr><td class="fieldlabel">{$LANG.serverrootpw}:</td><td class="fieldarea"><input type="password" name="rootpw" size="20" value="{$server.rootpw}" /></td></tr>

perhaps do a search of your tpl files and see if $LANG.serverrootpw is mentioned in any of them similar to above... and ensure that you're editing the correct order form template configureproduct.tpl file that is being used for your product/group.

 

other than that, you will probably need to contact the template author who should be able to point you in the right direction.

 

I have contacted them now, I couldn't find that string anywhere within the .tpl files.

 

- - - Updated - - -

 

Actually I did find $LANG.serverhostname, the rest was deleted in me trying to remove the boxes. Even with all of it deleted it's still showing.

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