Attendance (add-on)

 
 
Picture of Fabrizio Ciommei
Attendance Module for Moodle 2.4
 

Hi all,

I would like to know if it is planned an Attendance Module new release for Moodle 2.4 or a fix on the latest one (2.4.0) for Moodle 2.3 in order to apply it on the 2.4?

If yes, when it could be released?

I ask you that because I need to use it in a company experimentation and we want to know if this solution is feasible.

Waiting for your a kindly feedback about.

Best regards,

Fabrizio

 
Average of ratings: -
Picture of Eric Malone
Re: Attendance Module for Moodle 2.4
 

Yes, this is much needed, otherwise I'll have to downgrade our site to 2.3 just for this module.

 
Average of ratings: -
Фотография
Re: Attendance Module for Moodle 2.4
 

Hi Fabrizio,

I've done some fixes for Moodle 2.4. You can try https://github.com/andreev-artem/moodle_mod_attforblock/tree/MDL_24

 
Average of ratings:Useful (2)
Picture of Fabrizio Ciommei
Re: Attendance Module for Moodle 2.4
 

Hi Artem,

thanks for the solution provided first of all.

Just a little question before applying it: is it an official solution or it must be validate by the Moodle staff (and included in a new Attendance Module/Moodle release)?

I ask you that because the module will be applied in a official solution and our company want to be sure that the solution is stable.

Thanks again for the collaboration on that.

Best regards,

Fabrizio

 
Average of ratings: -
Picture of Michele Aurelio
Re: Attendance Module for Moodle 2.4
 

Hi Artem,

i've installed the module in my moodle 2.4 site but now i've a very stupid question: where should i see the register?

sorry for this question but i'm very new to Moodle.

I hope you can help me.

Thank you

Michele

 
Average of ratings: -
Picture of Fabrizio Ciommei
Re: Attendance Module for Moodle 2.4
 

Hi Michele,

in order to see the course register, you should add a Register activity in the course contents (e.g. on the first lesson) and an Attendance Signing activity that will be used by the students for signing the course lesson attendancy.

After that, you can see all the needed information and you can retrieve all the data related to.

I hope that this explaination is helpful.

Best regards,

Fabrizio

 
Average of ratings:Useful (2)
Picture of Michele Aurelio
Re: Attendance Module for Moodle 2.4
 

Hi Fabrizio,

Thank you for your answer. It was really very useful.

But i have another question about this module: as far as i've seen, it seems to me that the teacher (or the manager) should mark the students attendance manually.

Do you know if there is a way to measure automatically the time of attendance of a student in a course (or in a single lesson)?

Thank you in advance for your help.

Michele

 
Average of ratings: -
Picture of Fabrizio Ciommei
Re: Attendance Module for Moodle 2.4
 

Hi Michele,

as far as I know, only the teacher or the admin (and the related roles) can perform this type of action manually and not automatically.

The module exposes some reports that allow you to retrieve, for example, the lesson's attendency percentage and many other information.

Obliviously, if anyone can provide you some further information (and also to me), it really can be appreciated.

Best regards,

Fabrizio

 
Average of ratings: -
Picture of Michele Aurelio
Re: Attendance Module for Moodle 2.4
 

Hi Fabrizio,

i've foud this post:

https://moodle.org/mod/forum/discuss.php?d=200363

where is described the Configurable Reports Block with which it seems possble to have a report with the total time spent for each user in a course.

I don't know how much it's accurated and how it works. i think that it uses the logs but i'm not sure in which way.

Btw i've tried with a test user and it gave me the right time spent in the course..

i hope this help, and if you try it, maybe we can give a feedback each other.

Bye for now.

Michele

 
Average of ratings: -
Picture of Fabrizio Ciommei
Re: Attendance Module for Moodle 2.4
 

Hi Michele,

first of all, thanks for flagging this topic, but, after reading it, I noticed that:

1) it seems that this kind of reports are referred to a Moodle reporting native functionality and not strictly to Attendance Module report (even if its behavior is strictly connected to the user/role rights related to).

2) it is referred to a very "old" Moodle version (2.0.8) then it could be possible that this functionality can be deprecated in the last ones.

