roop Posted May 17, 2008 Share Posted May 17, 2008 Hi, 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, Rupert 0 Quote Link to comment Share on other sites More sharing options...
chickendippers Posted May 17, 2008 Share Posted May 17, 2008 Just edit them out of the appropriate template files. 0 Quote Link to comment Share on other sites More sharing options...
roop Posted May 17, 2008 Author Share Posted May 17, 2008 Thanks chickendippers; I'd been hoping to avoid that so I can update without worrying about customisations but if it's not a feature I'm missing I guess I'll have to start hacking away. 0 Quote Link to comment Share on other sites More sharing options...
sanfranciscohost Posted May 27, 2008 Share Posted May 27, 2008 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. Deborah 0 Quote Link to comment Share on other sites More sharing options...
chickendippers Posted May 27, 2008 Share Posted May 27, 2008 Extra code will slow the page loading...but it probably won't be noticeable. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.