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

Add global setting to define default hide group picture setting

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Reopened
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.8.4, 3.9.1, 3.10, 4.0
    • Fix Version/s: None
    • Component/s: Groups
    • Labels:
      None
    • Testing Instructions:
      Hide
      1. Login in as an admin
      2. Create a course or use a existing one
      3. Go to "Course settings > Users > Groups"
      4. Click on "Create group"
      5. Verify that the "Hide picture" select field is set to "No"
      6. Set a example "Group name" like "Test1" and leave "Hide picture" as "No" and "Save changes".
      7. Go to "Site administration > Courses > Course default settings"
      8. Set "grouphidepicture" to "Yes" and apply changes.
      9. Go back to the course and repeat the steps 3 to 6, but instead of "Hide picture" set to "No", confirm that's now set as "Yes". Please keep the option "Yes" and click on "Save changes".
      10. You should have now two groups "Test1" and "Test2".
      11. Verify that the "Hide picture" option is still set to "No" in group "Test1". For that select the given group and click on "Edit group settings"
      Show
      Login in as an admin Create a course or use a existing one Go to "Course settings > Users > Groups" Click on "Create group" Verify that the "Hide picture" select field is set to "No" Set a example "Group name" like "Test1" and leave "Hide picture" as "No" and "Save changes". Go to "Site administration > Courses > Course default settings" Set "grouphidepicture" to "Yes" and apply changes. Go back to the course and repeat the steps 3 to 6, but instead of "Hide picture" set to "No", confirm that's now set as "Yes". Please keep the option "Yes" and click on "Save changes". You should have now two groups "Test1" and "Test2". Verify that the "Hide picture" option is still set to "No" in group "Test1". For that select the given group and click on "Edit group settings"
    • Workaround:
      Hide

      Run manually time for time:

      UPDATE mdl_groups SET hidepicture = 1 WHERE picture = 0;

      Show
      Run manually time for time: UPDATE mdl_groups SET hidepicture = 1 WHERE picture = 0 ;
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_310_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE, MOODLE_400_STABLE
    • Pull from Repository:
    • Pull 3.8 Branch:
    • Pull 3.9 Branch:
    • Pull 3.10 Branch:
      MDL-69628_310
    • Pull Master Branch:
      MDL-69628_master

      Description

      There is already a discussion on-going on MDL-67959. But this tracker will resolve it only partial. It will solve the point 1 from this comment https://tracker.moodle.org/browse/MDL-67959?focusedCommentId=785234&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-785234.

      The Moodle admin should can define what's the default setting of this "hidepicture" option for groups. It is annoying that the default is hardcoded and so the users can not decide what they want.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              pead Adrian Perez
              Reporter:
              pead Adrian Perez
              Peer reviewer:
              Sam Marshall
              Integrator:
              Jun Pataleta
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              5 Vote for this issue
              Watchers:
              12 Start watching this issue

                Dates

                Created:
                Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 30 minutes
                  30m