Question and Answer plugin for the registration form
-
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
-
@chas Is it related to:
Cannot read property regFormEntry of undefined ยท Issue #3 ยท psychobunny/nodebb-plugin-registration-question
This stops the Register page from loading. Plugin is at 0.1.3 running 0.6.0 after the plugin changes took effect. :) Noticed it also references the spam-be-gone plugin too for some reason. But I only get this error when reg-question is e...
GitHub (github.com)
Just realised I'm on 0.1.3. Nevermind. (Don't update to it unless you're on 0.6.x-dev)
-
@anodetobb It's still live. I use it
-
is this plugin still maintained? if so, can we open issues at the GitHub page?
GitHub - psychobunny/nodebb-plugin-registration-question: Question and Answer plugin for the NodeBB registration form
Question and Answer plugin for the NodeBB registration form - psychobunny/nodebb-plugin-registration-question
GitHub (github.com)