Question and Answer plugin for the registration form
-
Magnificent. I look forward to putting this to use.
-
I think this plugin could use some love tbh, maybe an option to have case-insensitive answers for example. As usual I hope that simple plugin examples like this can be used to help write more awesome ones in the future. It honestly only took me about 15 minutes to write
For any aspiring plugin developers, please feel free to fork or copy it out and try and write your own captcha style plugin, message me on chat if you need a point in the right direction
-
Got a remark about this code: https://github.com/psychobunny/nodebb-plugin-registration-question/blob/master/static/lib/main.js
I noticed while developing that EVE plugin that this has to be done by the plugin. Personally I think core should display a default error box with the contents of the error message.
-
@Schamper said:
I noticed while developing that EVE plugin that this has to be done by the plugin. Personally I think core should display a default error box with the contents of the error message.
The same thought occured to me when I wrote that part, I was under the impression that it was automatic actually. Might revisit that when I do i8n for the error message
I'm guessing it does not work for 0.4.x as i am getting a 404 error on the admin cp.
I don't think so, but I think you've just upgraded right? Does it work now?
-
@psychobunny yeah it works now.
-
@psychobunny nice, mind pinging me whenever you do?
-
Would be nice to have options to add more than one question in database. In fact, if possible, set it to 10 or so. And instead of one single question, admins can choose more than one question to be answered to block the bots. The questions will come in a random manner from the database of question feeded. Thanks.
-
@meetdilip said:
Would be nice to have options to add more than one question in database. In fact, if possible, set it to 10 or so. And instead of one single question, admins can choose more than one question to be answered to block the bots. The questions will come in a random manner from the database of question feeded. Thanks.
Pick a better first question and you won't need any others. Multiple Q&A questions annoy the user, nothing else, I have one very easy question and the honeypot plugin. I've not had a single spam sign up.
-
Great plugin idea, captcha is too annoying!
@psychobunny Please can you update it for the latest version of nodebb? plugin causes a crash on v0.5.4
Also ignoring case sensitive or multiple valid answers for one question would be great (not sure if this is added as cant test)
Thanks!
-
Hey, I recently updated this plugin to latest master (ie. 0.6x when it gets released). Just downgrade the plugin to 0.0.x and it should work
-
@anodetobb It's still live. I use it