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

Online users block: Difference between revisions

From MoodleDocs
mNo edit summary
No edit summary
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Image:Block_online_users.gif|right]]The '''Online Users''' block shows a list of users who have been logged into the current course. This block can be added or deleted by a teacher.  The list is updated on a regular basis(the default is every 5 minutes). The time frame can be modified for the entire Moodle site in Administration >> Configuration >> Blocks >> Online Users by the site administrator.
{{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).
 
[[Image:Block_online_users.gif]]


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.
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)
* You must keep your messaging window open to receive notice of messages being sent to you


Within the messaging window you can:
Note: 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.
* Add or Remove Contact with another person logged into the course (if the face icon is showing, you have contact)
 
* Block or Unblock Contact with another person (if the green dot is showing, you have Unblocked contact)
==Site administration settings==
* View your Message History with another person (the message history is only for the person whose messaging window you have open)
 
The online users block has one setting which may be changed by an administrator in ''Settings > 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.


Note that if you close the messaging window, your current messages will be removed from the window and become part of the messaging history.
==See also==
==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]]
Using Moodle forum posts:
* [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]]
* [http://moodle.org/mod/forum/discuss.php?d=33172#244755 tweaking code to add icon after teachers name] for site administrators


*See forum post [http://moodle.org/mod/forum/discuss.php?d=33172#244755 tweaking code to add icon after teachers name] for site administrators
[[Category:Site administration]]


[[Category:Teacher]]
[[fr:Bloc Utilisateurs en ligne]]
[[Category:Block]]
[[de:Online-Aktivitäten]]

Latest revision as of 08:33, 3 January 2012

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).

Block online users.gif

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.

  • 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: 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.

Site administration settings

The online users block has one setting which may be changed by an administrator in Settings > 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.

See also

Using Moodle forum posts: