Note: You are currently viewing documentation for Moodle 3.1. Up-to-date documentation for the latest stable version of Moodle is probably available here: Groups.

Groups: Difference between revisions

From MoodleDocs
(→‎Group members: 'Include only active enrolments' checkbox (MDL-53072)))
 
(21 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Grouping users}}
{{Grouping users}}
A teacher can organise users into groups within the course or within particular activities.
==Why use groups?==
==Why use groups?==
*You are a teacher in a course where you have several classes and you want to filter your activities and gradebook so you only see one class at a time.
*You are a teacher in a course where you have several classes and you want to filter your activities and gradebook so you only see one class at a time.
*You are a teacher sharing a course with other teachers and you want to filter your activities and gradebook so you don’t see the students from your colleagues’ classes.
*You are a teacher sharing a course with other teachers and you want to filter your activities and gradebook so you don’t see the students from your colleagues’ classes.
*You want to allocate a particular activity or resource to just one class or set of users and you don’t want others to see it. See [[Groupings]].
*You want to allocate a particular activity, resource or topic section to just one class or set of users and you don’t want others to see it.  


==Group levels==
==Group levels==
[[File:groupmodecourse.png|thumb|Groups settings in course settings]]
A group or grouping can be used on two levels:
A group or grouping can be used on two levels:


*Course level - The group mode defined at the course level is the default mode for all activities defined within that course.  To use groups you need first to set a group mode in ''Administration>Course administration>Edit settings.''
*Course level - The group mode defined at the course level is the default mode for all activities defined within that course.  To use groups you need first to set a group mode in ''Administration > Course administration > Edit settings.''


*Activity level - Each activity that supports groups can also have its own group mode defined. If the course  setting "Force group mode" is set to "Yes" then the option to define the group mode for individual activities is not available. If it is set to "No", then the teacher may change the group mode:
*Activity level - Each activity that supports groups can also have its own group mode defined. If the course  setting "Force group mode" is set to "Yes" then the option to define the group mode for individual activities is not available. If it is set to "No", then the teacher may change the group mode:
[[File:groupmodecourse.png]]


===Group modes===
===Group modes===
Line 28: Line 25:
Using groups with discussion forums allow teachers to restrict interaction between students. Separate groups mean only students in the same group can see and participate in discussions within a particular forum. Visible groups allow students to see other group's discussions, but only participate in their own group's discussions.
Using groups with discussion forums allow teachers to restrict interaction between students. Separate groups mean only students in the same group can see and participate in discussions within a particular forum. Visible groups allow students to see other group's discussions, but only participate in their own group's discussions.


'''Note:''' Where visible groups are used or the participant can access all groups, the user's own group is shown first, followed by other groups:
[[File:mygroupsfirst.png]]


==Creating a group==
==Creating a group==
#Click the 'Create group' button in ''Administration> Course administration > Users > Groups''
#Click the 'Create group' button in ''Administration > Course administration > Users > Groups''
#Add a group name and optional description (displayed above the list of group members on the participants page), [[Enrolment key|enrolment key]] and picture (displayed on the participants page and next to forum posts)
#Add a group name and optional description (displayed above the list of group members on the participants page), [[Enrolment key|enrolment key]] and picture (displayed on the participants page and next to forum posts)
#Click the 'Save changes' button
#Click the 'Save changes' button
Line 39: Line 39:
An optional group ID number (an advanced setting) may be added for matching the group against external systems. Group ID numbers are not displayed anywhere on the site. Within a course, all group ID numbers must be unique. Thus it's not possible to create a group with a duplicate group ID number.
An optional group ID number (an advanced setting) may be added for matching the group against external systems. Group ID numbers are not displayed anywhere on the site. Within a course, all group ID numbers must be unique. Thus it's not possible to create a group with a duplicate group ID number.


[[File:groups.png]]
==Auto-create groups==
[[File:autocreategroups.png|thumb|Auto-create groups]]
Groups may be created automatically via the 'Auto-create groups' button in ''Administration > Course administration > Users > Groups''. To see all the settings, click the ''Expand all'' link top right.


