pcsman7 Posted August 9, 2010 Share Posted August 9, 2010 Hello, I am new to the forum, and not sure what the Q&A protocol is, but I've been using WHMCS now for about 3 months, and love it, and I've been able to customize it pretty far to fit my own needs via information here and other sites. But the one thing I cannot seem to get right, is removing the option for the client to choose a Nameserver. This is confusing a lot of my clients and they leave without purchasing anything. Is there a way to turn this off or edit some line of php to hide it? My domain is http://www.healthychocolatedomains.com Thank you for any help.... 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted August 10, 2010 WHMCS Support Manager Share Posted August 10, 2010 Which option are you referring to exactly? The nameserver prefix option on Dedicated/VPS product types? 0 Quote Link to comment Share on other sites More sharing options...
laszlof Posted August 10, 2010 Share Posted August 10, 2010 He's talking about the nameserver selection when you register a new domain without a hosting package. You could just take the code out of your template. Take a look at the "configuredomains.tpl" file for your particular order form (looks like you're using web20cart, so it would be templates/orderforms/web20cart/configuredomains.tpl) and remove the following code: {if $atleastonenohosting} <table width="90%" align="center" cellspacing="1" cellpadding="5"> <tr><td colspan="2"><strong>{$LANG.domainnameservers}</strong><br />{$LANG.cartnameserversdesc}</td></tr> <tr class="orderheadingrow"><td colspan="2"></td></tr> <tr class="orderrow1"><td>{$LANG.domainnameserver1}:</td><td><input type="text" name="domainns1" size="40" value="{$domainns1}" /></td></tr> <tr class="orderrow2"><td>{$LANG.domainnameserver2}:</td><td><input type="text" name="domainns2" size="40" value="{$domainns2}" /></td></tr> <tr class="orderrow1"><td>{$LANG.domainnameserver3}:</td><td><input type="text" name="domainns3" size="40" value="{$domainns3}" /></td></tr> <tr class="orderrow2"><td>{$LANG.domainnameserver4}:</td><td><input type="text" name="domainns4" size="40" value="{$domainns4}" /></td></tr> <tr class="orderheadingrow"><td colspan="2"></td></tr> <tr><td height="10"></td></tr> </table> {/if} 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted August 10, 2010 WHMCS Support Manager Share Posted August 10, 2010 I don't think removing the code would work as I suspect they're required fields. Try hiding the fields instead. 0 Quote Link to comment Share on other sites More sharing options...
laszlof Posted August 10, 2010 Share Posted August 10, 2010 Maybe. But they are also filled in by default. so it would be something to at least check out. 0 Quote Link to comment Share on other sites More sharing options...
Austdata Posted August 11, 2010 Share Posted August 11, 2010 Maybe. But they are also filled in by default. so it would be something to at least check out. That and default them to the clients custom name servers. Then most novice web users will know that they are meant for them to keep and use. 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.