Moodle

quiz access for unregistered users (maybe even other modules: forum, glossary, wiki, anything?)

Details

  • Type: New Feature New Feature
  • Status: Open Open
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: 1.9.3
  • Fix Version/s: None
  • Component/s: Quiz
  • Labels:
    None
  • Database:
    Any
  • Difficulty:
    Moderate
  • Affected Branches:
    MOODLE_19_STABLE

Description

Since Tim hunt wrote today (http://moodle.org/mod/forum/discuss.php?d=113802#p500215) that there was no feature request for this in spite of so many wanting this, I'm taking the "freedom" of putting this in, without searching.

There are many people that have wished for this feature. People that want to easily demonstrate how good Moodle is (and quiz is one of the very good things). Teachers that would like to give prospective students a chance to do a diagnostic test before signing up.

(It would be good to have the possibility even for testing/demonstrating other modules like forum, glossary, wiki)

What would it do?

When a guest clicks on a quiz:
it checks if the quiz is allowed for guests
NO- gives the usual message
Yes:
If self registration is allowed, points out the advantage of registering and offers a link to that.
else
Says that it is creating a temporary ID: guest{no} with pw:{no}{no}{no}=an unused number
the the person can use for 1 hour/day/week that the person can use while doing the quiz (and to come back during that period)
THEN the quiz engine would work as usual, saving results and so forth, but not influencing the gradebook etc for real IDS.

Activity

Hide
Tim Hunt added a comment -

Jeff, particularly for feature requests, there is no point selecting every Affects Version. Just pick the latest released version.

Also, to not that the right way to implement this is nothing to do with authentication. We can do it entirely within the quiz module (from Moodle 2.0 onwards). We just need to change:

1. Any remaining places where it assumes there is only one open attempt per user. Drop that assumption if the current user if guest.

2. If the current user is guest, store the attempt id of this user's attempt in the session if there is one.

3. When showing the list of this user's past attempts, and the start/continue attempt button; when the current user is guest, only use the attempt(s) whose id is stored in the session.

4. (Not sure if this is necessary or a good idea) arrange for guest attempts to be deleted once the user has logged out and the attemptid is gone from that user's session. (Could be done on cron.)

5. Make sure that the mod/quiz/index.php, quiz results block, and quiz reports do not get broken by this. (One option would be to set preview=1 for these attempts, even though they are not really previews.) Another option would be to use preview=2 and give that a new meaning.

The real question for me is, should guest attempts show up in the quiz reports or not?

Patches welcome on this, but only if they are for Moodle 2.0. I am unlikely to have time to work on this myself any time soon.

Show
Tim Hunt added a comment - Jeff, particularly for feature requests, there is no point selecting every Affects Version. Just pick the latest released version. Also, to not that the right way to implement this is nothing to do with authentication. We can do it entirely within the quiz module (from Moodle 2.0 onwards). We just need to change: 1. Any remaining places where it assumes there is only one open attempt per user. Drop that assumption if the current user if guest. 2. If the current user is guest, store the attempt id of this user's attempt in the session if there is one. 3. When showing the list of this user's past attempts, and the start/continue attempt button; when the current user is guest, only use the attempt(s) whose id is stored in the session. 4. (Not sure if this is necessary or a good idea) arrange for guest attempts to be deleted once the user has logged out and the attemptid is gone from that user's session. (Could be done on cron.) 5. Make sure that the mod/quiz/index.php, quiz results block, and quiz reports do not get broken by this. (One option would be to set preview=1 for these attempts, even though they are not really previews.) Another option would be to use preview=2 and give that a new meaning. The real question for me is, should guest attempts show up in the quiz reports or not? Patches welcome on this, but only if they are for Moodle 2.0. I am unlikely to have time to work on this myself any time soon.
Hide
Ray Lawrence added a comment -

"The real question for me is, should guest attempts show up in the quiz reports or not? "

No, IMO. We'll be into the territory of "I want them to take the test without logging on but I want to to record who got which scores... which sound like a recipe for much confusion to me.

Show
Ray Lawrence added a comment - "The real question for me is, should guest attempts show up in the quiz reports or not? " No, IMO. We'll be into the territory of "I want them to take the test without logging on but I want to to record who got which scores... which sound like a recipe for much confusion to me.
Hide
Jeff Forssell added a comment -

I was this in a forum post today:

"I beg to disagree: grades for guest users are not meaningless. About half of my class prefer anonymous login. I still want to see how this half performs and what they did not understand. Therefore, I hard changed the code in moodle in order to allow full guest access to quizzes. To avoid confusion, I only write one page quizzes and hide the safe button. This works fine for me."

Show
Jeff Forssell added a comment - I was this in a forum post today: "I beg to disagree: grades for guest users are not meaningless. About half of my class prefer anonymous login. I still want to see how this half performs and what they did not understand. Therefore, I hard changed the code in moodle in order to allow full guest access to quizzes. To avoid confusion, I only write one page quizzes and hide the safe button. This works fine for me."
Hide
Jeff Forssell added a comment -

" I was" was supposed to be "I saw" in the post above.

Show
Jeff Forssell added a comment - " I was" was supposed to be "I saw" in the post above.
Hide
Klaus Schramm added a comment -

As a teacher, I have more than one interest in this feature:

1. Students in my class who are sensitive about their personal data should be able to practice anonymously.
2. Students at the university who have not yet decided if they want to take the class should be allowed a peek into the requirements without signup procedure.
3. Non-students (internet) who are curious about the teaching method should be able to play around and enjoy the online options, perhaps get inspired and adopt moodle for their purposes.

For situations 1 to 3 I prefer guest access rather than some dummy account.
For situation 1 I want to have the results of anonymous quizzes because this information goes back into the teaching (e.g.: typical mistakes are corrected in the next lecture).

Therefore, I will (eventually) try to change the 2.0 version of moodle to accomodate guest access for quizzes.

Best regards,
Klaus Schramm

Show
Klaus Schramm added a comment - As a teacher, I have more than one interest in this feature: 1. Students in my class who are sensitive about their personal data should be able to practice anonymously. 2. Students at the university who have not yet decided if they want to take the class should be allowed a peek into the requirements without signup procedure. 3. Non-students (internet) who are curious about the teaching method should be able to play around and enjoy the online options, perhaps get inspired and adopt moodle for their purposes. For situations 1 to 3 I prefer guest access rather than some dummy account. For situation 1 I want to have the results of anonymous quizzes because this information goes back into the teaching (e.g.: typical mistakes are corrected in the next lecture). Therefore, I will (eventually) try to change the 2.0 version of moodle to accomodate guest access for quizzes. Best regards, Klaus Schramm
Hide
Joseph Rézeau added a comment -

Any progress on this feature (with 21 votes)?

Show
Joseph Rézeau added a comment - Any progress on this feature (with 21 votes)?
Hide
Tim Hunt added a comment -

Just because it has a lot of votes does not mean it is possible.

Show
Tim Hunt added a comment - Just because it has a lot of votes does not mean it is possible.
Hide
Joseph Rézeau added a comment -

Tim:

Just because it has a lot of votes does not mean it is possible.


Yes, of course. In 1.9 there was a workaround, which has disappeared in moodle 2.
If this feature is definitively deemed as impossible, then it would make sense to remove the possibility to give the "attempt" capability to guest in Quiz, to make things more clearer.
Joseph

Show
Joseph Rézeau added a comment - Tim:
Just because it has a lot of votes does not mean it is possible.
Yes, of course. In 1.9 there was a workaround, which has disappeared in moodle 2. If this feature is definitively deemed as impossible, then it would make sense to remove the possibility to give the "attempt" capability to guest in Quiz, to make things more clearer. Joseph

People

Vote (23)
Watch (16)

Dates

  • Created:
    Updated: