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

Notify users about new or updated course content

    XMLWordPrintable

Details

    • MOODLE_310_STABLE, MOODLE_400_STABLE
    • MOODLE_400_STABLE
    • MDL-70083-master
    • Hide
      Prerequisite
      1. MailHog or similar tool to capture emails coming out from Moodle
      Test
      1. As admin, create a new course
      2. Enrol a teacher user (t1) and three students (s1), (s2) and (s3)
      3. Ensurre that in the User profile -> Notification preferences for both s1 and s2, the "Course content updated" notification type is enabled for both online and offline in the "Email" column
      4. Ensure that s3 has those preferences disabled
      5. Log in as a teacher in the course
      6. Turn editing on and add a new page in the course, when creating the page ensure that you select/tick off the " Notify users about this new Resource " option
      7. Save changes
      8. Now, via the system console/terminal run the site Cron: php admin/cli/cron.php
      9. Confirm that:
        • You recive only two emails to s1 and s2 in mailhog
        • There is not email for s3
        • The message indicates that there is a new resource in the course, and includes a link to it that opens the new page
      10. Go back to the course as teacher and edit the page settings
      11. This time ensure that the " Notify users this Resource has changed " option is not selected
      12. Save changes
      13. Run the CRON command again
      14. Confirm that:
        • You don't receive any email
      15. Go back to the course as teacher and edit the page settings
      16. This time ensure that the " Notify users this Resource has changed " option is selected
      17. Save changes
      18. Run the CRON command again
      19. Confirm that:
        • You recive only two emails to s1 and s2 in mailhog
        • There is not email for s3
        • The message indicates that the resource has been updated, and includes a link to it that opens the new page
      20. Now, edit again the page settings
      21. In "common module settings" set Availability to "Hide from students"
      22. Save Changes
      23. Open again the setting for the page
      24. Ensure that the " Notify users this Resource has changed " option is selected
      25. Save changes
      26. Run the CRON command again
      27. Confirm that:
        • You don't receive any email
      Show
      Prerequisite MailHog or similar tool to capture emails coming out from Moodle Test As admin, create a new course Enrol a teacher user (t1) and three students (s1), (s2) and (s3) Ensurre that in the User profile -> Notification preferences for both s1 and s2, the "Course content updated" notification type is enabled for both online and offline in the "Email" column Ensure that s3 has those preferences disabled Log in as a teacher in the course Turn editing on and add a new page in the course, when creating the page ensure that you select/tick off the " Notify users about this new Resource " option Save changes Now, via the system console/terminal run the site Cron: php admin/cli/cron.php Confirm that: You recive only two emails to s1 and s2 in mailhog There is not email for s3 The message indicates that there is a new resource in the course, and includes a link to it that opens the new page Go back to the course as teacher and edit the page settings This time ensure that the " Notify users this Resource has changed " option is not selected Save changes Run the CRON command again Confirm that: You don't receive any email Go back to the course as teacher and edit the page settings This time ensure that the " Notify users this Resource has changed " option is selected Save changes Run the CRON command again Confirm that: You recive only two emails to s1 and s2 in mailhog There is not email for s3 The message indicates that the resource has been updated, and includes a link to it that opens the new page Now, edit again the page settings In "common module settings" set Availability to "Hide from students" Save Changes Open again the setting for the page Ensure that the " Notify users this Resource has changed " option is selected Save changes Run the CRON command again Confirm that: You don't receive any email

    Description

      • As a teacher, I would like to send notifications to my students when I add or update content in a course so they don't have to enter the course periodically to look for new content
      • As a student, I would like to receive notifications when there is new content in the course so I don't have to check it manually
      • As a student, I would like to see an overview of all changes on my dashboard for all enrolled courses when I log in, so it is really easy to see which courses I need to check since I last logged in

      This is a feature present in most of the moderns LMS in the market and something really demanded by our Moodle app users (according to feedback from Learn Moodle, etc..)

      Attachments

        1. activity_has_changed_email.png
          activity_has_changed_email.png
          107 kB
        2. activity_has_changed_setting.png
          activity_has_changed_setting.png
          85 kB
        3. course_content_notification_preferences.png
          course_content_notification_preferences.png
          21 kB
        4. MDL-70083_Step 14.png
          MDL-70083_Step 14.png
          26 kB
        5. MDL-70083_Step 19.webm
          248 kB
        6. MDL-70083_Step 27.png
          MDL-70083_Step 27.png
          23 kB
        7. MDL-70083_Step 9.webm
          222 kB
        8. resource_has_been_created_email.png
          resource_has_been_created_email.png
          64 kB
        9. resource_has_been_created_settings.png
          resource_has_been_created_settings.png
          74 kB
        10. screenshot-1.png
          screenshot-1.png
          136 kB

        Activity

          People

            jleyva Juan Leyva
            jleyva Juan Leyva
            Dani Palou Dani Palou
            Shamim Rezaie Shamim Rezaie
            Angelia Dela Cruz Angelia Dela Cruz
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona), Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona), Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
            Votes:
            0 Vote for this issue
            Watchers:
            12 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 days, 6 hours, 55 minutes
                3d 6h 55m