Success!

Note

Error

Session expiration Your session is going to expireClick here to extend

Budget:

Small project <800

Posted on

4/11/11 3:51 PM

Buyer:

101***

This project is completed

Someone on twago has already accepted this project. Find a project of your own, sign up today!

Post similar project now

Description

 I need an extension for Moodle 2.0

 
This extension must create a printable report (used by admin).
 
The admin can set this params:
- users (all or specific user / users)
- range of date
 
The output is equal to attached pdf. The header and the footer of the report must be parametric HTML. The data in red are those specific to the report.
 
The logic must be used to build the report is as follows:
 
In the table mdl_log, in the field "action" moodle logging all action, even login and logout (when the user does), but as often as users do not logout. Well, in this case my report must simulate a logout as the last click + 1 second, before next login.
 
Example:
 
30/07/2011 09:00:00 LOGIN
30/07/2011 09:02:20 VIEW
30/07/2011 ...
30/07/2011 ...
30/07/2011 ...
30/07/2011 09:56:00 QUIZ
30/07/2011 10:00:00 VIEW ---- 10:00:01 -----> logout considered in the report 
30/07/2011 18:00:00 LOGIN
30/07/2011 ...
30/07/2011 18:20:00 LOGOUT
 
In the report I must read:
 
09:00:00 - 10:00:01 --> 01:00:01 
18:00:00 - 18:20:00 --> 00:20:00