MrYann Posted September 13, 2014 Share Posted September 13, 2014 Hi, How can I implement Domain Search without the client having to logon? Thanks. 0 Quote Link to comment Share on other sites More sharing options...
PascM Posted September 14, 2014 Share Posted September 14, 2014 Hi, It's already there you can even have the integration code to your main website if you like. http://demo.whmcs.com/ 0 Quote Link to comment Share on other sites More sharing options...
MrYann Posted October 3, 2014 Author Share Posted October 3, 2014 Thanks for your help te. Howerver, If it was as easy, I would'nt ask. It's not working. Morehover, the code of the demo site you rpovided is not even uilt the same way. The demo site and the regular search in my site has a token: <input type="hidden" name="token" value="b42795c8a90d6ffbfa70f12dbae69a83379e486c" /> while the integration code does not. Here is the code I am getting from the tool: <form action="https://hebergement.guru/clients/domainchecker.php" method="post"> <input type="hidden" name="direct" value="true" /> Domain: <input type="text" name="domain" size="20" /> <select name="ext"> <option>.com</option> <option>.net</option> <option>.info</option> <option>.org</option> <option>.biz</option> <option>.mobi</option> <option>.co</option> <option>.ca</option> <option>.me</option> <option>.fr</option> </select> <input type="submit" value="Go" /> </form> Anyone has an idea? Or perhaps a site where the code was implemented? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted October 4, 2014 Share Posted October 4, 2014 if I test the above code locally, it doesn't work with your web site - if I change the URL to use our WHMCS site, it works. in your admin area, if you go to setup -> general settings -> security -> CSRF Tokens: Domain Checker do you have it set to enabled? if you set it to disabled, then the above domainchecker form should work. http://docs.whmcs.com/Security_Tab#CSRF_Tokens:_Domain_Checker By default CSRF tokens are disabled for the domain checker. This allows you to send domain information to WHMCS from an external page. Eg. using the Domain Checker Integration Code on your website. However if you are not using the integration code, you can enable this option and visitors will only be able to use the built-in domain checker pages. 0 Quote Link to comment Share on other sites More sharing options...
MrYann Posted October 4, 2014 Author Share Posted October 4, 2014 It works, thanks a lot, you make my day! 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.