Anyway, I will perform a test and I will provide you all the test results.

What about my questions regarding your point of view?

Thanks for the collaboration.

Best regards,

Fabrizio

 
Average of ratings: -
Picture of Clinton Branscombe
Re: Attendance Module for Moodle 2.4
 

Our site was upgraded to Moodle 2.4 and now the Attendance module triggers the "Coding error detected, it must be fixed by a programmer: PAGE->yui2_lib() is not available any more, use YUI 2in3 instead, see MDL-34741 for more information."

After seeing your note, I updated to your https://github.com/andreev-artem/moodle_mod_attforblock/tree/MDL_24.

Unfortunately the problem persists. Within a course I deleted the Attendance activity and was able to create a new instance without triggering any errors.  However, when I click on either the "Sessions" or "Report" tab, the message still appears.  It does not appear when the other tabs are clicked.  I am not sure, if this information makes any difference for your diagnostics and repair work.

CAB 

 
Average of ratings:Useful (1)
Picture of Fabrizio Ciommei
Re: Attendance Module for Moodle 2.4
 

Hi Clinton,

a question: before upgrading Attendance Module to the latest version, have you upgraded Moodle 2.4 to the latest intermediate release?

I ask you that because the issue seems related to an incorrect communication between the YUI libraries (updated in that version) and the Attendance Moodle.

Best regards,

Fabrizio

 
Average of ratings: -
Фотография
Re: Attendance Module for Moodle 2.4
 

Hello Clinton,

do you clean caches after upgrading Attendance module?

I will be able to check and fix this issue only at the 12 January.

 
Average of ratings: -
Picture of Clinton Branscombe
Re: Attendance Module for Moodle 2.4
 

Artem:

I had not cleared the cache.  I did so immediately after reading your message!  smile

Unfortunately the errors I mentioned occured in exactly the same spots. sad

I appreciate your response.  I trust that the fix is not too difficult.  There are several new features of Moodle 2.4 that I do not want to lose, but I hate to tell my fellow faculty that something so useful is not working now.

Thanks again for your work.

CAB

 
Average of ratings: -
Picture of Eric Malone
Re: Attendance Module for Moodle 2.4
 

Artem, please disregard my moodle message. I am having the exact same issue as clinton and await your update on Saturday.

 
Average of ratings: -
Picture of Emma Richardson
Re: Attendance Module for Moodle 2.4
Group Particularly helpful Moodlers

I had this same issue - was able to resolve it by commenting out the two lines that reference yui 2 in renderer.php.

 
Average of ratings: -
Picture of Clinton Branscombe
Re: Attendance Module for Moodle 2.4
 

Emma:

Your fix worked eliminated the error for both "Sessions" and "Report."  That almost seemed too easy.... smile

Thanks,

CAB

 
Average of ratings: -
Picture of Emma Richardson
Re: Attendance Module for Moodle 2.4
Group Particularly helpful Moodlers

Glad it worked for you - I was freaking out - I had upgraded my test site and had no issues with attendance - of course it was the live site that threw that error!

 
Average of ratings: -
Picture of Jennifer McVicker
Re: Attendance Module for Moodle 2.4
 

I am having the same issues as Clinton, and I *did* remove the two lines referring to yui2_lib() in renderer.php.  I am running moodle 2.4.4 and have uninstalled and reinstalled the attendance module (version 2.4, with no references to yui2_lib) three times now.  I have cleared the cache each time.  Please help!

 
Average of ratings: -
Picture of Jennifer McVicker
Re: Attendance Module for Moodle 2.4
 

Solved!  If anyone else encounters this problem persisting even after the code changes are installed, try restarting your web server.  Once we restarted apache, the code changes were recognized and the plugin works great now.

 
Average of ratings: -
Фотография
Re: Attendance Module for Moodle 2.4
 

Very very strange. But I haven't this issue with https://github.com/andreev-artem/moodle_mod_attforblock/tree/MDL_24.

Code in MDL_24 branch doesn't contain yui2_lib anywhere. And it is logical, since one part of the fix was removing two lines with yui2_lib.

