Jump to content

Disable Client Side Domain Settings


Recommended Posts



I'm just getting WHMCS set up to migrate away from MB4. When I log in as a client, I can change (aka break!) my nameserver settings for .com (via Enom) + .co.uk (via Nominet) modules, which I don't want my clients to be able to do.


Likewise with the Enom domains I'd like to disable the Registrar Lock, dns management/epp code/register nameservers options.



I've been all through the Admin settings, and haven't found where these options are located.


Can someone point me in the right direction please?



Many thanks,



Link to comment
Share on other sites

  • 2 weeks later...

I don't know if anyone will find this helpful but instead of deleting things in the templates I use either a comment tag to make those lines I don't want to show up just disappear or I use a css style declaration to make the display: none.


For example, in the template we are looking at for this thread: (clientareadomaindetails.tpl)


To get rid of the Nameservers line, place a comment tag around it like this:


<!--<p><strong> »  {$LANG.domainnameservers}</strong></p>-->


To get rid of the forms, place a CSS style definition to make it not show up like this:


<form style="display:none;" method="post" action="{$smarty.server.PHP_SELF}?action=domaindetails">


You can use this in images or tables as well:


<img style="display:none;" src .....>

<table style="display:none;" .....>


Its always nice to be able to preserve code that you might need to reenable further on down the line.

If anyone thinks there is a problem or a downside with doing things in the way I suggested let me know.





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.

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