innovator Posted September 26, 2013 Share Posted September 26, 2013 Hello, my requirement is that the captcha only appear in the domain search pages if a certain number of domains have been searched for. ie. lets say if the visitor has searched for 10 domain names, then the captcha would start to show up after that point for each consecutive search but not for the first 10. How would I implement this in the .tpl files ? thank you 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted September 27, 2013 Share Posted September 27, 2013 I think this would be tricky to do... an alternative might be to suggest the visitor uses the bulk register form - they can enter multiple domains and only have to enter the captcha once per search. domainchecker.php?search=bulkregister I can see the point you're getting at, but don't forget that this captcha is only on the domainchecker page - if they went to the page below, they don't need to enter a captcha at all (apparently whmcs designed it like this so it's not a bug). cart.php?a=add&domain=register 0 Quote Link to comment Share on other sites More sharing options...
othellotech Posted September 27, 2013 Share Posted September 27, 2013 How would I implement this in the .tpl files ? By adding some php to 'count' the uses into the session variables, and check those to decide if to enforce a captcha 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.