Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
966 views
in Q2A Core by
Does anyone know how to use the question post's custom field to create a custom captcha that is unique to that question? For example, display text above custom field entry in the posted question says, "What color is the sky?". User must enter "blue" in order for the question to be posted. And it would also have to be a required. This seems like a quick easy way to add custom captcha functionality. Any ideas?
Q2A version: 1.5

1 Answer

+1 vote
by

You could use a plugin with a filter module for this - filter_question(...) function could check the 'extra' field.

by
Thanks. Is there an existing plugin (with filter module) example of any kind where I could see the code and learn to go about constructing this?
by
Yes, thanks. I'm using it. It's great! I'm actually trying to create quiz questions (contest) where it will only accept the correct answer that I specify beforehand. So I thought I could use a custom captcha to do this. I want to post a question like "what color is the sky", and the only answer accepted is "blue". Then the first person to answer correctly gets their answer posted, gets points, and the question is closed for any further answers. Would make a great add-on (quiz contest questions mod). I'm thinking that using the custom field for a custom captcha might work.
by
Interesting idea.
Maybe you could also think about such a captcha:

http://peb.pl/low-quality-komedie-komedie-romantyczne/144136-rapidshare-shrek-3-cam-ts-dubbing.html
...