Online users block
From MoodleDocs
- Managing blocks
- Block settings
- Accessibility review
- Activities
- Activity results
- Admin bookmarks
- Administration
- Blog menu
- Blog tags
- Calendar
- Comments
- Course completion status
- Course overview
- Course/site summary
- Courses
- Feedback
- Flickr
- Global search
- Latest announcements
- Latest badges
- Learning plans
- Login
- Logged in user
- Main menu
- Mentees
- Navigation
- Network servers
- Online users
- Private files
- Random glossary entry
- Recent activity
- Recent blog entries
- Recently accessed courses
- Recently accessed items
- Remote RSS feeds
- Search forums
- Section links
- Self completion
- Social activities
- Starred courses
- Tags
- Text
- Timeline
- Upcoming events
- YouTube
- Blocks FAQ
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).
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.
Capabilities
- Add a new online users block to the Dashboard - allowed for the default role of authenticated user
- Add a new online users block to a course page - allowed for the default roles of manager and teacher
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.