Course groups automatic creation

Course groups automatic creation

by Alexander Storozhenko -
Number of replies: 0

Dear Sid / Madame,

Moodle 3.1.1+ (Build: 20160804), Ubuntu, MySQL 5.5.50.

There is an algorithm, which creates course groups based on current global groups and synchronization course with global group (without auto-adding to course group) and writes users there. This works directly with MySQL database from other data source.

Problem is that after creating groups they are not displayed in the course group page interface tab GROUPS, but they can be seen in tab BROWSE. If we create new course group on the same page using interface, the list "revises" and groups that were created with algorithm appear.

Screenshots are attached.

Please tell, how can we solve this?

Algorithm works like this: checks table "mdl_enrol" if threre is any synchronization with global group and adds information to tables "mdl_groups", "mdl_groups_members".

Average of ratings: -