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

Allow forum email subject to be customised

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.1
    • 2.2, 2.6, 3.1
    • Forum
    • MOODLE_22_STABLE, MOODLE_26_STABLE, MOODLE_31_STABLE
    • MOODLE_31_STABLE
    • MDL-34160-forum-subject
    • 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.

      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.

            brendanheywood Brendan Heywood
            nave Adam Nave
            Andrew Lyons Andrew Lyons
            Dan Poltawski Dan Poltawski
            Ryan Wyllie Ryan Wyllie
            Votes:
            19 Vote for this issue
            Watchers:
            16 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.