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

Allow the forum digest notification mail subject to contain the site fullname

    XMLWordPrintable

Details

    • Improvement
    • Status: Waiting for peer review
    • Minor
    • Resolution: Unresolved
    • 3.5, 4.0.1
    • None
    • Forum
    • MOODLE_35_STABLE, MOODLE_400_STABLE
    • MDL-63474_master
    • Hide
      1. The site must have a different full name (SiteFullName) and short name (SiteShortName).
      2. Setup a mailing server and connect it to moodle (eg. Mercury). Also set up the moodle cronjob.
      3. Create a course, add a forum activity with mandatory subscription.
      4. Create a user and add them as a participant to the course.
      5. On the User go to Preferences->Forum Preferences->Email Digest Type->Complete->Save
      6. Navigate to the course, then forum activity and add a discussion topic, with the advanced option "Send forum post notifications with no editing-time delay ".
      7. Await for the digest email to arrive to the user.
      8. Check that the subject on the E-Mail begins with the site short name (SiteShortName) and that the email's first sentence is "This is your daily digest of new posts from the SiteFullName forums."
      9. Go to Site Administration->Language->Language Customization->English->Open pack->mod/forum.php->String Identifier->digestmailsubject->change "$a->siteshortname" to "$a->sitefullname"->Save
      10. Go to Site Administration->Language->Language Customization->English->Open pack->mod/forum.php->String Identifier->digestmailheader->change "$a->sitefullname" to "$a->siteshortname"->Save
      11. Purge the language caches.
      12. Navigate to the course, then forum activity and add a discussion topic, with the advanced option "Send forum post notifications with no editing-time delay ".
      13. Await for the email to arrive to the user.
      14. Check that the subject on the E-Mail begins with the site full name (SiteFullName) and that the email's first sentence is "This is your daily digest of new posts from the SiteShortName forums."
      Show
      The site must have a different full name (SiteFullName) and short name (SiteShortName). Setup a mailing server and connect it to moodle (eg. Mercury). Also set up the moodle cronjob. Create a course, add a forum activity with mandatory subscription. Create a user and add them as a participant to the course. On the User go to Preferences->Forum Preferences->Email Digest Type->Complete->Save Navigate to the course, then forum activity and add a discussion topic, with the advanced option "Send forum post notifications with no editing-time delay ". Await for the digest email to arrive to the user. Check that the subject on the E-Mail begins with the site short name (SiteShortName) and that the email's first sentence is "This is your daily digest of new posts from the SiteFullName forums." Go to Site Administration->Language->Language Customization->English->Open pack->mod/forum.php->String Identifier->digestmailsubject->change "$a->siteshortname" to "$a->sitefullname"->Save Go to Site Administration->Language->Language Customization->English->Open pack->mod/forum.php->String Identifier->digestmailheader->change "$a->sitefullname" to "$a->siteshortname"->Save Purge the language caches. Navigate to the course, then forum activity and add a discussion topic, with the advanced option "Send forum post notifications with no editing-time delay ". Await for the email to arrive to the user. Check that the subject on the E-Mail begins with the site full name (SiteFullName) and that the email's first sentence is "This is your daily digest of new posts from the SiteShortName forums."

    Description

      In MDL-34160, there was the possibility added to let the admin / language pack maintainer change the mail subject (string "postmailsubject | forum") of a forum single post notification to contain the course fullname (and others) instead of the course shortname.

      Unfortunately, this possibility wasn't brought to the forum digest email.

      I propose to let the admin / language pack maintainer add the same placeholder to the string "digestmailsubject | forum" to control if the site shortname or fullname should be used in the subject.

      Attachments

        Issue Links

          Activity

            People

              tasosb Anastasios Bithas
              abias Alexander Bias
              Adrian Greeve, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: