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

Allow forum email subject to be customised

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2, 2.6, 3.1
    • Fix Version/s: 3.1
    • Component/s: Forum
    • Testing Instructions:
      Hide

      Make a lang pack item like this:

      $string['postmailsubject'] = '{$a->sitefullname} > {$a->siteshortname} > {$a->courseshortname} > {$a->coursefullname} > {$a->courseidnumber} > {$a->forumname} > {$a->subject} ';
      Fire of an email and see all the new fields in action.

      Show
      Make a lang pack item like this: $string ['postmailsubject'] = '{$a->sitefullname} > {$a->siteshortname} > {$a->courseshortname} > {$a->coursefullname} > {$a->courseidnumber} > {$a->forumname} > {$a->subject} '; Fire of an email and see all the new fields in action.
    • Affected Branches:
      MOODLE_22_STABLE, MOODLE_26_STABLE, MOODLE_31_STABLE
    • Fixed Branches:
      MOODLE_31_STABLE
    • Pull Master Branch:
      MDL-34160-forum-subject

      Description

      Feature request: allow site admins to specify what information (shortname, fullname, sitename or nothing) is used as the email subject prefix when sending forum posts via email.

      Many schools use automated course input from Registrar data, and while we mostly have semi-readable shortnames like MATH-123-01, we sometimes get stuff like XLSXX201310 for cross-listed courses. (This is true of many Banner schools, it's not just us.) In an effort to make things human-readable we end up with (real) course shortnames like ENVI.HIST394-1:201310 or 53456-ENVS_HIST-394-A_B or even XLSZT201310/HIST-294-03/AMST-294-03/WGSS-294-03.

      Normally weird or long shortnames aren't much of a problem, but the email subject line is one place where students and teachers say "what the heck is that" and get confused.

      Shortname subject lines:
      XLSZT201310: Welcome to the course
      or
      XLSZT201310-HIST-294-03/AMST-294-03/WGSS-294-03: Welcome to the course
      XLSZT201310-HIST-294-03/AMST-294-03/WGSS-294-03: Re: Welcome to the course

      Alternate subject lines:
      Sitename:
      University Moodle: Welcome to the course
      Fullname:
      Environmental History: Welcome to the course
      Nothing:
      Welcome to the course

      An additional advantage to using no prefix is that Gmail and other threaded email readers may handle the subject line threading better.

      Overall this change should improve readability in email subject lines and improve the user experience in sites where shortnames are less than optimal.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                19 Vote for this issue
                Watchers:
                16 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  23/May/16