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

Allow the forum post and digest notification mail body to contain the course 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-63484_master
    • Hide
      1. Setup a mailing server and connect it to moodle (eg. Mercury). Also set up the moodle cronjob.
      2. Create a course with short name "123", full name "test", add a forum activity.
      3. Create two users and add them as participants to the course.
      4. On User#1 go to Preferences->Forum Preferences->Email Digest Type->Complete->Save
      5. 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 ".
      6. Await for the email notifications in both users.
      7. Check that the breadcrumb and subject on the E-Mail of User#2 has the course short name (123).
      8. Check that the breadcrumb on the E-Mail of User#1 has the course short name (123)
      9. Go to Site Administration->Plugins->Forum->Use course full name in emails -> Yes ->Save
      10. Navigate to the course, then forum activity and add a new discussion topic, with the advanced option "Send forum post notifications with no editing-time delay ".
        Await for the email notifications in both users.
      11. Check that the breadcrumb and subject on the E-Mail of User#2 has the course full name (test).
      12. Check that the breadcrumb on the E-Mail of User#1 has the course full name (test)
      13. Go to Site Administration->Language->Language Customization->English->Open pack->mod/forum.php->String Identifier->postmailsubject->change "$a->coursename" to "$a->courseshortname"->Save
      14. Navigate to the course, then forum activity and add a new discussion topic, with the advanced option "Send forum post notifications with no editing-time delay ".
      15. Await for the email notifications in User #2.
      16. Check that the breadcrumb on the E-Mail of User#2 has the course full name (test) and the subject has the course short name (123).
      Show
      Setup a mailing server and connect it to moodle (eg. Mercury). Also set up the moodle cronjob. Create a course with short name "123", full name "test", add a forum activity. Create two users and add them as participants to the course. On User#1 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 email notifications in both users. Check that the breadcrumb and subject on the E-Mail of User#2 has the course short name (123). Check that the breadcrumb on the E-Mail of User#1 has the course short name (123) Go to Site Administration->Plugins->Forum->Use course full name in emails -> Yes ->Save Navigate to the course, then forum activity and add a new discussion topic, with the advanced option "Send forum post notifications with no editing-time delay ". Await for the email notifications in both users. Check that the breadcrumb and subject on the E-Mail of User#2 has the course full name (test). Check that the breadcrumb on the E-Mail of User#1 has the course full name (test) Go to Site Administration->Language->Language Customization->English->Open pack->mod/forum.php->String Identifier->postmailsubject->change "$a->coursename" to "$a->courseshortname"->Save Navigate to the course, then forum activity and add a new discussion topic, with the advanced option "Send forum post notifications with no editing-time delay ". Await for the email notifications in User #2. Check that the breadcrumb on the E-Mail of User#2 has the course full name (test) and the subject has the course short name (123).

    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 notification mail body.
      There, regardless if we are getting a single-post notification or a digest notification, always the course shortname is shown.

      I propose to let the admin also customize the forum notification mail body to change the coursename in the thread breadcrumb from course shortname to course fullname.

      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:
              4 Start watching this issue

              Dates

                Created:
                Updated: