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

Staticman comment system fails with submission error #220

Closed
lobopraveen opened this issue Apr 30, 2019 · 4 comments · Fixed by #224
Closed

Staticman comment system fails with submission error #220

lobopraveen opened this issue Apr 30, 2019 · 4 comments · Fixed by #224

Comments

@lobopraveen
Copy link
Contributor

lobopraveen commented Apr 30, 2019

On a site with Staticman commenting enabled, all the comments fail with submission error.

Try the demo site - https://minimo.netlify.com/docs/comments-support/
Fill in the comment section and press the Comment! button.

Observed behavior:

Yikes, Sorry!
Error occured. Couldn't submit your comment. Please try again. Thank You!

Also, the Staticman support in minimo is missing the reCAPTCHA implementation I think. See https://github.com/eduardoboucas/staticman-recaptcha#staticman--recaptcha

@MunifTanjim
Copy link
Owner

Try the demo site - https://minimo.netlify.com/docs/comments-support/

It is expected to fail. It's not enabled on the demo site.

@lobopraveen
Copy link
Contributor Author

lobopraveen commented Apr 30, 2019 via email

@MunifTanjim
Copy link
Owner

I don't remember testing it after enabling the reCAPTCHA.

reCAPTCHA support is definitely not implemented in Minimo. If you need that, you'll have to override the /layouts/partials/comments/staticman/form.html. You'll probably need to change the javascript file too, I'm not sure about that.

@VincentTam
Copy link

reCAPTCHA support is definitely not implemented in Minimo

Many themes support reCAPTCHA, like Beautiful Hugo/Jekyll, Minimal Mistakes,etc. reCAPTCHA is a popular service that is easy to implement, despite inaccessible for some VPN users and considered as evil to haters of Google.

Due to Staticman's spam problem reported in eduardoboucas/staticman#175 and eduardoboucas/staticman#298, there's a genuine need for reCAPTCHA integration in this theme.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants