Note: You are currently viewing documentation for Moodle 3.6. Up-to-date documentation for the latest stable version of Moodle is likely available here: Online users block.

Online users block: Difference between revisions

From MoodleDocs
m (added where it can be modified)
mNo edit summary
 
(20 intermediate revisions by 7 users not shown)
Line 1: Line 1:
[[Image:Block_online_users.gif|right]]The '''Online Users''' block shows the users who have been logged into the current course for a period of time which is set by the site administrator (by default it is 5 minutes). This can be modified in Administration >> Configuration >> Blocks >> Online Users.
{{Blocks}}The '''Online users''' block shows a list of users who have been logged into the current course. The list is updated on a regular basis (the default is every 5 minutes but this may be changed - see below).
 
{{New features}}
Clicking the eye next to your name will hide you from others in the block.
 
[[Image:onlineusers.png]]


Note that even though a user may have been logged into a course within the last 5 minutes, it does not necessarily mean that this user is still online.


* Bold type indicates a teacher
* If you hold the cursor over somebody's name, you will see how long ago that person was last "seen" in the course
* If you hold the cursor over somebody's name, you will see how long ago that person was last "seen" in the course
* If you click on the envelope icon next to somebody's name, you will be able to send a private message to that person (using Moodle's messaging system)
* If you click on the envelope icon next to somebody's name, you will be able to send a private message to that person (using Moodle's messaging system)
==See also==


* Using Moodle [http://moodle.org/mod/forum/discuss.php?d=32461#151290 The Lonely People Block] forum discussion and code for combining the Online Users block and [[People block]]
Note 1: If separate groups are enabled in a course and this block is added onto the course page, only members of the group will be displayed in the list.
[[Category:Teacher]]
Note 2: Even though a user may have been logged into a course within the last 5 minutes, it does not necessarily mean that this user is still online.
[[Category:Block]]
 
==Capabilities==
 
* [[Capabilities/block/online users:myaddinstance|Add a new online users block to the Dashboard]] - allowed for the default role of authenticated user
* [[Capabilities/block/online users:addinstance|Add a new online users block]] to a course page - allowed for the default roles of manager and teacher
* [[Capabilities/block/online users:viewlist| View the list of online users in the online users block]] - allowed for the default roles of manager, teacher, non-editing teacher, student, authenticated user and guest
 
==Site administration settings==
 
The online users block has one setting which may be changed by an administrator in ''Administration > Site administration > Plugins > Blocks > Online users''.
 
* ''block_online_users_timetosee'' - The number of minutes after which users will not be displayed in the list. The default is 5 minutes. You may want to adjust this if the list of users displayed is too long or too short.
 
[[Category:Site administration]]
 
[[de:Online-Aktivitäten]]
[[es:Bloque de usuarios en línea]]
[[fr:Bloc Utilisateurs en ligne]]

Latest revision as of 14:31, 25 November 2018

The Online users block shows a list of users who have been logged into the current course. The list is updated on a regular basis (the default is every 5 minutes but this may be changed - see below).

New feature
in Moodle 3.6!

Clicking the eye next to your name will hide you from others in the block.

onlineusers.png


  • If you hold the cursor over somebody's name, you will see how long ago that person was last "seen" in the course
  • If you click on the envelope icon next to somebody's name, you will be able to send a private message to that person (using Moodle's messaging system)

Note 1: If separate groups are enabled in a course and this block is added onto the course page, only members of the group will be displayed in the list. Note 2: Even though a user may have been logged into a course within the last 5 minutes, it does not necessarily mean that this user is still online.

Capabilities

Site administration settings

The online users block has one setting which may be changed by an administrator in Administration > Site administration > Plugins > Blocks > Online users.

  • block_online_users_timetosee - The number of minutes after which users will not be displayed in the list. The default is 5 minutes. You may want to adjust this if the list of users displayed is too long or too short.