Are you enjoying the extensions? Did you like the support? Help others decide.
Leave a reviewThe Google reCaptcha is a 'one-size-fits-all-designs' widget that does not offer many styling possibilities. In this age of responsive designs, it is actually interesting to see that Google does not offer a good solution when it comes to reCaptchas.
The first version of the widget used to offer a 'raw' theme, which was fully skinnable. Version 2 is unfortunately not giving such option.
The Custom reCaptcha
plugin is trying to address the shortcomings of the Google reCaptcha widget. It is a complete solution for users of the Google widget, from the ones who are still using the now unsupported first version to the ones who want to use the next generation of the reCaptchas, the invisible one.
Install the plugin through the Extension Manager
of the Joomla administrator's console. It will install the Custom reCaptcha plugin and the Simplify Your Web Extensions library.
Note You can download and install the plugin directly from the Install from Web
tab of your website. Type simplifyyourweb in the search box and select Custom reCaptcha.
Starting with version 2.0.0, the extensions library is required for the plugin. It is installed automatically with the plugin. If, for any reason, the library fails to install or update, please download and install manually.
Before updating, make sure you read the change logs and are aware of potential backward compatibility issues.
At this time, there is no planned migration for this extension.
There are no backward incompatibilities. The new version can be safely installed over previous versions of the plugin.
There are no backward incompatibilities. The new version can be safely installed over previous versions of the plugin.
There are no backward incompatibilities. The new version can be safely installed over previous versions of the plugin.
The reCaptcha widget will not work unless you have registered your domain at Google and acquired site (public) and secret (private) keys.
However, you can test the reCaptchas on a production site with the following test keys:
6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI
6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe
Note You can now use the test mode rather than entering the test keys manually.
You need to enter those keys in the Custom reCaptcha
plugin, under the Mandatory Options tab.
If you were previously using the Joomla! core reCaptcha plugin on your site, the values of the keys should have been transferred automatically to the Custom reCaptcha
plugin on install.
Register your site at Google:
Warning Keys for version 1 of the widget are not handed out anymore. All keys created by Google are now working for version 2 of the widget only. If you are using version 1 of the widget and want to upgrade to version 2 (no Captcha or invisible), you will need to get new keys for your site.
Google turned off reCAPTCHA v1 on March 31, 2018. Any calls to the v1 API no longer work.
Fully customize version 1 of the widget, especially when a fully responsive solution is needed for your site. The visitors need to copy the words seen or heard.
Layout |
|
||||||||
CSS classes | Classes you want to affect to the outer most layer of the widget | ||||||||
CSS styles | Styles you want to use to improve the look of the widget. Styles will be minimized |
Note The audio challenges use Flash
. This technology is phasing out of the browsers, therefore your visitors may just see a link to download an mp3 file and never automatically hear the audio file.
This will mostly depend on the CSS you will use to style the widget.
In order to make the image responsive, you will most likely need to add the following CSS:
[code]#recaptcha_image {
width: auto !important;
height: auto!important;
}
#recaptcha_challenge_image {
max-width: 100%;
}[/code]
The reCaptcha widget will be fully translated IF the Custom reCaptcha
plugin supports the language requested (all the Google supported languages for the widget version 1 are available in the plugin).
Problem The Bootstrap template's input field is not responsive
Solution You can fix this with CSS, for instance (change the code to fit your template)
[code]@media screen and (max-width: 767px) {
.g-recaptcha .input-append { width: 60px; }
}[/code]
The plugin now offers 2 layouts to start with. The default layout (found in the previous versions of the plugin) and a Bootstrap layout. The templates can easily be modified (you may even add your own) by using template overrides.
Go to the template manager.
Create the directory [template]/html/plg_captcha_customrecaptcha
Note Overrides can only be created manually, the Joomla! interface does not allow them to be generated automatically, unlike modules for instance.
On the server, go to plugins/captcha/customrecaptcha/tmpl
Copy the layout file(s) you wish to override (default.php and/or bootstrap.php).
Paste all files into [template]/html/plg_captcha_customrecaptcha
. Modify them to your liking.
The files found in [template]/html/plg_captcha_customrecaptcha
will have priority over the plugin's default layouts (as long as file names have been unchanged).
Note You can also add your own files with different names, which will be selectable from the plugin's layout parameter.
Not all elements are 'visible' when the widget is loaded on the page. For instance, when you see an image captcha, all audio elements are missing. Therefore, you have to take care of the visible and invisible elements when you skin the widget (unless you remove some of its functionality).
My life would suck without jQuery Easy Profiles. I’ve got complex, messy sites. jQuery Easy Profiles makes them work. The support is first rate. Olivier is one of the smartest, nicest, most helpful people I’ve had the pleasure of ever working with. Thank you!
This product is not affiliated with or endorsed by The Joomla! Project™. It is not supported or warranted by The Joomla! Project or Open Source Matters.
The Joomla!® name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.