Alfahmad Posted September 17, 2006 Share Posted September 17, 2006 Hi during (domain name registration only) is there any way to use a default name servers? instead of asking the user to add them regards, 0 Quote Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted September 17, 2006 WHMCS CEO Share Posted September 17, 2006 Yes, This is possible. Just edit order-stepthree.tpl template file and change the fields where it asks for nameservers from type="text" to type="hidden" so the fields are hidden and then add the value attribute containing the default values you want the nameservers to take. Hope that helps! Matt 0 Quote Link to comment Share on other sites More sharing options...
Alfahmad Posted September 17, 2006 Author Share Posted September 17, 2006 Thanks for the outstanding support 0 Quote Link to comment Share on other sites More sharing options...
Dunover Posted October 20, 2006 Share Posted October 20, 2006 I am attempint to also do this as most of my customers have no clue what a name server is: I got this part done <input type="text" name="domainns1" value="ns1.defaultnameserver.com" And that works "ok" Actually I would love to remove this all together, is this doable? Thanks! Corisa 0 Quote Link to comment Share on other sites More sharing options...
wehostem Posted October 22, 2006 Share Posted October 22, 2006 As matt stated, you can hide it, but you can't remove it. It must be there. To hide it just change yours to: <input type="hidden" name="domainns1" value="ns1.defaultnameserver.com" ... Make sure to remove this also: [b]{$LANG.orderdomainnameservers}[/b]</p> {$LANG.orderdomainnameserver1} {$LANG.orderdomainnameserver2} looks silly to have "Name Servers:" and then nothing below it 0 Quote Link to comment Share on other sites More sharing options...
MACscr Posted October 27, 2006 Share Posted October 27, 2006 what is $domainns1 and $domainns2 that show up in the tempaltes. The values are empty by default. <input type="text" name="domainns2" size="40" value="{$domainns1}"> <input type="text" name="domainns2" size="40" value="{$domainns2}"> I would assume that they should take the value of the default nameservers from my registrar settings, which are set. Anyone got any info on this? 0 Quote Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted October 27, 2006 WHMCS CEO Share Posted October 27, 2006 They are used to fill the fields if the user goes back to that page after submitting it. For example if they get to the confirmation page and want to change something. Matt 0 Quote Link to comment Share on other sites More sharing options...
Lee Posted November 16, 2006 Share Posted November 16, 2006 Hi, I have done the above but its still asking to enter the nameservers. 0 Quote Link to comment Share on other sites More sharing options...
addeacher Posted December 29, 2006 Share Posted December 29, 2006 Having the same problem as well why not just have radio buttons allowing customer to choose using default or set there own nameservers? Can this be done in next release?] 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.