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

Let message outputs have some say in what the defaults are

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.1.2
    • 2.1.1, 2.2
    • Messages
    • MOODLE_21_STABLE, MOODLE_22_STABLE
    • MOODLE_21_STABLE
    • Hide

      1. Do a clean install. Make sure the messaging defaults are correct. (email and popup permitted for everything. Email on and popup off for everything except personal messaging where popup is on when online.)

      2. If possible, make a new messaging output (copy an existing one and rename?), and override the get_default_messaging_settings method to return MESSAGE_FORCED, or something. Make sure this default is used for all message type.

      3. If possible, try installing a plugin that defines some new message_providers in its messages.php file. Make sure that these messages get the right defaults (from messages.php if defined there, otherwise the ones defined by the outputs.)

      (One way to do 3. is to go to Site administration / Plugins / Activity modules / Manage activities and use the delete link to uninstall a module that has message providers, then let it re-install itself.)

      Show
      1. Do a clean install. Make sure the messaging defaults are correct. (email and popup permitted for everything. Email on and popup off for everything except personal messaging where popup is on when online.) 2. If possible, make a new messaging output (copy an existing one and rename?), and override the get_default_messaging_settings method to return MESSAGE_FORCED, or something. Make sure this default is used for all message type. 3. If possible, try installing a plugin that defines some new message_providers in its messages.php file. Make sure that these messages get the right defaults (from messages.php if defined there, otherwise the ones defined by the outputs.) (One way to do 3. is to go to Site administration / Plugins / Activity modules / Manage activities and use the delete link to uninstall a module that has message providers, then let it re-install itself.)

      At the OU, we are making a new message output. What we would to happen is that for every type of message provider, the default is set to MESSAGE_DISALLOWED (so we can selectively turn it on just for the things we want).

      I am about to make patch to implement this. It would be really great if this could get into 2.1 stable branch, but we realise that may not be possible.

            timhunt Tim Hunt
            timhunt Tim Hunt
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Andrew Davis Andrew Davis
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

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