Discussions started by Joseph Rézeau

Picture of Développeurs Picture of Développeurs de plugins Picture of Moodleurs particulièrement utiles Picture of Testeurs Picture of Traducteurs

On apprend ces jours-ci que la baguette est candidate de la France au patrimoine de l’Unesco, tandis que le chicon est inscrit au patrimoine immatériel bruxellois.

Aujourd’hui c'est au tour de Moodle de candidater pour cette distinction insigne(*). Il faut dire que la pandémie de la COVID-19 a depuis un an considérablement mis en vedette les plate-formes d'enseignement distanciel, et que Moodle est très bien placé pour remporter le titre. Notre CMS préféré a toujours su mener sa barque, sous la houlette de Martin D., notre leader bien-aimé, a évité de naviguer en eaux troubles, et a fait sienne cette belle devise "Quand un homme a faim, mieux vaut lui apprendre à pêcher que de lui donner un poisson."

(*) D'après ces sources dignes de foi : Le Monde, Le ministère de la Culture, Le Gorafi, Ouest-France et ma boulangère.

Average of ratings: Super cool ! (7)
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators

When a quiz is set to Separate groups and is restricted to some groups, the users belonging to the group(s) that are not allowed to take the quiz should not be listed in the "enrolled users who have not attempted the quiz" list.

Also, when those group(s) are selected in the Separate groups drop-down list, the "Full regrade" and "Dry run a full regrade" buttons/links should not be displayed, since they are meaningless in this context.

I suggest that, in this use case, the Separate groups drop-down list should not display those groups that are not allowed to take the quiz or, better, display them greyed out (and un-selectable, of course).

The same use case applies to the Questionnaire plugin "View all Responses" display.

What do quiz users think?

Average of ratings: -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators

I've just upgraded my H5P "Dialog Cards Papi Jo" version from 1.2.0 to 1.3.0 and I'm surprised that there is no icon/link/feature in Moodle (core) h5pactivity mod similar to the one that exists in the hvp plugin.

On the other hand, h5pactivity features a convenient "Delete version" trash/bin icon, which the hvp plugin did not.

In the best of the worlds I  would like to have both features available to both modules!

These 2 screen captures speak for themselves.

---------------------------------------------------------------

----------------------------------------------------------------

Joseph black eye

Average of ratings: -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators

Not sure whether to post this question in the Quiz forum or here, but it's definitely a developer question, and more specifically for Tim.

Hi Tim! cool

In my REGEXP adaptive behaviour renderer I need to get the current properties of the question "closest" Array. If from within that renderer I output: print_r($qa) to the screen I can see an awful lot of data, as shown below. Simple question is: what magic formula will enable me to retrieve the contents of the "closest" Array?

Thanks in advance.

*RECURSION*
                )
            [shownumcorrect] =>
            [id] => 65
            [category] => 2
            [contextid] => 26
            [parent] => 0
            [qtype] => qtype_regexp Object
...
            [name] => -rg-01
            [questiontext] =>
What are the colours of the French flag?
            [questiontextformat] => 1
            [generalfeedback] =>
            [generalfeedbackformat] => 1
            [defaultmark] => 1
            [length] => 1
            [penalty] => 0.1
            ...
            [hints] => Array
                (
                )
            [closest] => Array
                (
                    [0] => it's red, blue and white
                    [1] => it's red, blue and white
                    [2] =>
                    [3] =>  st
                    [4] =>
                    [5] => 10
                )
        )
...
Average of ratings: -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators

In quiz questions it looks like the specific CSS rules are not correctly applied in the Moodle app. For instance, with a GapFill question inside a quiz we can see that the rules are:

  1. OK on a website
  2. only half OK on the Moodle App on an Android tablet
  3. not OK at all in https://mobileapp.moodledemo.net/

This is problematic when developing in mobileapp.moodledemo.net/, as we can't see the correct results. As far as I can remember those specific CSS rules used to work there.

Average of ratings: -