bihor / fp_masterquiz

TYPO3 extension to create a quiz, poll or test. The user result will be saved in the DB too and could be displayed as a chart.
GNU General Public License v3.0
5 stars 10 forks source link

[FEATURE] Close quiz/poll option in quiz/poll record #47

Closed h-e-l-l-o-w-o-r-l-d closed 1 year ago

h-e-l-l-o-w-o-r-l-d commented 1 year ago

Hi Kurt :)

I'm back on track after a 6 months break. Still using your extension as a poll solution. Thanks for all the features you implemented lately (my own requests, matric mode etc.) and keeping it up with bug fixes.

We face a problem that fp_masterquiz cannot handle, so this is a feature request, maybe just an additional option request, I don't know.

Situation: We have a poll where you only can participate once.

Request: We want to be able to show the users own answers BUT no participation should be possible anymore. From what I see in the options, this is not possible. We can do the following:

  1. Deactivate the plugin -> no user answers shown
  2. Activate the plugin with show poll in switchableControllerActions -> user answers shown if you particpated but all other users can still participate (not wanted)

We cannot:

  1. Activate the plugin, show users answers but don't allow to participate (poll closed)

Reason for the need: After a poll is closed, we get lots of questions from users who forgot what they answered. Example: "Did I say yes or no to the poll question?". This leads to questions which takes time to answer.

So what is missing is a "closed" checkbox in the poll record. If set to yes, only answers should be shown in the frontend (if show answers is set in switchableControllerActions). Ideally the closed-functionality is spiced with a from- and to-date, so you can prepare the poll duration beforehand instead of having to set it manually.

Possible messages in frontend:

"Poll will start soon." or "Poll will start on [DATE]" (selectable) -> If show poll is selected in switchableControllerActions AND poll is not closed AND from-date is selected and not reached yet.

"Poll is closed, you cannot participate anymore." -> If show poll is selected in switchableControllerActions AND (poll is closed OR to-date is reached).

Bonus: Option for correct wording (quiz or poll/survey)

What do you think about it? :-)

bihor commented 1 year ago

Sorry for answering so late. I was very busy.

Well, your feature-request makes sense. I think, I will implement it in January.

h-e-l-l-o-w-o-r-l-d commented 1 year ago

Wow, sounds good. Thank you! If you need help with testing, let me know.

bihor commented 1 year ago

Well, I didn´t wanted to make it complicated. I just added the setting "closed", which can be set via FlexForms too. Users who voted, will then see their result. Other users will get a message. Furthermore I added a type select-box to quiz to improve the message from about. Can you test that in version 3.5.8?

h-e-l-l-o-w-o-r-l-d commented 1 year ago

Thanks. Will do so when I have a free spot!

bihor commented 1 year ago

Well, now I think a checkbox at the quiz-entry would be better than at the FlexForms. I think, I will add that checkbox to a quiz too.

h-e-l-l-o-w-o-r-l-d commented 1 year ago

With quiz entry you mean poll record? At least that's what I suggested in my initial post, because it belongs to a poll, not to a plugin.

bihor commented 1 year ago

closed

Poll entry or quiz entry. I have added a checkox there too. You find it at the access-tab in version 3.6.1. The setting will remain too.

h-e-l-l-o-w-o-r-l-d commented 1 year ago

Great, thank you! Will try it out ASAP and report back.