New version of attendance block (for Moodle 1.8) need for testers!

New version of attendance block (for Moodle 1.8) need for testers!

by Dmitry Pupinin -
Number of replies: 11
Picture of Core developers Picture of Plugin developers
No new features added yet.
For naturaly support Roles code rearranged. Now it's no Block with small module but Module with small block. So it need hard testing!
Please email me if you want test.

Will be good if someone will test it with Moodle 1.7
Average of ratings: -
In reply to Dmitry Pupinin

Re: New version of attendance block (for Moodle 1.8) need for testers!

by Dmitry Pupinin -
Picture of Core developers Picture of Plugin developers
Good news!
Martin have created component for Attendance in bug tracker. So the best way for bug report is go there:
http://tracker.moodle.org/browse/CONTRIB
In reply to Dmitry Pupinin

Re: New version of attendance block (for Moodle 1.8) need for testers!

by A. T. Wyatt -
Sorry, Dmitry! I could not find a project for block attendence, only module attendance. My problem is with block, so I did not know if it was the right place to file an issue.

I had some trouble unzipping the archive, but used shellzip and got it unpacked. I am using a local windows install of 1.8+, 2007021505.

No errors are reported on install, but then I get this when I try to add the block to a course. (and I did delete it all once and reinstall from the beginning, but the same error appears).

I do not know what "badcontext" means! Perhaps this is related to a corrupted zip file? You could send another and I will try again. BTW, if you click on the link for "more information about this error", it is a blank page in the wiki.

Thanks,
atw
Attachment error_badcontext.gif
In reply to A. T. Wyatt

Re: New version of attendance block (for Moodle 1.8) need for testers!

by Motoyuki OHMORI -

Hi,

I am using 1.8+ and I met same problems as you.
The cause seems that attendance module uses 'id' for course, not 'global $COURSE' variable. Therefore, I changed the original code to use 'global $COURSE' variable and the problem was solved.

BTW, I could not find the latest code at this moment and not send patch, however, if I could find, I would send my patch.

Regards,
Motoyuki OHMORI

In reply to Motoyuki OHMORI

Re: New version of attendance block (for Moodle 1.8) need for testers!

by A. T. Wyatt -
Do you mean this part?

function get_content() {
global $CFG, $USER;

if ($this->content !== NULL) {
return $this->content;
}
 
$id = optional_param('id', 0);
if (!$course = get_record('course', 'id', $id)) {
error('courseidwrong','block_attendance');
}


How should it be? I don't know how to follow your directions. Sorry!

atw
In reply to Dmitry Pupinin

Re: New version of attendance block (for Moodle 1.8) need for testers!

by Monico Briseño -
Picture of Testers
Hi, Dimitry. Where I can download the newest attendance block in zip format?

TIA

Mónico

In reply to Monico Briseño

Re: New version of attendance block (for Moodle 1.8) need for testers!

by Dmitry Pupinin -
Picture of Core developers Picture of Plugin developers
Hi Monico!

Now we are testing module. But because three testers don't reply about bugs from 16 May I release new version in near future.

I need to draw attention:
For attendance block works well you'll need to upgrade your Moodle for latest 1.8+ because few day ago bug with Groups was fixed (I found this bug when worked on block).
In reply to Dmitry Pupinin

Re: New version of attendance block (for Moodle 1.8) need for testers!

by Jason Hollowell -
Picture of Particularly helpful Moodlers
Dmitry,

I used, and loved, your attendance block in previous versions 1.7 and earlier and am looking forward to using it in 1.8

I'm running a site that was just upgraded to 1.8+ a few days ago. Is there a version that you want people to try out and provide feedback on?

If not, I'll wait patiently but I wanted to offer to help if possible. I'm not a programmer (just starting to study a little php) but could help with trialing a test version if needed.

Jason
In reply to Dmitry Pupinin

Re: New version of attendance block (for Moodle 1.8) need for testers!

by Todd McDougal -
What is the status of this block? Is it ready for production? How can I get it? (Don't see it listed on the Modules and plugins page.)
In reply to Todd McDougal

Re: New version of attendance block (for Moodle 1.8) need for testers!

by Jason Hollowell -
Picture of Particularly helpful Moodlers

I'd just like to second this request for an update on progress with this block and to once again volunteer to test beta versions if needed. smile

Jason

In reply to Dmitry Pupinin

Re: New version of attendance block (for Moodle 1.8) need for testers!

by n - -

Please send me your beta: I will help test it.

At the moment there is nowhere to download this module.

In reply to Dmitry Pupinin

Re: New version of attendance block (for Moodle 1.8) need for testers!

by Mike . -

Please send me the zip file, I'll test it as well. I am using 1.8.1+

Mike