I developed a new module that can calculate the session time for a user and to declare the amount of hours that the user studied offline.
This first version has to be tested for results and functionalities.
Fair
I developed a new module that can calculate the session time for a user and to declare the amount of hours that the user studied offline.
This first version has to be tested for results and functionalities.
Fair
I corrected some problem of the previous version.
This is the new version under GPL license.
Bye,
Fair
We started with a course certificated by our region. For the certification (if we want funds to do this course), each student must declare the amount of hours spent online (on Moodle) and offline (reading books and so on).
So I developed an activity for 1.4.2 through every student can declare the number of hours spent offline and can see the duration of his sessions on Moodle. Teachers can see the sessions of all students both online and offline.
How can I calculate session time?
Any technical notes: HTTP is a stateless protocol, so you cannot calculate connection time (delay, elapse, duration, ecc...). You can only see requests to an HTTP server. But you can fix a timeout, so that if you don't request any page for that period, the activity module breaks you session. In the module I set this timeout at 30 min (REGISTER_SESSION_TIMEOUT), but it's simple to put the same value of Moodle system session timeout.
Bye,
Fair
This is what you see when you are student:
This is what you see when you are teacher (I deleted the names for privacy reasons):
Bye,
Fair
Ok, step by step:
> Is there a way to know the time a student visited each type of resource/activity?
Yes, there is; but I didn't develop it. Register activity takes data from logs table in Moodle DB, where there is also the information about which resourse / activity you visited, but I don't care about this in my module, because I only want to solve the session problem.
> Can the results be exported to Excel and then analyzed?
Yes, using Copy & Paste from HTML table to Excel. It may be difficult converting data from Moodle format to Excel format, so I include here an example.
> Is there a way for students to see a graphical display of their time off and online?
No, there isn't. But if you export data to Excel, you'll be able to create a graphic (that is static, and you need to update it)
> Can the "offline" feature be togged on or off by course or resource/activity?
No, it can't. But I'll introduce this feature at soon at possible.
> Can a teacher upload an "offline" time for some or all the students in a course.
No, he can't. Each student must certify itself.
It could be an interesting future feature. Do you need it?
> Are you considering upgrading the mod to v1.5?
Yes, I'm. We're using 1.4.2 version, but we'll challange to 1.5 version for the next year; so I need to "upgrade" my activity module.
Bye,
Fair
It's for v1.4.x.
Sorry, but is there a different management of activity modules in v1.5 respect to v1.4.x?
Fair
Hi Domenico,
Will you be producing a version for moodle 1.5?
John
Yes, I'll be.
Anyway I test that the actual version works well with 1.5 too.
The next version will have also more features than this one.
Bye,
Fair
Thanks Domenico,
This is great because I need to be able to report students' time on line.
John
Hi Domenico,
Have Moodle 1.5 installed and I am having difficulty getting the register module to work. When I install module in maintenence mode all seems well, the db tables are created ok: mdl_register and mdl_register_logs. Problem is when I include register in a course I am seeing error 'HTMLArea is undefined' and 'Notice: Undefined property: stdClass::$tolleranceevaluation ' and 'Undefined property: stdClass::$name'.
Do you think I have missed something in the installation?
Thanks a lot
John
Sorry John,
I'm abroad at the moment, can't answer you before 3th of July 'cause here I haven't my computer.
I'll answer in 20 days.
Bye,
Fair
Thanks Domenico,
Look foward to hearing from you then.
enjoy your trip!
John
Hi John,
here I attach my new register for Moodle 1.5; I corrected some bugs and I developed new features.
Release Notes:
Best regards,
Fair
Hi Philippe,
All help files are in lang/en/help/register and they are organized following Moodle help pages standard: it means that when you open the page to edit or create a new Register, you can click on the question mark to obtain some other information.
> Is it possible to see a real exemple on your site.
I can't show you a real example for privacy matters (all users in my platform are real users), sorry.
Bye,
Fair
A Real example has been installed on the Playpen
Full guest access is enabled, you can create your own login or you can log in as teacher:teacher to see the teacher view as well.
It is called the "Time Register" in the playpen
Sorry Jon,
if you want to do this, you have to modify the code. Anyway it should not be too difficult.
Bye,
Fair
Hay Rhonda,
I described above how to export data. Do you think that is too difficult?
Bye,
Fair
PS: do you think that is better changing register in a block module instead of an activity module?
Yes I can copy paste, I was looking for an export button...
Also, is there someway to show the data based on group? That would really help me.
Thanks, Rhonda