Moodle
  1. Moodle
  2. MDL-23186

Copy groups and groups members from other courses

    Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.9.9
    • Fix Version/s: DEV backlog
    • Component/s: Groups
    • Labels:
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_19_STABLE
    • Rank:
      6127

      Description

      Similar to what can be done with activities (http://docs.moodle.org/en/Import_course_data), i have implemented a tool to import groups from courses.
      It is a patch to "course/import/groups", that extends it's functionality to allow a user to copy groups and groups members from courses he taught.
      This tool copy the groups that doesn't exist on destination course based on group name, and then it copy only the members that are enrolled in the destination course.

      1. copy.groups.diff
        4 kB
        Daniel Neis
      2. mdl23186.v3.diff
        7 kB
        Daniel Neis
      3. mdl23186-pt-br.diff
        1 kB
        Daniel Neis
      4. mdl23186-v2.diff
        7 kB
        Daniel Neis

        Issue Links

          Activity

          Hide
          Daniel Neis added a comment -

          This second version changes some strings and adds a help file.

          Show
          Daniel Neis added a comment - This second version changes some strings and adds a help file.
          Hide
          Daniel Neis added a comment -

          This pt-br diff is a patch for the brazilian portuguese language pack.

          Show
          Daniel Neis added a comment - This pt-br diff is a patch for the brazilian portuguese language pack.
          Hide
          Daniel Neis added a comment -

          I've uploaded v3 of patch that copy only rgoup members that are not already in destination group. Moodle doesn't do any tests in database level so we have to manually exclude the users already enrolled. This was noted because the members count was rising albeit the list of names doesn't.

          Show
          Daniel Neis added a comment - I've uploaded v3 of patch that copy only rgoup members that are not already in destination group. Moodle doesn't do any tests in database level so we have to manually exclude the users already enrolled. This was noted because the members count was rising albeit the list of names doesn't.

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: