Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Plugin upgrade request] - Contact form captcha #207

Closed
robiso opened this issue Jun 27, 2020 · 5 comments
Closed

[Plugin upgrade request] - Contact form captcha #207

robiso opened this issue Jun 27, 2020 · 5 comments

Comments

@robiso
Copy link
Collaborator

robiso commented Jun 27, 2020

There have been a couple of requests in regards to adding captcha to either contact form plugins:
robiso/contact-form#4

@StephanStanisic also created an alternative contact form, it might make more sense to include the captcha on that plugin: https://github.com/StephanStanisic/contactform once the delivery issue is figured out.

Any help is appreciated.

@StephanStanisic
Copy link

I have used https://captcheck.netsyms.com/ sucessfully in order to fight bots. It's open source, and we could bundle it in the plugin.

There are also some alternatives on this website: https://switching.software/replace/google-recaptcha/

After I figure out the problems with the delivery of contactform, I'll take a look at a captcha.

@gppixelworks
Copy link

I'd like to use hCaptcha with this plugin. All that need be added are the following two lines to the web form:

<script src="https://js.hcaptcha.com/1/api.js" async defer></script>
<div class="h-captcha" data-sitekey="xxxxx"></div>

Any thoughts on how to integrate this?

@robiso
Copy link
Collaborator Author

robiso commented Feb 16, 2022

@gakowalski where in contact-form.php did you do the changes?

It seems starting with line 189 would be the correct lines to put this in.

@gakowalski
Copy link
Contributor

@robiso never changed anything in this file

@robiso
Copy link
Collaborator Author

robiso commented Feb 17, 2022

Sorry @gakowalski , tagged the wrong person :)

@gppixelworks, please read my previous post to see where you have to add the hCaptcha.

@robiso robiso closed this as completed Jul 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants