wirenine Posted September 13, 2014 Share Posted September 13, 2014 How can we integrate the domain checker like the way it is displayed on here WHMCS's demo http://demo.whmcs.com/ Instead of http://demo.whmcs.com/feeds/domainchecker.php basically without the drop down select for domain tld extentions the integration code available from inside is the same thing 0 Quote Link to comment Share on other sites More sharing options...
sentq Posted September 13, 2014 Share Posted September 13, 2014 it's very simple, in your installation modify feeds/domainchecker.php by removing the dropdown code from this file, to only display the text field, then you will need to check for domain by entering it's name and tld in the same field like "example.net" and it will work the same way. just remove <select name="ext"> $code .= '<option>'. htmlspecialchars($tld, ENT_QUOTES, 'UTF-8') . '</option>'; </select> 0 Quote Link to comment Share on other sites More sharing options...
wirenine Posted September 16, 2014 Author Share Posted September 16, 2014 Thanks, any tweak for the integration method? <form action="xx" method="post">Domain: <input type="text" name="sld" size="20" /> <select name="tld"> <option>.com</option> <option>.net</option> <option>.org</option> <option>.biz</option> <option>.info</option> <option>.us</option> <option>.co.uk</option> <option>.org.uk</option> <option>.ca</option> <option>.eu</option> <option>.cc</option> <option>.me</option> <option>.tel</option> </select> <input type="submit" value="Go" /> </form> Taking out the select option renders it useless. 0 Quote Link to comment Share on other sites More sharing options...
sentq Posted September 16, 2014 Share Posted September 16, 2014 hello WN-Ali, if you take out the <select name="tld"> you should search for domains in full "domainName.TLD", just like the domain checker in home page. what have you done or what issues you currently have? 0 Quote Link to comment Share on other sites More sharing options...
wiredgorilla Posted September 17, 2014 Share Posted September 17, 2014 Ali, We have implemented the domain checker without dropdown for quiet a while! Just try this: <form class="form-collapse" method="post" action="https://yourdomain.com/domainchecker.php"> <input type="hidden" value="true" name="direct"></input> And here is a working example: https://ausweb.com.au/domain-names/ you dont even have to add an extension, it does it by itself with the search! 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.