Project:Captcha Riddler
Version:5.x-3.1
Component:Code
Category:feature request
Priority:normal
Assigned:David Stosik
Status:closed (fixed)

Issue Summary

I would be nice if I could define multiple questions and have a random one picked at each form display.

Nice module, btw :)

Comments

#1

I was going to post the exact same request, good thing I always search first.

Thanks,
David
http://www.FloridaPets.org

#2

Assigned to:Anonymous» imerlin

Good suggestion. I'll look into it.

#3

A suggestion regarding multiple questions. It could be an overkill, not sure, but worth mentioning I thing.

One way to implement multiple questions would be using a template question and an array of values and expected results. For example:
- question: "How many !limb does a !animal have?"
- array of values (column 1 and 2) and expected results (column 3):
legs chicken 2
legs dog 4
wings penguin 2
tails human 0

#4

I'd like to get some input on how it would be best represented for the user.

So far I have:

  1. Single textarea with comma separated questions, answers
  2. Two textfields (question/answer) and on submit add the data to an array
  3. Some jquery magic to update the question list

So far I'm leaning towards 1. or 2. due to simplicity in the programming and the fact that I don't know jquery. Suggestions welcome.

#5

Priority:normal» minor
Status:active» postponed

Postponed until further

#6

Version:5.x-1.x-dev» 5.x-3.1
Priority:minor» normal
Assigned to:imerlin» David Stosik
Status:postponed» needs review

Hello,
Here is a patch for Captcha riddler to accept multiple riddles, and throw a random riddle when a Captcha is needed.
It applies to 5.x-3.1 version, and was parsed by Coder to have Drupal compliant code.

Regards,
David

AttachmentSize
multiriddle.patch 8.5 KB

#7

Status:needs review» reviewed & tested by the community

Looks very nice. Been wondering how it would be best to implement this but I'm liking this so far.

Testing for a few days on my website, then I'll submit to CVS. Thanks!

#8

Has there been any movement on this since August? This is quite an old issue... :)

#9

I've just added a drupal 6 version of riddler that includes this patch. It also allows multiple possible answers.

#10

The feature needed for captcha riddler for multiple language sites would be filter for language. I.e the field in a riddler definition that is filled with a language supported by a site. And then the givven riddler question appears only in that langugage.

brgds
Janeks

#11

Status:reviewed & tested by the community» closed (fixed)

Janeks,

I'll take a look at adding this. I'm going to create a new issue for it and close this one.

Moving to #788948: Add multiple language support for Riddler questions.

#12

here's a much simpler patch for multiple questions.

AttachmentSize
riddler.module.patch 2.87 KB

#13

steev, I don't know if imerlin is maintaining the D5 branch anymore, but I'm definitely not. He can probably add you as a maintainer if you're interested. Additionally, you can submit a patch for the D6 branch in a new issue, which is being maintained.