klaudgrave / discourse-google-recaptcha

Adding Google Recaptcha to sign up form
0 stars 2 forks source link

How does it work? #1

Open noc2spam opened 4 years ago

noc2spam commented 4 years ago

Hey man

Thanks a lot for the effort. I have tried installing the plugin, and enabling it as well as setting the public and private keys from settings. I have also rebuilt the app. Still, I do not get any recaptcha in the signup form. Could you please update the documentation of this repo and add some hint how to set it up? It will save my life. Thank you!

nerra0pos commented 4 years ago

Same here. Is this plugin abandoned?

klaudgrave commented 4 years ago

Hey everyone. Seems like it's not working after some Discourse updates. It was a one-time hotfix for a certain problem and I don't have time to investigate what changed. My guess is that template of sign up form in Discourse has changed and the override one (create-account.hbs) is not valid anymore.

Also it's been a while and I'm not even sure if this plugin's create-account.hbs is even used or if the Theme Component is added with the plugin, so just in case I added the latest component code in component.html. If you have a SignUpFix under Customize - Components - try updating it with the component.html code (don't forget to change placeholders for sitekey).

Also you'll need to enable the component in your theme. And it might probably need some updating (try checking the current Discourse's create-account.hbs).