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

admin can set site-wide default settings for user profile fields: Email display, format, digest, Forum subscription & tracking, use HTML editor, Screen reader

    XMLWordPrintable

Details

    • MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE
    • MOODLE_28_STABLE
    • wip-MDL-37812-master
    • Hide
      1. Go to Site Administration > Users > Accounts > User default preferences
      2. Change some values to non-default
      3. Go to "Add new user" form, make sure the fields are pre-populated with those values
      4. Create a user, login as him, go to "edit profile" form, make sure his preferences are correct
      5. Create and upload CSV files in tool_uploaduser
      6. Make sure that second screen is autopopulated with the set preference values
      7. Complete user creating process, make sure the created user(s) have correct preferences
      8. Enable self-registration
      9. Logout and register as a new user (it may display an error if mail is not setup)
      10. Check that new user has correct preferences (either as admin or confirm user and login as him)
      Show
      Go to Site Administration > Users > Accounts > User default preferences Change some values to non-default Go to "Add new user" form, make sure the fields are pre-populated with those values Create a user, login as him, go to "edit profile" form, make sure his preferences are correct Create and upload CSV files in tool_uploaduser Make sure that second screen is autopopulated with the set preference values Complete user creating process, make sure the created user(s) have correct preferences Enable self-registration Logout and register as a new user (it may display an error if mail is not setup) Check that new user has correct preferences (either as admin or confirm user and login as him)
    • 40
    • BACKEND Sprint 14

    Description

      I am the administrator of a Moodle site using Moodle 2.2.6 (Build: 20121112). I'd like to change the default settings for the following user profile fields to be as follows:
      Email Display = 2 (Allow only other course members to see my email address)
      Email Format = 1 (Pretty HTML format)
      Email digest type = 1 (Complete (daily email with full posts)
      Forum auto-subscribe = 0 (No: don't automatically subscribe me to forums)
      Forum tracking = 1 (Yes: highlight new posts for me)
      When editing text = 1 (Use HTML editor (some browsers only))
      AJAX and Javascript = 1 (Yes: use advanced web features)
      Screen reader = 0 (No)

      I see no reason why every Moodle site admin would want the default settings to be as I've listed above so I propose that a new page be created in the Site Administration area (perhaps Site administration > Users > Accounts) for site admins to set the default settings for these common fields site-wide. Obviously the default settings can be modified by users who have permission or when creating new accounts. I find it a pain now to create new user accounts and have to have these fields listed in each upload.

      I read in discussion https://moodle.org/mod/forum/discuss.php?d=33370 that I could change the settings in /user/editlib.php (starts at ~ line 143). I'd prefer not to modify core code on my site as it is difficult to maintain with each upgrade and I think this issue applies to other Moodle users.

      I've read in MDL-32627, https://tracker.moodle.org/browse/MDL-32627 that the default setting for AJAX is going to be as I'd prefer it as soon as I move to Moodle 2.3. What about the other fields though?

      Attachments

        Issue Links

          Activity

            People

              marina Marina Glancy
              lmajerus@partners.org Laura Gay Majerus
              Adrian Greeve Adrian Greeve
              Sam Hemelryk Sam Hemelryk
              Mark Nelson Mark Nelson
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              63 Vote for this issue
              Watchers:
              42 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                10/Nov/14