I'm looking to hide a portion of users from the online users block, and also make it so they cannot see the online users block at all.
On our Moodle installation, we have a number of "parental" accounts for our students. These accounts have a "parent" role that is assigned relative to their child's student account. Ideally, all parent users (I can add all parent accounts to a cohort if this helps) should not show in the online users block to other users, and the parent users themselves shouldn't be able to see the block at all (they shouldn't be able to see who's online). Is this possible to achieve?