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

Per-forum digest settings

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.6, 2.5
    • 2.6
    • Forum
    • All
    • Any
    • MOODLE_16_STABLE, MOODLE_25_STABLE
    • MOODLE_26_STABLE
    • Hide

      Test difficulty: Irritating and pernickety

      Background

      For this test you will need:

      • a working mail configuration
      • four users enrolled in a courses. Each must have their own address
      • four forums (perhaps create Auto Subscribed?)
      • one editing teacher (can be one of the four users, but may get confusing)
      • and a partridge in a pair tree

      Setup

        Forum 1 Forum 2 Forum 3 Forum 4 Profile digest setting
      User A Default Digest Subject Digest Complete No Digest No Digest
      User B No Digest Default Digest Subject Digest Complete Digest Complete
      User C Digest Complete No Digest Default Digest Subject Digest Subject
      User D Digest Subject Digest Complete No Digest Default No Digest

      Note: At present, there aren't many links to /mod/forum/index.php to
      control the per-forum digest settings. This patch does not seek to
      address this as I think that we need to consider how this settings page
      fits into other proposed changes (advanced forums, and allowing
      unsubscription from forced forums)
      Therefore you can access the page from /mod/forum/index.php?id=[courseid].
      It is linked from forum e-mails, and the activities block.

      Instructions

      Note: In these test instructions, the following acronyms are used:

      • DC = Daily Digest with complete contents
      • DS = Daily Digest listing subjects only
      • Post two messages per forum
      • Run the attached CLI script with the --digest argument (this calls the mod_forum component of the moodle cron and should make your life simpler for this testing)
      • Confirm that the following matrix of e-mail was received:

        Single messages

        User Forum 1 Forum 2 Forum 3 Forum 4
        User A 2
        2
        User B 2
        User C
        2
        User D
        2 2

        Digest messages

        User Forum 1 Forum 2 Forum 3 Forum 4
        User A
        2 x DS 2 x DC
        User B
        2 x DC 2 x DS 2 x DC
        User C 2 x DC
        2 x DS 2 x DS
        User D 2 x DS 2 x DC
      • Run the CLI script with*out* the --digest argument
      • Confirm that the following matrix of e-mail was received:

        Single messages

        User Forum 1 Forum 2 Forum 3 Forum 4
        User A 2
        2
        User B 2
        User C
        2
        User D
        2 2

        Digest messages

        User Forum 1 Forum 2 Forum 3 Forum 4
        User A
        User B
        User C
        User D
      • Post two more messages per forum - |
      • Run the CLI script with the --digest argument
      • Confirm that the following matrix of e-mail was received:

        Single messages

        User Forum 1 Forum 2 Forum 3 Forum 4
        User A 2
        2
        User B 2
        User C
        2
        User D
        2 2

        Digest messages

        User Forum 1 Forum 2 Forum 3 Forum 4
        User A
        4 x DS 4 x DC
        User B
        4 x DC 4 x DS 4 x DC
        User C 4 x DC
        4 x DS 4 x DS
        User D 4 x DS 4 x DC

      Backup/Restore test

      • Create a backup of the course including user data
      • Restore the backup into a new course
      • For each user, check that the digest settings were copied over.
      Show
      Test difficulty: Irritating and pernickety Background For this test you will need: a working mail configuration four users enrolled in a courses. Each must have their own address four forums (perhaps create Auto Subscribed?) one editing teacher (can be one of the four users, but may get confusing) and a partridge in a pair tree Setup   Forum 1 Forum 2 Forum 3 Forum 4 Profile digest setting User A Default Digest Subject Digest Complete No Digest No Digest User B No Digest Default Digest Subject Digest Complete Digest Complete User C Digest Complete No Digest Default Digest Subject Digest Subject User D Digest Subject Digest Complete No Digest Default No Digest Note: At present, there aren't many links to /mod/forum/index.php to control the per-forum digest settings. This patch does not seek to address this as I think that we need to consider how this settings page fits into other proposed changes (advanced forums, and allowing unsubscription from forced forums) Therefore you can access the page from /mod/forum/index.php?id= [courseid] . It is linked from forum e-mails, and the activities block. Instructions Note: In these test instructions, the following acronyms are used: DC = Daily Digest with complete contents DS = Daily Digest listing subjects only Post two messages per forum Run the attached CLI script with the --digest argument (this calls the mod_forum component of the moodle cron and should make your life simpler for this testing) Confirm that the following matrix of e-mail was received : Single messages User Forum 1 Forum 2 Forum 3 Forum 4 User A 2 2 User B 2 User C 2 User D 2 2 Digest messages User Forum 1 Forum 2 Forum 3 Forum 4 User A 2 x DS 2 x DC User B 2 x DC 2 x DS 2 x DC User C 2 x DC 2 x DS 2 x DS User D 2 x DS 2 x DC Run the CLI script with*out* the --digest argument Confirm that the following matrix of e-mail was received : Single messages User Forum 1 Forum 2 Forum 3 Forum 4 User A 2 2 User B 2 User C 2 User D 2 2 Digest messages User Forum 1 Forum 2 Forum 3 Forum 4 User A User B User C User D Post two more messages per forum - | Run the CLI script with the --digest argument Confirm that the following matrix of e-mail was received : Single messages User Forum 1 Forum 2 Forum 3 Forum 4 User A 2 2 User B 2 User C 2 User D 2 2 Digest messages User Forum 1 Forum 2 Forum 3 Forum 4 User A 4 x DS 4 x DC User B 4 x DC 4 x DS 4 x DC User C 4 x DC 4 x DS 4 x DS User D 4 x DS 4 x DC Backup/Restore test Create a backup of the course including user data Restore the backup into a new course For each user, check that the digest settings were copied over.

    Description

      At present, a user can make a choice on whether they receive a daily digest of their forum posts, or one e-mail per post; but this setting is a per-user setting. If a user wishes to keep up with a forum, but is less interested in that forum as others, they cannot change one forum to be a daily digest, and leave their other forums to receive an e-mail per post.

      This feature request seeks to add per-forum digest settings with a fallback to the user's profile setting.

      Original description follows:

      Would it be possible to add an option where your could receive a daily digest of all posts to a particular forum? Currently, you get a digest of all forums for which you are subscribed in an entire course.

      Sample of the conversation raised by this issue:

      http://moodle.org/mod/forum/discuss.php?d=34491

      Request to file this in the bug tracker:

      http://moodle.org/mod/forum/discuss.php?d=41178#190271

      Attachments

        Issue Links

          Activity

            People

              dobedobedoh Andrew Lyons
              imported Imported
              Andrew Davis Andrew Davis
              Sam Hemelryk Sam Hemelryk
              Damyon Wiese Damyon Wiese
              Adrian Greeve, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                18/Nov/13