Do you download right archive? https://github.com/andreev-artem/moodle_mod_attforblock/archive/MDL_24.zip

 
Average of ratings: -
Picture of Emma Richardson
Re: Attendance Module for Moodle 2.4
Group Particularly helpful Moodlers

I downloaded the latest 2.4 when I upgraded my site last week.  That is strange.  I will check that again.

 
Average of ratings: -
Picture of Clinton Branscombe
Re: Attendance Module for Moodle 2.4
 

Artem:

I did the same as Emma and had the same problem.  While I use git to keep the Moodle core up to date, I do manual update plug ins.  My procedure goes like this: rename the original folder, copy the new folder and then delete the old renamed folder.  I never just paste into the current folder, to avoid the problem of previous remnants.

I downloaded from the direct link at Moodle.org.

CAB

 
Average of ratings: -
Фотография
Re: Attendance Module for Moodle 2.4
 

Could you publish link which you used?

 
Average of ratings: -
Picture of Emma Richardson
Re: Attendance Module for Moodle 2.4
Group Particularly helpful Moodlers

https://github.com/andreev-artem/moodle_mod_attforblock/tree/MDL_24

I downloaded directly from github and copied it to a new upgraded Moodle site.  I upgrade manually so it was a fresh Moodle folder.  The database of course had references.  

I did find that in order to get my existing instances to show up, I had to add a new instance (which I then deleted out).  Strange behavior but I have seen that before when upgrading this module.  It doesn't always play nice with instances from a previous version.

Thanks also from me - we use this module a lot!

 
Average of ratings: -
Picture of Eric Malone
Re: Attendance Module for Moodle 2.4
 

I was able to get the module to work after commenting out the two lines referenced by Emma (thanks!). I downloaded from the link Artem posted and sent me by message and manually purged the old attforblock folder and database tables prior to installation.

Thanks for all of your hard work Artem, your module is heavily used on our campus.

 
Average of ratings: -
Picture of Fabrizio Ciommei
Re: Attendance Module for Moodle 2.4
 

After applying the latest Attendance Module fix, the feature works correctly and we can apply in our company project.

Thanks again to Artem and his effort to fix it!

Regards,

Fabrizio

 
Average of ratings: -
Gordon McLeod
Re: Attendance Module for Moodle 2.4
 

Hi,

Just upgraded to 2.4 and added the most recent version of attendance module from the link above. I can add new attendance activities and Moodle plugins tells me the existing activities exist, but when I visit the courses containing those (pre-upgrade) versions they don't show on the page. I tried the suggestion about adding a new attendance - but the old ones still didn't show up. I checked the renderer code and the version I've installed has the changes to remove references to yui2 already applied.

Any suggestions on recovering the old (but invisible) activities?

Thanks, Gordon.

 
Average of ratings: -
Picture of Clinton Branscombe
Re: Attendance Module for Moodle 2.4
 

Does it say that there are hidden sessions?  This happens to me when I do a restore to a new semester. 

I get rid of them by temporarily changing the start date of the course to the date to the earlier semester.  Then the hidden seesions can be removed.  Change the start date back to the current semester and create new sessions.

 
Average of ratings: -
Gordon McLeod
Re: Attendance Module for Moodle 2.4
 

Hi Clinton,

No, the activity itself is completely missing from the page as if it's been hidden - turning on editing has no effect either. When I add a new Attendance to the same course that does show up. In Plugins > Manage Activities the missing original attendances still show up in the list of courses containing the activity, but when you visit the page it isn't visible.

Regards, Gordon.

 
Average of ratings: -
Picture of Clinton Branscombe
Re: Attendance Module for Moodle 2.4
 

I misspoke in my previous post.  I did not download Attendance from Moodle.org. 

The download location was from I updated was https://github.com/andreev-artem/moodle_mod_attforblock/tree/MDL_24.

Sorry for my error.

 
Average of ratings: -
Moodle Gal
Re: Attendance Module for Moodle 2.4
 

Cheers for this link - it gave me what I needed to get everything functioning!

 
Average of ratings: -
Picture of Emma Richardson
Re: Attendance Module for Moodle 2.4
Group Particularly helpful Moodlers

