Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-65976

Add a new message provider for course completed

XMLWordPrintable

    • MOODLE_37_STABLE
    • MOODLE_310_STABLE
    • MDL-65976-master
    • Hide
      Prerequisite
      1. A moodle installation with email/stmp configured (you can use mailhog)
      Test
      1. As site administrator create a course in Moodle with completion enabled
      2. Go to the course settings cog and open the "Course completion" section
      3. Enable the condition "Condition: Manual self completion" and click "Save Changes"
      4. Back in the course main page, click the "Turn editing on button"
      5. Via the "Add block" option, add two blocks: "Course completion status" and "Self completion"
      6. Create or reuse an existing user account and enrol it as student in the course
      7. Now, log-in in as the user enrolled as student in the course
      8. Go to your user preferences > Notification preferences
      9. Enable the "Email" processor for the "Course completed" message type
      10. Go back to the course and via the "Self completion" block, mark the course as completed
      11. Now, you have to execute manually the task "Calculate regular completion data", you can do it manually as Moodle admin via the Server > Tasks > Scheduled tasks admin tool or via the php cli
      12. Check that you receive an email, with subject "Course completed" and text: Congratulations, you just completed the following course: COURSE_NAME (linking to the course)
      Show
      Prerequisite A moodle installation with email/stmp configured (you can use mailhog) Test As site administrator create a course in Moodle with completion enabled Go to the course settings cog and open the "Course completion" section Enable the condition "Condition: Manual self completion" and click "Save Changes" Back in the course main page, click the "Turn editing on button" Via the "Add block" option, add two blocks: "Course completion status" and "Self completion" Create or reuse an existing user account and enrol it as student in the course Now, log-in in as the user enrolled as student in the course Go to your user preferences > Notification preferences Enable the "Email" processor for the "Course completed" message type Go back to the course and via the "Self completion" block, mark the course as completed Now, you have to execute manually the task "Calculate regular completion data", you can do it manually as Moodle admin via the Server > Tasks > Scheduled tasks admin tool or via the php cli Check that you receive an email, with subject "Course completed" and text: Congratulations, you just completed the following course: COURSE_NAME (linking to the course)

      This would be especially useful for people using the Moodle app (they will be able to receive Push notifications when something important happens), for example:

      • Course completed for one user

      For the future, we should evaluate:

      • New content/activity available in a course (difficult, because this is calculated in real-time for the user before generating cache, there is not a task or background process)
      • New visible grades for the user available. This has two potential issues, duplicated notifications (some modules already generate notifications) and also maybe some teachers/site admins don't want the students to receive a notification.

            jleyva Juan Leyva
            jleyva Juan Leyva
            Pau Ferrer Pau Ferrer
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            Janelle Barcega Janelle Barcega
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 hours, 30 minutes
                4h 30m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.