==Auto-create groups==
===General===
A '''naming scheme''' can be created automatically.  # is replaced by sequential numbers, and @ by letters.  For example: 
*''Group @'' will create group with a naming scheme Group A, Group B, Group C . . .
*''Group #'' will create group with a naming scheme Group 1, Group 2, Group 3 . . .


Groups may be created automatically via the 'Auto-create groups' button in ''Administration > Course administration > Users > Groups''. To see all the settings, click the Show Advanced button.
You can specify if you would like to  create  
*x number of Groups or
*each group contain x number of students


[[File:autocreategroupsmoodle2.png]]
:When selecting '''Members per group''' the '''Prevent last small group''' will allocate additional members to an existing group rather then create a new group with fewer members than x. This setting is found by clicking on the Show More link.


''Select members from ...'' allows you to choose from roles or available cohorts.
===Group members===
''Select members from ...'' allows you to choose from roles assigned within the course, available cohorts, groups or groupings.
'''Specify''' and '''Group/Member count''' work together.   
'''Specify''' and '''Group/Member count''' work together.   


You can specify if you would like to  create
The setting 'Select members from cohort' lists all cohorts which users enrolled on the current course are part of. The number in brackets is the number of users enrolled on the course in that cohort.
*x number of Groups or
 
*each group contain x number of students
The 'Ignore users in groups' checkbox should be ticked to only select group members from users that are NOT already in a group in the course.


:When selecting '''Members per group''' the '''Prevent last small group''' will allocate additional members to an existing group rather then create a new group with fewer members than x. This setting is found by clicking on the Show More link.  
{{New features}}In Moodle 3.1 onwards, the 'Include only active enrolments' checkbox provides the option to choose whether to include suspended users in groups. The checkbox is only displayed to users with the [[Capabilities/moodle/course:viewsuspendedusers|capability to view suspended users]].


A '''naming scheme''' can be created automatically.  # is replaced by sequential numbers, and @ by letters.  For example: 
===Grouping===
*''Group @'' will create group with a naming scheme Group A, Group B, Group C . . .
*''Group #'' will create group with a naming scheme Group 1, Group 2, Group 3 . . .


'''Create in grouping''' and '''Grouping name''' allows you to create a new grouping and allocate the new autocreated groups to be created to it.   
'''Create in grouping''' and '''Grouping name''' allows you to create a new grouping and allocate the new auto-created groups to be created to it.   


Prior to creating the groups, you can view the groups.
Prior to creating the groups, you can view the groups.
==Restricting an activity, resource or course topic to a particular group==
[[File:group restriction.png|frame|Restricting an activity to a particular group]]
To be able to restrict an activity, resource or course topic to a group, [[Conditional activities]] must be enabled. This will result in a 'Restrict access' section in the activity, resource or topic settings and a group restriction can then be added.


==Groups and enrol plugins==
==Groups and enrol plugins==
Line 72: Line 82:
A overview of groups and groupings is available via the Overview tab in ''Administration > Course administration > Users > Groups''.
A overview of groups and groupings is available via the Overview tab in ''Administration > Course administration > Users > Groups''.


The table may be filtered to display particular [[Groupings|groupings]] or groups.
The table may be filtered to display particular [[Groupings|groupings]] or groups and it will also display students who are ''not'' in a group:
[[File:notinagroup1.png|center]]


==Groups capabilities==
==Groups capabilities==
Line 81: Line 92:


