## Attendance (plugin)

### New Dmitry's version of attendance block (v1.0.5)

New Dmitry's version of attendance block (v1.0.5)
1.0.5 - 23 jan 2006 Dmitry Pupinin [moodle.org member]
+ group names added to Excel and Text reports (if groups exist)
+ attendance displayed on user's quick and full report pages
+ students sort possibility in report
+ user's names is links now
* log messages updated
* bug fixed: guest can't see anything now
* bug fixed: isteacher() was called without parameters

Average of ratings:Useful (1)
Re: New Dmitry's version of attendance block (v1.0.5)

Hi,

thanks, this module/block is exactly what I need.

While fooling around with it I found out that I get a "Warning: Division by zero in /home/m2ptest/public_html/moodle/blocks/attendance/lib.php on line 195" on the report page whenever I set the points for "present" to 0 - (which could make sense if I set the others to negative points)

Just wanted to let you know.

Paul

Average of ratings: -
Re: New Dmitry's version of attendance block (v1.0.5)
Thank you very much!

I has understood that percent are calculated wrong not only when "present" set to 0. This also when "absent" isn't equal 0.

I correct this in the near future!

Average of ratings: -
Re: New Dmitry's version of attendance block (v1.0.5)

Perfect.

I was missing this module.

When I do the attendance for a day, I can`t modify it. Is it right?

Best regards

Average of ratings: -
Re: New Dmitry's version of attendance block (v1.0.5)
Yes. Of course!

Average of ratings: -
Re: New Dmitry's version of attendance block (v1.0.5)

Good work!  This module is very useful to me.  Dmitry is a very useful person.

Average of ratings: -
Re: New Dmitry's version of attendance block (v1.0.5)

Thanks!

Average of ratings: -
Re: New Dmitry's version of attendance block (v1.0.5)

Hi Dmitry,

A great functionality and it workas cool.

Thanks for the great mod.

Garry

Average of ratings: -

Average of ratings: -
Re: New Dmitry's version of attendance block (v1.0.5)

Hi Dmitry,

Great block and module! I just had two questions for you. What files do I need to modify to add more categories in the settings page? and What file(s) do I need to modify the report output from day.month to month.day? Oh, sorry, one more question where can I go to change some of the layout of the page? styles.php?

Thank you for a great block and any response to the above,

Deon

Average of ratings: -
Re: New Dmitry's version of attendance block (v1.0.5)
> What files do I need to modify to add more categories in the settings page?
This feature require changes in database. I don't recommend to do this by itself.

> I need to modify the report output from day.month to month.day?
This feature will be accessible in next version.

> where can I go to change some of the layout of the page?
Sorry, I don't understand what you want.

Average of ratings: -
Re: New Dmitry's version of attendance block (v1.0.5)

Dear Dmitry--

I have installed your block, but I wonder why the absent field is marked as default.  I changed line 138 of updateAttendance.php to

$pchecked = 'checked'; where is was originally$achecked = 'checked';

I think that most of my students come to class, so it is less clicking to mark "absences" than to mark "presents".

Thank you for your block!  I like it very much!

atw

Average of ratings: -
Re: New Dmitry's version of attendance block (v1.0.5)
> I think that most of my students come to class, so it is less clicking to mark "absences" than to mark "presents".

But in my position nobody can not be forget...

PS: This not important because in next version of block you will be able "select all" in any column.

Average of ratings: -
Re: New Dmitry's version of attendance block (v1.0.5)

I like that idea!

atw

Average of ratings: -