Simple Membership Plugin › Forums › Simple Membership Plugin › Google ReCaptcha Plugi
Tagged: Google reCAPTCHA
- This topic has 13 replies, 3 voices, and was last updated 9 years, 11 months ago by
mbrsolution.
-
AuthorPosts
-
July 25, 2016 at 7:42 am #7538
strifemut
ParticipantMy website is hosted and plugins are easy to install. Google Recapture for Simple Membership is an addon but how do I install it? The instructions are not that clear to me.
July 26, 2016 at 10:17 pm #7546mbrsolution
ModeratorHi, have you read the following documentation? If have can you point out which part of the documentation you did not understand.
Thank you
July 26, 2016 at 11:39 pm #7551strifemut
ParticipantHi
I only knew one way to install a plugin until someone pointed out another way.
In the captcha instructions we are told to add two bits of code.
I have now managed to load the plugin and also added the first bit of code “Paste this snippet before the closing </head> tag on your HTML template:” into the Genesis settings under Header Scripts.
It seems to work on the registration page after this was added.
I don’t know where to add the second bit of code “Paste this snippet at the end of the <form> where you want the reCAPTCHA widget to appear:” what it does.
Thanks
July 26, 2016 at 11:54 pm #7554mbrsolution
ModeratorHi in regards to the following comment.
I don’t know where to add the second bit of code “Paste this snippet at the end of the <form> where you want the reCAPTCHA widget to appear:” what it does.
Where is that information coming from? Because the documentation above does not have that bit of information.
Regards
July 27, 2016 at 1:30 am #7559strifemut
ParticipantHi
I went here https://simple-membership-plugin.com/simple-membership-and-google-recaptcha-integration/Then here:
https://simple-membership-plugin.com/simple-membership-and-google-recaptcha-integration/First it gives you Site Key and Secret Key.
The reCaptcha doesn’t work correctly at this point.
I then added Step 1 part 1 Client side: intergration the reCaptcha worked
Naturally it seemed important to understand what the Step 1 part 2 was and where it goes.
Then we also have Step server side integration which I assumed didn’t affect me.
July 27, 2016 at 3:54 am #7560mbrsolution
ModeratorIs everything working now? Is your issue resolved?
July 27, 2016 at 4:38 am #7562strifemut
ParticipantHi – Your documentation says add the two codes but if I do that it doesn’t work. When I added the first script it seems to work. As I said in the link to Google Captcha you gave it also refers to another script and something else. I really don’t know what they are and they are not referred to in your documentation. So I am asking the question now just in case because in my experience these things can come back and bite you in the bum.
Your documentation doesn’t say add the script to the Genesis settings but that is what made it work.
Sorry but this pensioner has felt it is better to be safe than sorry.
Anser to your question – it seems to work but?
July 27, 2016 at 4:57 am #7564mbrsolution
ModeratorHi, the documentation is written for anyone to use. It is not theme specific like in your case.
For example I have set this up on numerous websites without any issues. I never had to add any code to any theme.
I will submit a message to the developers to investigate your issue further.
Regards
July 27, 2016 at 5:19 am #7566strifemut
ParticipantThank you for all your input. Much appreciate it. Will be interesting to hear what comes back from the developer.
July 27, 2016 at 8:46 am #7567admin
KeymasterYou ONLY need to install the addon then plugin your API keys in the settings. Thats it. That addon will add the captcha to the registration form that the simple membership plugin creates.
Where does it say in our following documentation that you have to put snippets of code? I am a little confused as to what you are doing:
https://simple-membership-plugin.com/simple-membership-and-google-recaptcha-integration/Please note that we can ONLY support what we explain in our above documentation. If you are doing something custom on your own then we can’t help with that unfortunately.
July 27, 2016 at 9:23 am #7571strifemut
ParticipantHi
I did follow the instructions. Although retired I used to be in charge of IT for a very large organisation. I may not be up to date but I am not stupid.
I got the API codes as per the instructions. After this the registration page had the recaptcha logo but when pressed it went round in circles and did nothing.
I added this code “<script src=’https://www.google.com/recaptcha/api.js’></script>” in the Genesis Theme Settings under Header Scripts and now it asks to check certain pictures which made more sense to me.
There were some other scripts which made me wonder what they were and if I should be using them.
All of the following appears under the two keys on the google captcha API page.
Recaptcha worked when I added the first one.
Paste this snippet before the closing </head> tag on your HTML template:
<script src=’https://www.google.com/recaptcha/api.js’></script>
Paste this snippet at the end of the <form> where you want the reCAPTCHA widget to appear:
<div class=”g-recaptcha” data-sitekey=”6Ldf-SUTAAA******************OyCefNo6bvFQKsT”></div>
When your users submit the form where you integrated reCAPTCHA, you’ll get as part of the payload a string with the name “g-recaptcha-response”. In order to check whether Google has verified that user, send a POST request with these parameters:
URL: https://www.google.com/recaptcha/api/siteverify
secret (required) 6Ldf-SUTA******************YZPR1kmluw5loZzasE
response (required) The value of ‘g-recaptcha-response’.
remoteip The end user’s ip address.You can see how its working on my website http://www.verasnetwork.com.
All I am doing is following your instructions. Everything was good except that it didn’t ask for validation until I added that code.
I do not update any core code and always stick to plugins or the child theme. There was no verification using recaptcha until I added that extra code.
July 28, 2016 at 2:53 am #7579strifemut
ParticipantInitially I followed the instructions as given and it didn’t work correctly. I did assume at the time that any scripts would be loaded with the plugin.
When I went back and added the first script given on the google recaptcha page it did work.
I have now taken the script out of the genesis theme settings and amazingly it now works. I have no idea why.
I have experienced a few such problems which suddenly disappear in the past.
The matter is now closed.
July 28, 2016 at 7:35 am #7582strifemut
ParticipantHi
There is a lot of confusion because I just got an email from Wp Insider <wp.insider.help@gmail.com> (No reply email) which basically responds to a post on this topic. Unfortunately there is no reply email or mention of the forum topic so I really have no ides who it came from. Anyway the matter was closed.
July 28, 2016 at 11:33 am #7584mbrsolution
ModeratorHi, I am happy to hear that your issue is now resolved.
Enjoy the plugin 🙂
Kind regards
-
AuthorPosts
- You must be logged in to reply to this topic.