==See also==
==See also==
*[[Upload users]] - for importing users into groups
*[[Upload users]] - for importing users into groups
*[[Enrolment key]]
*[[Enrolment key]]
* [http://youtu.be/amyQjAESkZM Moodle Forum Types and Group Mode] MoodleBites video on YouTube


[[de:Gruppen]]
[[de:Gruppen]]
[[fr:Groupes]]
[[fr:Groupes]]
[[ja:グループ]]
[[ja:グループ]]
[[es:Grupos]]

Latest revision as of 10:13, 24 August 2017

Why use groups?

  • You are a teacher in a course where you have several classes and you want to filter your activities and gradebook so you only see one class at a time.
  • You are a teacher sharing a course with other teachers and you want to filter your activities and gradebook so you don’t see the students from your colleagues’ classes.
  • You want to allocate a particular activity, resource or topic section to just one class or set of users and you don’t want others to see it.

Group levels

Groups settings in course settings

A group or grouping can be used on two levels:

  • Course level - The group mode defined at the course level is the default mode for all activities defined within that course. To use groups you need first to set a group mode in Administration > Course administration > Edit settings.
  • Activity level - Each activity that supports groups can also have its own group mode defined. If the course setting "Force group mode" is set to "Yes" then the option to define the group mode for individual activities is not available. If it is set to "No", then the teacher may change the group mode:

Group modes

There are three group modes

  • No groups - There are no sub groups, everyone is part of one big community
  • Separate groups - Each group can only see their own group, others are invisible.
  • Visible groups - Each group works in their own group, but can also see other groups. (The other groups' work is read-only.)

For example, enabling either separate or visible groups on an assignment drop-box enables staff to filter the student submissions to see only those from a particular tutor group. With visible groups, students can see which other groups are doing the same activities as they are; with separate groups, they do not know which other groups are doing the same activities.

Using groups with discussion forums allow teachers to restrict interaction between students. Separate groups mean only students in the same group can see and participate in discussions within a particular forum. Visible groups allow students to see other group's discussions, but only participate in their own group's discussions.

Note: Where visible groups are used or the participant can access all groups, the user's own group is shown first, followed by other groups:

mygroupsfirst.png

Creating a group

  1. Click the 'Create group' button in Administration > Course administration > Users > Groups
  2. Add a group name and optional description (displayed above the list of group members on the participants page), enrolment key and picture (displayed on the participants page and next to forum posts)
  3. Click the 'Save changes' button
  4. Select the group to which you want to add participants, then click the 'Add/remove users button
  5. In the "Potential members" list, select the users you want to add to the group. Multiple users may be selected using the Crtl key.
  6. Click the Add button to add the users to the group

An optional group ID number (an advanced setting) may be added for matching the group against external systems. Group ID numbers are not displayed anywhere on the site. Within a course, all group ID numbers must be unique. Thus it's not possible to create a group with a duplicate group ID number.

Auto-create groups

Auto-create groups

Groups may be created automatically via the 'Auto-create groups' button in Administration > Course administration > Users > Groups. To see all the settings, click the Expand all link top right.

General

A naming scheme can be created automatically. # is replaced by sequential numbers, and @ by letters. For example:

  • Group @ will create group with a naming scheme Group A, Group B, Group C . . .
  • Group # will create group with a naming scheme Group 1, Group 2, Group 3 . . .

You can specify if you would like to create

  • x number of Groups or
  • each group contain x number of students
When selecting Members per group the Prevent last small group will allocate additional members to an existing group rather then create a new group with fewer members than x. This setting is found by clicking on the Show More link.

Group members

Select members from ... allows you to choose from roles assigned within the course, available cohorts, groups or groupings. Specify and Group/Member count work together.

The setting 'Select members from cohort' lists all cohorts which users enrolled on the current course are part of. The number in brackets is the number of users enrolled on the course in that cohort.

The 'Ignore users in groups' checkbox should be ticked to only select group members from users that are NOT already in a group in the course.

New feature
in Moodle 3.1!
In Moodle 3.1 onwards, the 'Include only active enrolments' checkbox provides the option to choose whether to include suspended users in groups. The checkbox is only displayed to users with the capability to view suspended users.

Grouping

Create in grouping and Grouping name allows you to create a new grouping and allocate the new auto-created groups to be created to it.

Prior to creating the groups, you can view the groups.

Restricting an activity, resource or course topic to a particular group

Restricting an activity to a particular group

To be able to restrict an activity, resource or course topic to a group, Conditional activities must be enabled. This will result in a 'Restrict access' section in the activity, resource or topic settings and a group restriction can then be added.

Groups and enrol plugins

Where groups are created automatically with enrol plugins such as IMS Enterprise, members cannot be unenrolled manually via the groups screen inside a course. This has to be done from the plugin. Additionally, when group members are owned by a plugin like this, there is information below their name on the groups screen.

Groups overview

A overview of groups and groupings is available via the Overview tab in Administration > Course administration > Users > Groups.

The table may be filtered to display particular groupings or groups and it will also display students who are not in a group:

notinagroup1.png

Groups capabilities

See also