Your Moodle version

Activities: Group choice

Maintained by Picture of Nicolas Dunand Nicolas Dunand
This module allows students to enrol themselves in a group within a course. The teacher can select which groups students can chose from and the maximum number of students allowed in each group.
Moodle 2.1, 2.2, 2.3, 2.4, 2.5

This module allows students to enrol themselves in a group within a course. The teacher can choose from which groups the students can chose, and the maximum number of students allowed in each group.

Depending on the activity settings, the students can view the members of each group before making a choise, and change their selected group until the deadline.

Potential privacy issues

Depending on settings chosen by a teacher, students may see what groups other users have chosen.


Screenshot #0


Picture of Nicolas Dunand
Nicolas Dunand (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Nicolas Dunand
    Fri, Jan 9, 2015, 6:23 PM
    Hi Luigi,

    I didn't have time to implement this so far. I'll keep it in mind though as it is visible in the GitHub issues of this plugin.
  • Picture of Monica Franz
    Fri, Jan 30, 2015, 5:47 PM
    Hi Nicolas,
    I've installed the newest version while upgrading to Moodle 2.7.3. Is the help text correct for the setting Groups?
    'Here is where you specify the options that participants have to choose from.

    You can fill in any number of these. If you leave some of the options blank, they will not be displayed. If you need more options, click the "Add 3 fields to form" button.'

  • Oam
    Tue, Feb 10, 2015, 10:13 PM

    We installed the lastest version and now we got this error when we try to access to choicegroup activity :
    Fatal error: Call to undefined method cm_info::create() in /moodle/mod/choicegroup/lib.php on line 832

    We are running Moodle 2.7.5 and we found that the create() function does not exist in Moodle 2.7 !
    The function only exists in moodle 2.8.

    You can check this here :
    "Static Public Member Functions
    static create ($cm, $userid=0)"

    no create() function

    Can you fix it ? (maybe by creating branchs for each version ?)

    I create an issue :
  • Picture of Nicolas Dunand
    Thu, Feb 19, 2015, 10:51 PM
    Hi Pascal,

    Sorry about that. I just released a new version taking care of this. The plugin works now as expected on Moodle 2.7 and 2.8.
  • Picture of Nicolas Dunand
    Tue, Feb 24, 2015, 11:20 PM
    Thanks for pointing this out. Indeed, these instructions refer to an older version of the module and have to be updated. I'll correct this for the next release of the plugin.
  • Picture of Carina Martinez
    Fri, Mar 20, 2015, 9:36 PM
    Has anybody tried this plugin over an installation with Oracle DB?
  • Picture of Nicolas Dunand
    Fri, Mar 20, 2015, 10:50 PM
    Hi Carina,

    I haven't tried, but as this module uses Moodle's API which abstracts DB calls, the underlying DB should be irrelevant. So it should be working fine on top of an Oracle database.
  • Picture of Martin Vojtela
    Wed, Aug 12, 2015, 5:14 PM
    Hi Nicolas,
    wonderful work! Any chance the next version will re-direct users back to the course after they have made a selection? The current setup is rather confusing for the users.
    All the best,
  • Picture of Nicolas Dunand
    Wed, Aug 12, 2015, 7:49 PM
    Hi Martin,
    No, little chance of this ever happening. I can't think of any other Moodle module behaving like that, and I don't want to confuse users with a feature "quitting" after usage. I hope I understood you well, if not feel free to explain further.
  • Picture of Martin Vojtela
    Wed, Aug 12, 2015, 8:00 PM
    Hi Nicolas,
    All I was trying to say is that from the most obvious use case - 1. user enters the Group Choice activity, 2. user selects a group 3. user goes back to continue the course and see activities relevant to his group. I feel it is counter intuitive to go back to the screen which prompts me to select a group - I just did that after all...

    In essence I am just reinforcing what Mike Keyes wrote 24 Feb 2014, 9:22 PM - any way to add a link/button to return to the course? users are not sure how to get back.

    Cheers, Martin
  • Picture of Nicolas Dunand
    Wed, Aug 12, 2015, 8:05 PM
    Hi Martin,
    Indeed, that would make sense. I have to look into it and check what would be a clearer display of what is happening/has happened to the end user, without confusing long-time users, who are used to the current behaviour of the plugin.
  • Picture of Martin Vojtela
    Wed, Aug 12, 2015, 8:10 PM
    That is very true, good point. Perhaps a back button as Mike suggested would be more suitable than my idea. In any way, great work Nicolas.
  • Picture of Nicolas Dunand
    Wed, Aug 12, 2015, 8:13 PM
    Thanks. I'll be looking into it in the next couple of weeks, as I'll be releasing an update, officially supporting Moodle 2.9.
  • Picture of Michael Milette
    Sat, Nov 21, 2015, 2:12 AM
    Hi Nicolas, I would like to contribute some additional fixes to the plugin.

    1) Is the version on GitHub your most recent?

    2) When are you planning on releasing the next version?

    3) Would you prefer individual fixes or a rollup of multiple fixes?
  • Picture of Nicolas Dunand
    Mon, Nov 23, 2015, 5:36 PM
    Hi Michael, thanks for offering.

    1) yes
    2) when I've made sur it works flawlessly on Moodle 3.0
    3) individual fixes please
1 2 3 4 5 6
Please login to post comments