Time spent

gillian
Forums
Hello. We need to give Time Spent information to our clients. We have 2 problems: 1) When we do an extraction it does not include all users who have worked on the platform during the period concerned. 2) There's sometimes a difference between the information in the Time Spent listing and that in My Results. A user had worked on content which showed up in My Results, but not in the Time Spent listing. Thanks for any help.
Profile picture for user James Aparicio
James Aparicio

Hi gillian,

Hi gillian,

What time spent listings are you comparing exactly?

Best regards

gillian

time spent

Hi James, Problem 1: How to do an extraction so we can have it on an excel sheet giving the time spent of all users? Problem 2: To look at an individual user. We take the Time Spent Listing in: Reports - Time spent - Time Spent Listing - User name But we have found sometimes that work which shows up in My Results when looking at a student, doesn't show up in the Time Spent Listing.
Profile picture for user James Aparicio
James Aparicio

Hi gillian,

Hi gillian,

Problem number 1. First thing to figure out is what do you want to consider as time spent. Just the time they spent logged in? If so, you can add a module that logs out users programatically after a specific time of inactivity (automated logout) and use the use the login history module that ships with opigno. It only records the time of loggin but you can very easily change it to record the logout time on hook_user_logout.   

Problem number 2. This Reports -> Time spent is not something that ships with opigno. Is this a contrib module? Or something you implemented yourself?

gillian

time spent

Thanks, James, this helps.