Artem,

I am also having an issue with the Attendance activity showing up in the gradebook and messing up the grades when I have it marked to no grade.  Is anyone else seeing this?  

 

 
Average of ratings: -
Picture of Emma Richardson
Re: Attendance Module for Moodle 2.4
Group Particularly helpful Moodlers

Redownloaded the latest version from github per Aartem's link above and all is working well now!

 
Average of ratings: -
Picture of Daniel Lombardo
Re: Attendance Module for Moodle 2.4
 

Hi Artem

Going out equally to anyone familiar with the drawbacks in the Group features of attforblock.

I hope you're doing well. I want to ask about a possible fix for a feature of the mod that isn't functioning correctly.

The support for group sessions was nice since M2.0, but I can't use it because we need to move students from one group to another. As you know this leaves taken sessions for the student sitting hidden, which can be problematic and difficult to track.

Now with Common Sessions, Teachers mark 1 session, then go to the next. The filtering select form shows their group name, but the list is showing all course participants. The teacher has to click off their group then back on for every session.

Is it difficult for me to fix this filtering problem? We have 20 sessions per week to mark - tedium magnified.

I hope you don't mind this, it would be great to get your advice. I am trying to customize the code for us right now and the reverse engineering is going slowly.

Kind regards

M

 
Average of ratings: -
Фотография
Re: Attendance Module for Moodle 2.4
 

Hello!

Thank you for the report. I fixed issue with user's auto filtering. Also I  added taked sessions from previous groups to the user's report.

For details see lastest commits for Moodle 2.3 and Moodle 2.4.

 
Average of ratings:Useful (2)
Picture of Daniel Lombardo
Re: Attendance Module for Moodle 2.4
 

That's really amazing, thank you. I will update tonight and see how it goes. Wow, I'll get back to you.

 
Average of ratings: -
Just wondering . . .
Re: Attendance Module for Moodle 2.4
Group Particularly helpful Moodlers

Thinking ahead.

Arteem, have you ever thought of submitting this to the addon's database?

At present it is not possible to use the automatic updates: https://tracker.moodle.org/browse/MDL-35238

-Derek

 
Average of ratings: -
Picture of Steven Mao
Export attendance in Moodle 2.4.1
 

Has anybody ran into issue with exporting .xls file with Attendance module in Moodle v2.4.1? When trying to open the exported file, Microsoft Excel says:

"The file you are trying to open, 'xxxxxxxxx.xls', is in a different format than specified by the file extension. Verify that the file is not corrupted and is from a trusted source before opening the file. Do you want to open the file now?"

And after you open it, the content is all scrumbled.

 
Average of ratings: -
Picture of Fabrizio Ciommei
Re: Export attendance in Moodle 2.4.1
 

Hi Steven,

as far as I know, the Attendance module 2.4.1 is not relasead yet.

Are you speaking about Moodle 2.4.1?

In any case, have you checked that you opened a Excel file with Excel 2008 or later (that supports the xlsx too, but not garanteed for the older ones)?

 

Best regards,

Fabrizio

 
Average of ratings: -
Фотография
Re: Export attendance in Moodle 2.4.1
 

Hello Steven,

thanks for the report. I fixed this issue.

 
Average of ratings:Useful (1)
Picture of Steven Mao
Re: Export attendance in Moodle 2.4.1
 

Thanks so much Artem and Fabrizio! Cheers to the Moodle community. Yes

 
Average of ratings: -
Picture of Edwin Cruz
Re: Attendance Module for Moodle 2.2
 

Where can I find the attendance module?????

 
Average of ratings: -
Picture of Emma Richardson
Re: Attendance Module for Moodle 2.2
Group Particularly helpful Moodlers

The link is up above in Aartem's post...

 
Average of ratings: -
Picture of Edwin Cruz
Re: Attendance Module for Moodle 2.2
 

Can you send me the link, this is the first time I use this forum.

 
Average of ratings: -
Picture of Emma Richardson
Re: Attendance Module for Moodle 2.2
 
Average of ratings:Useful (2)