Development > Plugins
[Plugin] Invisible reCaptcha by Google for Osclass (beta)
dev101:
*** UPDATED *** 2019-04-03
There are few issues with Invisible reCaptcha that might hold you back and stick with the traditional version:
* It requires JavaScript enabled browsers, visitors who come without js enabled will be left behind captcha wall (this has good and bad side; good - most dumb bots do not execute js, but most clever ones do, and bad: older devices/browsers/systems/ == users - will not be able to engage with your forms/websites
* The 2nd issue is a more problematic, at least for me - invisible captcha takes precedence over jquery validate() (when user hits the button before filling-in any of the required inputs), which means captcha will kick-in, users will solve it, server will bounce forms... (if user is logged-in into Google's services, captcha will not be shown anyway, and validation will work in that case). I have some ideas, but still not enough time to test and fix this.
Still, it's great to give it a go as an experiment in dev/testing environment, and even in production (I am using it for 2 years now). Just install it, go to Configure and follow instructions. It's that simple. Unfortunately, due to binding method and different themes, it is a bit harder to achieve no-theme-modifications goal, it could be done later with some js, but for now, manual method is error-free. (integrated auto-binding* in v1.0.1 was later removed because of some potential issues).
Generate new API keys per instructions and check INVISIBLE type in the options (keep your old keys, don't delete them just yet).
Admin Dashboard screenshot is provided. Default badge is set to inline, just for your orientation as it is the least intrusive imho, but you may change the keyword in the options (on purpose it is a text input, something might change in near future, adding new modes, don't know really).
I am not sure if it will be released @ Market, because of integration issues, it will probably be easier to integrate it within the core and avoid the forms validation trouble.
Version 1.0.3 - important bug fix for Admin/User Recovery protection - recaptcha was not working properly (emails were always sent)
Version 1.0.2 - additional improvements
Requirements:
requires Osclass 3.8.0 + latest Bender theme; it should also work with updated OsclassWizards 2.0.6 theme (probably other OW themes should work, but I haven't tested them), but may not work with other themes unless they get updated. The only dependency in your theme is that it must use standardized html form names from Bender theme (supplied with Osclass 3.8.0). Ask your theme developer(s) to update their themes and make them compatible, this is very simple to do.
Thanks,
Regards
dev101
dev101:
Updated to version 1.0.1
No longer requires any theme modifications (assuming standard form names from Bender are also present in your theme).
SteveJohnson:
Thank you dev101 for working on this.
I was hoping google was making a more general purpose solution.. phew :(
dev101:
Thanks SteveJohnson,
I have implemented it in several instances already, and it works fine with minor modifications for each theme. Problem is even in Bender there are forms that have no name, id or class, so they are impossible to uniquely identify, and tell apart which form should be with captcha. The above solution will work in Bender and themes which did not change names, and for those who did, editing it in the plugin's index.php function isn't that hard. Also, I strongly suggest to name all the forms properly, and avoid guess work for the plugin.
About validation issue, as the submit button now takes precedence, no resolution yet, and no one seems to have an idea either. But, it will not affect regular users in any way, only bots or malicious ones, so, not really a big concern. For users who start to fill-in the forms one field after another, it will work.
Regards
zombie:
What version of osclass does this plugin require?
Navigation
[0] Message Index
[#] Next page
Go to full version