Issue Details (XML | Word | Printable)

Key: MDL-7581
Type: Bug Bug
Status: Closed Closed
Resolution: Duplicate
Priority: Minor Minor
Assignee: Martin Dougiamas
Reporter: Michael Schneider
Votes: 0
Watchers: 0
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

Online Users Block does not show all users online (with solution)

Created: 16/Nov/06 04:36 PM   Updated: 25/Feb/07 10:34 AM
Component/s: Blocks
Affects Version/s: 1.7
Fix Version/s: 1.7

Environment: Moodle 1.7 on Linux
Issue Links:
Duplicate
 

Database: MySQL
Participants: Martin Dougiamas and Michael Schneider
Security Level: None
Affected Branches: MOODLE_17_STABLE
Fixed Branches: MOODLE_17_STABLE


 Description  « Hide
The table user_lastaccess has all accesses saved, not just the last access. In File blocks/online_users/block_online_users.php just the last 20 accesses are selected, so if one user has 20 accesses, just this user is shown. To correct, change line 76 from:
if ($pusers = get_records_sql($SQL, 0, 20 )) {
to
if ($pusers = get_records_sql($SQL, 0)) {

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.