atomsk Posted March 26, 2007 Share Posted March 26, 2007 hello I'm playing with moodle the last couple of days. (Moodle is an open source CMS project for those who don't know.) I would like to make a minor modification at the admin logs. I want to display the total time a user spent in the system since he was register and for each session separately. I found the variables at http://xref.moodle.org/nav.html?index.html and the function that converts the timestamps. (the login and logout time is stored as seconds since 1/1/70). I'm thinking that I'll have to get those variables from the mdl_user table where they're stored, make my calculations and then pass the result to the conversion function so I can convert and display them in a readable user format. My PHP skills are very limited and I would like a few pointers on which aspects of php should I focus. I believe I got the logic right but I'm unsure where to start from. If you have any experience with Moodle, I would appreciate any help you can offer. Link to comment https://forums.phpfreaks.com/topic/44311-modification-in-moodle-logs/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.