Contents
- 1 General
- 1.1 What is the ‘groups mode’ setting?
- 1.2 What is the difference between a cohort and a group?
- 1.3 What is the ‘force’ setting?
- 1.4 Can I automatically add users to a group at the same time that I enroll them via a csv file?
- 1.5 How do I assign an instructor to a group? Can an instructor be in more than one group?
- 1.6 How do I restrict an instructor to view only information about the groups that they are in?
- 1.7 What determines whether users can see an instructor’s profile?
- 1.8 Can I use the same groups for more than one course?
- 1.9 Can a user be a member of more than one group?
- 1.10 userIf one user is in a group, do all users have to be in some group?
- 1.11 If I have several groups, can I make a specific activity or resource visible to just one of those groups?
- 1.12 I have two groups that meet on different days. Can I set up activities for different times for the two groups?
- 1.13 Can I have one set of groups for Activity A and another set of groups for Activity B?
- 1.14 Is it possible to view all the groups in a course as a list to print out?
- 1.15 When I try to add a user, they are always added to the first group, whichever group I select?
- 1.16 How can I delete a group?
- 1.17 How can I import a list of users into a group?
- 1.18 How can I sort users automatically into groups during enrollment?
- 1.19 What is the difference between a group and a grouping?
- 1.20 What is an orphan group?
- 1.21 Is there any way to enable users to choose a group?
- 1.22 How can I view the participants list for just one group?
- 2 Activity modules and groups
- 2.1 Which activity modules do NOT support group mode?
- 2.2 What happens if I switch an activity from being in non-groups mode to being in groups mode?
- 2.3 What happens if I change the groups for an activity in groups mode e.g. if I move a user from one group to another?
- 2.4 How do I post a message in a forum that only one group can see?
- 2.5 As an instructor I want to put the same post in each group’s forum with users able to reply to that post. How can I do this?
- 3 See also
General
What is the ‘groups mode’ setting?
You can have several classes/groups working in a single course with different (or the same) instructor. Groups mode is a way of filtering the users so that work and grades can be accessed separately. See Groups for more information. There are three different groups modes – No groups, Separate Groups, Visible Groups. In ‘Separate groups’ mode, each group can only see their own group – other groups are invisible. In ‘Visible groups’ mode, each group works in their own group, but can also see other groups.
Instructors are normally able to see other instructors’ groups’s activities as well as their own unless the capability Capabilities/lms/site:accessallgroups has been set to “prevent”.
What is the difference between a cohort and a group?
A group exists only within a course. You might have a class 10B for example which you want to enroll in course 1 and course 2. The group would need to be created in both courses and its members enrolled separately in both courses. Cohorts are groups of users created by admin which can then be brought in “en masse” to courses. So if class 10B is created as a cohort by admin, then it can be selected in those courses where enrollment via cohort has been enabled. (For more information on creating and using cohorts, see here: Cohorts) Once members of a cohort have been added to a course, they can be included in a group, either by using the “auto create groups” feature or by adding the members to an empty or pre-created group.
What is the ‘force’ setting?
If force is set to yes, then all activities are group activities. This overrides any settings for individual activities. If force is set to no, then activities are only group activities if they have been set to group mode. In this case, each activity requires to be set to group mode individually.
Can I automatically add users to a group at the same time that I enroll them via a csv file?
Yes. One of the optional field names that can be uploaded in the flat file is “group1, group2, etc”. The group must be associated to the corresponding course and the course short name used in the field course1. If the group doesn’t already exist then LMS will create the group. Here is an example of a portion of a csv file that would enroll users into a group entitled ‘Class A’ within a course entitled ‘Astro1’. (Note that you can assign users to groups using this file even if they are already enrolled in LMS, as you can select to update the user details when uploading the file.)
username, password, firstname, lastname, email, course1, group1,... jdoe, changeme, Jane, Doe, jdoe@email.org, Astro1, Class A,...
How do I assign an instructor to a group? Can an instructor be in more than one group?
You can assign a instructor to a group in exactly the same way that you assign a user to a group.
How do I restrict an instructor to view only information about the groups that they are in?
For Separate Groups mode, the capability lms/site:accessallgroups may be used to restrict access to all groups in a particular context. If this capability is removed from the instructor role (either within a course or globally if appropriate) then they will only see the users they teach when accessing the gradebook for example.
To do this for all instructors globally:
- Site administration > Users > Permissions > Define roles
- Select the editing instructor role;
- Click to edit the role
- Click the Show advanced button
- Type in the search box accessallgroups
- When it appears, click Prevent
To do this within a course:
- Course administration > Users > Permissions
- Type accessallgroups into the filter
- Click the X to remove from the editing instructor (Teacher) role.
What determines whether users can see an instructor’s profile?
A user can see the profile of all instructors that are members of their group or that have edit rights.
Can I use the same groups for more than one course?
Not directly, although there are some workarounds to accomplish this.
- Use the Import_groups Import tool to import a file with the groups and settings (though not memberships).
- Create the groups by import or manually with enrollment keys on them and give the users group enrollment keys to enroll themselves into the right group for each course.
- Admins and managers can enroll users in bulk via File Upload or Cohorts to include group membership.
- Make a template with the enrollments and groups and restore it to a new course with user data.
Can a user be a member of more than one group?
Yes, a user can be in more than one group.
If one user is in a group, do all users have to be in some group?
No, a user does not have to belong to any group.
If I have several groups, can I make a specific activity or resource visible to just one of those groups?
Yes, you can add group restrictions as described in Groups. (Restrict access must be enabled.)
I have two groups that meet on different days. Can I set up activities for different times for the two groups?
Yes, you can duplicate the activities and add group and date restrictions as described in Groups. (Restrict access must be enabled.)
Can I have one set of groups for Activity A and another set of groups for Activity B?
You can create two different groupings (a grouping is a set of groups), and assign different groupings to the two activities.
Is it possible to view all the groups in a course as a list to print out?
The groups overview page in Administration > Course administration > Users > Groups provides a table listing groups, group members and a user count.
When I try to add a user, they are always added to the first group, whichever group I select?
Make sure that the users name does not include any punctuation. There is also a workaround – give each group a temporary name at the start of the alphabet, put your users in the group and then rename the group.
How can I delete a group?
After clicking, “Groups” in Administration > Course administration > Users > Groups
- Select the group that you want to delete
- Click the “Delete selected group” button
How can I import a list of users into a group?
Please check Upload users.
How can I sort users automatically into groups during enrollment?
You can make use of enrollment keys. Set an enrollment key in Administration > Course administration > Users > Enrollment methods > Self enrollment (to enforce the enrollment key dialogue form when users enroll). That key is only for users who should not be in a group and to keep out any unwanted users. Then in Administration > Course administration > Users > Groups you create your groups and add a different enrollment key for each group. When a user enrolls, using an enrollment key that is connected to a certain group, the user will automatically be part of that group.
What is the difference between a group and a grouping?
A grouping can be thought of as a category of groups. A grouping is a meta group. User membership to a “grouping” can only happen by their membership to a group that is associated with the grouping.
What is an orphan group?
An orphan group is a group that does not belong to any grouping.
Is there any way to enable users to choose a group?
There is a contributed module “Group Choice” which will do this.
How can I view the participants list for just one group?
For this, you need Groups mode switched ON at course level in Course settings.
Activity modules and groups
Different activity modules vary as to how they treat groups – some have better support for groups than others!
In general if you have questions about how an activity supports groups, you’re advised to post in the forum for the activity module, and not the groups forum.
Which activity modules do NOT support group mode?
All activity modules support the use of group mode apart from Glossary.
What happens if I switch an activity from being in non-groups mode to being in groups mode?
This depends on the activity module in question.
For forums, posts made before the forum is put into groups mode are visible to all users after you have put the forum into group mode. However users cannot reply to these posts if they have no group (i.e. blank).
What happens if I change the groups for an activity in groups mode e.g. if I move a user from one group to another?
Again this depends on the activity module. You may find that grades or activity logs are lost, so check for the specific activity module first.
How do I post a message in a forum that only one group can see?
Before you click ‘Add a new topic’, you need to choose the group from the Separate groups drop-down menu at the top left.
As a instructor I want to put the same post in each group’s forum with users able to reply to that post. How can I do this?
A instructor can post the same message once only to all the groups they have access to by ticking the box ‘Post a copy to all groups’.