As indicated in the above screenshot, you first have to provide a title or label to your reCAPTCHA so that this particular account could be identified uniquely. Then the reCAPTCHA type should be selected. V2 is the normal version, used in most sites, which just give user a challenge to solve and it is just a one time verification.
On the other hand, V3 is a bit complex because it provides high level of spam detection without grabbing user attention. It could be added to any potential page where spamming could be made like registration, checkout page, ask a question etc. It provides score when you have spamy or risky traffic and then on the basis of that you may ask for email verification for that sort of traffic or can send the posts or comments they have made, for moderation.
You have to choose the right version which suits better and then have to mention the url of the site where you want to display the recaptcha and domain must have an ssl certificate and could be loaded through https. After that provide owner email IDs and then press submit by accepting terms and conditions.
You will then come across the following screen
This is what you needed to display recaptcha on your joomla site. Copy the site key and secret key from here and then login to your joomla backend and go to Plugins → reCaptcha and put the site and secret key in the respective fields and Enable / Save the plugin.
You are half done till here.
Step 2 – Adding code to your extension to display reCaptcha
Here the actual integration process starts. The code comprises of two parts, first is for recaptcha display and other is for verification.
Put the above mentioned code where you want to display captcha, inside the form and in the div with id, “customreCap”. The parameter provided to the dispatcher trigger event and the div where the recaptcha will be displayed must be same, otherwise code will not work. Remember that JHtml::_(‘behavior.keepalive’); code should be there at the start of the component / module template file. Then you have to verify this and for that purpose, use the following code in your controller where form will be submitted.
I basically work in the CMS, like Joomla and WordPress and in framework like Laravel and have keen interest in developing mobile apps by utilizing hybrid technology. I also have experience working in AWS technology. In terms of CMS, I give Joomla the most value because I found it so much user freindly and my clients feel so much easy to manage their project in it.
Enjoy best web development services at an affordable price. Looking forward to build a good relationship and serve you better...
My name is Nohman Habib and I am a web developer with over 10 years of experience, programming in Joomla, Wordpress, WHMCS, vTiger and Hybrid Apps. My plan to start codingace.com is to share my experience and expertise with others. Here my basic area of focus is to post tutorials primarily on Joomla development, HTML5, CSS3 and PHP.