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

Possibility to set user settings in plugin #27

Closed h-e-l-l-o-w-o-r-l-d closed 3 years ago

h-e-l-l-o-w-o-r-l-d commented 3 years ago

Hi,

I installed your extension and like it so far! If I may suggest an improvement... user-settings should be editable in the plugin, especially useCookie and checkFEuser.

Use case: We use it mainly for (participation) surveys. Sometimes we allow users to vote multiple times and sometimes not. If so, a user could vote "yes" for a participation question and later on "no" because he's not able to show up for whatever reason.

Benefit: It's not practical if admins/integrators have to change it in typoscript with conditions, because a commit is necessary. The editor should be able to set it on its own without bugging us. :)

Sidenote: I know it clashes a bit when using it for surveys, because if a user votes multiple times, his former vote should not be considered in the result. Well, I think the best and most flexible solution would be if you could set in the plugin if a former vote (of the same fe-user or session user) gets "deleted" or not if a user votes again.

What do you think?

Cheers

bihor commented 3 years ago

OK, I will think about this feature. More settings via FlexForm is a good idea.

h-e-l-l-o-w-o-r-l-d commented 3 years ago

Sounds promising, thanks. :)

bihor commented 3 years ago

OK, I have added some more FlexForms in version 3.0.10. Sidenote: if the user-check is enabled, a user can not vote twice. Instead he will see his vote. Therefore there is no need to delete an old vote...

h-e-l-l-o-w-o-r-l-d commented 3 years ago

Wow, thank you for the effort! Will try it out soon, but it's not available on composer yet. ;)

bihor commented 3 years ago

OK, the release is now available.