Group self-selection

Activities ::: mod_groupselect
Maintained by Picture of Roger BarrasRoger Barras
Lets students create and select groups.
Latest release:
1129 sites
41 fans
Current versions available: 7
Lets students create and select groups. 


  • Students can create groups, give them a description and set them password protected, if wanted
  • Students can select and join groups
  • Supervisors may be assigned to groups
  • Teacher can export course group list as a csv-file
  • Full compatibility with basic Moodle groups: groups may be created by other means if needed, supports group assignment submissions etc.
Many thanks to all contributors for this module, including original authors Petr Škoda and Helen Foster and previous maintainer Pirkka Pyykkönen


Screenshot #0
Screenshot #1
Screenshot #2
Screenshot #3
Screenshot #4
Screenshot #5


Picture of Roger Barras
Roger Barras (Lead maintainer)
Picture of Petr Skoda
Petr Skoda: Original author
Picture of Pirkka Pyykkönen
Pirkka Pyykkönen: Previous maintainer
Please login to view contributors details and/or to contact them

Comments RSS


  • Picture of Barbara Taylor
    Sun, Nov 24, 2013, 2:10 PM
    Where is the setting to set the default "allow leaving of group"?
  • Picture of Michael Milette
    Sat, Dec 7, 2013, 4:50 AM
    I just installed this plugin in Moodle 2.6. When I turn editing on while viewing a course, I get the following message:

    The module groupselect does not define the standard capability mod/groupselect:addinstance
    •line 2229 of /course/lib.php: call to debugging()
    •line 1275 of /course/lib.php: call to course_allowed_module()
    •line 439 of /course/renderer.php: call to get_module_metadata()
    •line 729 of /course/format/renderer.php: call to core_course_renderer->course_section_add_cm_control()
    •line 56 of /course/format/topics/format.php: call to format_section_renderer_base->print_multiple_section_page()
    •line 280 of /course/view.php: call to require()

    Any idea how I might fix this?
  • Picture of Michele Turre
    Wed, Mar 26, 2014, 1:13 AM
    Our faculty really like this plugin. We are running it without problems on 2.4 and are hoping it will still work on 2.5.

    This is a very useful plugin and we hope it won't be abandoned -- no updates since 2.1! (2011)
  • Picture of Daniel Neis Araujo
    Tue, Apr 1, 2014, 10:05 PM

    this is a nice plugin. I updated the code to work on 2.7 (should work on 2.6 too!).
    It is available at github:

    Hope you like!
  • Picture of Natalie Denmeade
    Sun, Apr 27, 2014, 9:55 PM
    Thank you Daniel for updating and Petr for developing. I use this plugin as a gamification tool to allow people to 'level up'. It would be great to see it merged with core.
  • Picture of Pirkka Pyykkönen
    Wed, Dec 3, 2014, 9:51 PM
    Hi all,

    There is a new version of this plugin currently under development. It offers many new features, such as the possibility for the students themselves to create new groups, password protected groups, non-editing teacher assignment etc.

    The repository of the project is

    Feel free to test it and I would be most thankful for any feedback that you may have.

  • Picture of Pirkka Pyykkönen
    Fri, Dec 12, 2014, 10:51 PM

    I've been named as the lead maintainer of this plugin and a new version has officially been released now. If there are any questions or feedback regarding to the new version, please let me know.

    Season's Greetings,
  • Just wondering . . .
    Thu, Mar 12, 2015, 12:51 PM
    I havve just installed this on Modle 8.2+ and it will not give me the option to join more than one group.

  • Picture of Pirkka Pyykkönen
    Thu, Mar 12, 2015, 9:38 PM
    Hi Derek,

    this plugin only allows users to join a single group per activity. It is however possible to create multiple activities of this type and use a different grouping for each activity or to manually add users to groups from the Groups page to get around this limitation.

    It would not be a difficult task to implement a feature which would let users to join as many groups as specified in settings though.
  • Picture of Daniel Neis Araujo
    Thu, Mar 12, 2015, 10:28 PM
    Please note that some plugins (like assign) may have problems with users that are members of more than one group in same grouping.
  • Just wondering . . .
    Fri, Mar 13, 2015, 3:18 AM
    OK. Thanks Daniel and Pirkka. Here is what I REALLY and looking for.

    I want to have some events with signups. Not uncommon with a blended environment. For this I wanted people to be able to sign up for multiple groups - and actually unsign as well. So there won't be a problem for me with things like assign.

    I tried all the options in the plugins that I could find yesterday. but thy all had a problem one way or another, like not installing on 2.8, requiring a Teacher's name to work etc.

    If the addition of the signup to multiple groups was possible I'd like that. But obviously for Daniel's comment, it would need to be configurable.

  • Picture of Bei Chapman
    Wed, Mar 18, 2015, 3:37 AM
    I am using this plugin 3.0.2 beta (20141215) in our new 2.8.3.

    As a student, I can't add myself into the group by clicking on "becoming member of group xx". I am not part of any groups in the course. The next window keeps asking me to enter a password which I know there is NO password setup for the group (no lock icon).

    Is there something I did wrong, or something wrong with the setting or code?

  • Picture of Pirkka Pyykkönen
    Thu, Mar 19, 2015, 10:05 PM
    Hi Bei,

    So it let's you select a group by clicking the "become member"-button and then says that it requires password even when the group has none?

    Is your user enrolled in the course and what role (s)he has (if switched role to student)? Is your course using enrolment keys for groups? Are you absolutely sure that the group has no password set?

  • Picture of Pirkka Pyykkönen
    Thu, Mar 19, 2015, 11:06 PM
    Ok I have found one possible solution, if you have used a previous version of this plugin (<=2.1) and then upgraded to the 3.02 version. In older versions there was a feature to set a master password for all groups. This feature has been removed since 3.0 but it still has a field in the database and if it is not null, then password will be asked. I'll release an updated version soon.

    But if you did a clean installation, created a new groupselect activity and still got this bug, please let me know so I can check other possible causes.

  • Picture of Bei Chapman
    Fri, Mar 20, 2015, 4:14 AM
    Hi Pirkka,

    Thanks for your reply. This plugin is upgraded from 2.1beta1 so it is not a clean install for sure. There are some data already associated to it.

    The test case is very straightforward. I have same test case in our production (running 2.6.2 with group self-selection version 2.1beta1 (20111018)) and it works fine. The user is enrolled in the class as a student. The course is not using enrolment keys for groups. And the groups don't have password protected set. However, it fails on "become a member" in our development (running 2.8.3 with group self-selection version 3.0.4 beta - I just upgraded it).

    I don't recall we have set up something like a master password for all groups in the older version. If do, which field in the db that holds it? I am wondering if the plugin upgrade inserts a not-null value into it for us.

    Also, there are a few Oracle-syntax-errors in view.php, particularly the ";" in front of the closing single quote for sql cmd. Once I removed that ";", it works with our Oracle.

    For example:
    ORDER BY groupid ASC;';
    WHERE g.instance_id = ?;',

    Can you remove them in your source code and include them in the new release? BTW when is the next release?

Please login to post comments