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

Administrative setting to show/not show "hide" feature in online users block.

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Log in as Admin.
      2. Go to Site administration and upgrade the Online users block plugin.
      3. Go to Site administration > Plugins > Blocks > Online users
        • make sure there is a 'block_online_users_onlinestatushiding' setting present and is enabled by default.
      4. Create a Course.
      5. Enrol 2 Students (Student1, Student2).
      6. Go to Dashboard.
        • Add a Online users block.
      7. Go to Course Homepage.
        • Add a Online users block.
      8. Log in as Student1.
      9. Go to Dashboard.
        • make sure you can see the Online users block. Add the block if not present
        • make sure next to the Student1's name there is an eye icon. (user's online status is currently visible to others).
      10. Click on the eye icon in the Online users block.
        • make sure the icon changes to eye-slash (users's online status is currently hidden from other users).
      11. **Go to the course homepage.
      12. Log in as Student2.
      13. Go to Dashboard.
        • make sure next to the Student2's name there is an eye icon. (user's online status is currently visible to others). 
        • make sure you CANNOT see Student1 in the Online users block.
      14. Go to Course Homepage.
        • make sure next to the Student2's name there is an eye icon. (user's online status is currently visible to others). 
        • make sure you CANNOT see Student1 in the Online users block.**
      15. Log in as Admin.
      16. Go to Site administration > Plugins > Blocks > Online users.
        • Disable the 'block_online_users_onlinestatushiding' setting.
      17. Log in as Student2.
      18. Go to Dashboard.
        • make sure next to the Student2's name there is not an eye icon present. (the user does not have an ability to set his visibility to other users in the block)
        • make sure you can see Student1 in the Online users block.
      19. Go to Course Homepage.
        • make sure next to the Student2's name there is not an eye icon present. (the user does not have an ability to set his visibility to other users in the block) 
        • make sure you can see Student1 in the Online users block.
      Show
      Log in as Admin. Go to Site administration and upgrade the Online users block plugin. Go to Site administration > Plugins > Blocks > Online users make sure there is a 'block_online_users_onlinestatushiding' setting present and is enabled by default. Create a Course. Enrol 2 Students (Student1, Student2). Go to Dashboard. Add a Online users block. Go to Course Homepage. Add a Online users block. Log in as Student1. Go to Dashboard. make sure you can see the Online users block. Add the block if not present make sure next to the Student1's name there is an eye icon. (user's online status is currently visible to others). Click on the eye icon in the Online users block. make sure the icon changes to eye-slash (users's online status is currently hidden from other users). **Go to the course homepage. Log in as Student2. Go to Dashboard. make sure next to the Student2's name there is an eye icon. (user's online status is currently visible to others).   make sure you CANNOT see Student1 in the Online users block. Go to Course Homepage. make sure next to the Student2's name there is an eye icon. (user's online status is currently visible to others).   make sure you CANNOT see Student1 in the Online users block. ** Log in as Admin. Go to Site administration > Plugins > Blocks > Online users. Disable the 'block_online_users_onlinestatushiding' setting. Log in as Student2. Go to Dashboard. make sure next to the Student2's name there is not an eye icon present. (the user does not have an ability to set his visibility to other users in the block) make sure you can see Student1 in the Online users block. Go to Course Homepage. make sure next to the Student2's name there is not an eye icon present. (the user does not have an ability to set his visibility to other users in the block)   make sure you can see Student1 in the Online users block.
    • Fixed Branches:
      MOODLE_38_STABLE
    • Pull Master Branch:
      MDL-64745-master-1

      Description

      In Moodle 3.6, Online Users block, an "eye" was added that allows students to "hide" themselves from other users.  It appears that this new feature came from MDL-6074.  As implemented, yes, students can hide. However, if they do this, they are also hiding from the instructor!

      It seems to me that it is odd that students, on their own, can decide to hide.  It's analogous to students hiding in a physical classroom, which would seem odd.  I have always loved this online users block showing me and students who is into the course.  It let's everyone know that they are not the only one around.  Yet, maybe in some courses or schools, or due to some privacy issues, maybe students should be allowed to hide.

      So I am not suggesting to remove this feature.  What I suggest is that an administrative setting should be provided for this block so that the school or instructor can decide if students should be able to hide.

      However, I am not sure where this setting should be.  I could see it at both the course level, or at the system level.  Or maybe it should be a setting within "Configuring a Online users block" dialog box.  I am not sure.

      We have had discussions about this in Moodle.org.

      https://moodle.org/mod/forum/discuss.php?d=380381#p1533287

      I have added this custom CSS to my Moodle's Boost theme to hide the "eye."  

      .block_online_users .fa-eye

      { display: none; }

        Attachments

          Activity

            People

            • Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                11/Nov/19

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 7 hours, 7 minutes
                7h 7m