- compatible only with Moodle 2.0 (Moodle 2.1 compatability not tested)
- fully internals rewritten (OOP, renderers, etc)
- support all 2.3 features
- + taken into account information about students enrolment (start/end date) on different pages
- + HTML-editor for session description with ability to add links, files, formatting, etc
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
Today I tested compatability with Moodle 2.1. I don't find any problems with fresh install on Moodle 2.1.
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
We just installed it on a Moodle 2.0.3 install on our dev site. I saw a caution about loading it on production servers. Is this caution still valid? Why couldn't we install it on a production site if it's working OK on dev? Thanks.
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
I don't recommend use it on production server because of small amount of testing. You can use it on production server at your own risk. For new installations (not upgrades) the risk is much less.
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
I'm comfortable with moving forward. Our 2.0.3 installation is a new installation, not an upgrade. We are waiting a few weeks before upgrading to 2.1. Thanks for your guidance and your hard work.
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
Hi Richard, our school is thinking about using this plugin, but nervous about the production warning as well. Have you moved forward with the install? If so, how has it been received?
Thanks...
Justin
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
I have this installed on an existing production server. I have seen no problems as yet and have set it up in all my classes.
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
Thanks Emma!
Justin
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
The attendance module follows standard installation procedure.
- Create folder <path to your moodle dir>/mod/attforblock.
- Extract files from folder inside archive to created folder.
- Visit page Home ► Site administration ► Notifications to complete installation.
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
I am running 2.1 and have run into an issue. When I add the attendance block the course shows up as a blank page. I have check the PHP error logs and nothing is showing up. So for now I have hidden the block and only made the activity available.
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
Works for me in Moodle 2.1.
Do you add attendance module to course before adding block?
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
I had this issue too. Firstly, make sure that you uninstalled the old block completely before adding the new block. Then, I found that if the old version had had an instance in a course prior to the upgrade, this behavior occurred. I fixed it by deleting all the old instances of the attendance module from the course_modules table in the database.
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
Is there a way to do this without delete the current instances?
Unfortuantely, I have faculty using this module and are depending on it this semester.
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
I would try deleting out the old version completely and then reinstalling but leave the instances in. Make sure that you purge caches after the install.
I tried installing on 2.0.5. The attendance activity and att block install without errors now.
I can add activity to course, no errors. It has the default values for ALP and such, so I think that part is okay.
I can add the attendance block okay without errors.
But when I try to take attendance, I get these errors:
Notice: Undefined property: attforblock::$lasttaken in /[mydir]/mod/attforblock/manage.php on line 39
Notice: Undefined variable: context in /[mydir]/mod/attforblock/manage.php on line 39
Incorrect context specified
- line 563 of /lib/accesslib.php: call to debugging()
- line 39 of /mod/attforblock/manage.php: call to has_capability()
Notice: Undefined property: attforblock::$lasttaken in /[mydir]/mod/attforblock/manage.php on line 40
Any ideas?
Thanks!
- John
Seems as you found bug. Bug exsists when you have one session for current day and try take attendance from block. I will fix it.
When installing your new update (today's version), I get this message:
Fatal error: Call to undefined function get_user_statuses_stat() in /[mydir]/mod/attforblock/renderhelpers.php on line 217
I've removed it and reinstalled several times.
I have attendance activity in my test course. When I add the attendance block, I get this message:
Fatal error: Call to undefined function get_user_statuses_stat() in /[mydir]/mod/attforblock/renderhelpers.php on line 217
and a blank page- crashes and cannot enter course.
I tried this update a number of times and different ways. First, I simply replaced manage.php and got this error.
So I uninstalled both the block and the mod and reinstalled- same error.
I copied your entire update package (downloaded as zip from github) and tried it that way- same error.
I think there is something wrong with your updated file?
- John
Heh, it is regressions after these renamings. I will fix it today.
Artem,
Thank you for all your efforts. I was hoping by posting the complete messages that you could find the problems easily.
I see you've posted an update. I'll check it out shortly and let you know how it works.
- John
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
We are currently using version 2.3.2 and the previous version has been working for us. Now we are in the process of testing 2.4 and are finding that it is coming up with the following error:
More information about this error
Is there a possibility that this beta version may work on 2.4? This module is crucial to our faculty as they have been using it for years.
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
Does not currently work on Moodle 2.4. You get the same error message "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."
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
I am having an issue with the database. When I try to add an instance to a course, I get an error that the field attendanceid is missing from the table attendance_statuses.
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
Sorry, I can't reproduce it. Can you provide more info about installation/upgrading process of attendance module: which version of attendance and moodle you have before upgrade, where you get archive with attendance module, etc.
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
Just posted this on the other thread:
I'm embarrassed, Artem. After I signed out and logged back in, it works perfectly. I hadn't refreshed the page! Thanks for your prompt reply.
Gratefully, RB
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
Got it fixed. For anyone else having issues, I took the following steps:
Deleted both module and block through the web interface.
Went into the mods and blocks folders and deleted both attforblock and attendance folders.
RESTARTED MYSQL - I tried this once without this step and it failed so make sure to restart here
Then reinstalled block and mod from latest beta version.
Upgraded from Notifications page.
All now working!
No grade - Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
Thank you, Artem, for your leadership on this important module. I have discovered one other issue with it.
I do not want the attendance grades to show up in our grader reports. In 1.9, I could stop this by setting the grades in Attendance to "No grade." When I tried it with this new beta version, the Attendance grades showed up anyway. Can "No grade" be programmed so that Attendance will not show up in grade reports?
Thanks for looking into it.
Re: No grade - Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
Very strange. If I set "No grade" while adding module I don't have grade in grade reports.
Can you provide more info about installation/upgrading process of attendance module: which version of attendance and moodle you have before upgrade, where you get archive with attendance module, etc.
Re: No grade - Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
I'm embarrassed, Artem. After I signed out and logged back in, it works perfectly. I hadn't refreshed the page! Thanks for your prompt reply.
Gratefully, RB
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
Date string showing incorrectly. I am using en_us as language.
Would appreciate any help.
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
Thanks, fixed.
You can download and replace single file or whole attforblock folder.
After replacing Purge all caches (Home ► Site administration ► Development ► Purge all caches)
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
Actually, that didn't seem to fix it. I had already tried modifying the language file but it seems to be pulling from somewhere else. Notice the capital D at the end of the line - that was nowhere to be found in the language strings.
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
Do you purge all caches?
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
That fixed it - thanks!
Emma
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
Thanks for your hard work, it is a nice feature. I think I found a bug. When I use this module with "magzine" theme in moodle 2.1.1.0 in Sessions tab when I click on the "select date field" the calendar that shows up disrupts the UI if I switch to standard theme I don't see the problem.
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
Thanks, fixed.
After installing new file purge all caches.
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
Perfect thanks a lot.
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
Testing attendance modul on the latest Moodle 2.1+
Getting this when I try to install:
- line 397 of /lib/dml/moodle_database.php: dml_write_exception thrown
- line 878 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
- line 920 of /lib/dml/mysqli_native_moodle_database.php: call to mysqli_native_moodle_database->insert_record_raw()
- line 29 of /mod/attforblock/db/install.php: call to mysqli_native_moodle_database->insert_record()
- line 513 of /lib/upgradelib.php: call to xmldb_attforblock_install()
- line 265 of /lib/upgradelib.php: call to upgrade_plugins_modules()
- line 1460 of /lib/upgradelib.php: call to upgrade_plugins()
- line 317 of /admin/index.php: call to upgrade_noncore()
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
Fixed this by deleting the swedish language file. It was a mess.
I did some translations and I have some other errors. Used the new fix and its all good so far.
Will try this out and happy to send an updated language file in swedish.
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
Hi! You can attch file here. Or you can fork my github repo, apply fixes and send pull request.
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
Oops, let me explain, are not showing more than 25 students in the activity Attendance in a course that has 30 students, there is configuration problem theme, because I've tried changing the theme and nothing. Any idea? It may be the incompatibility of this version I'm using Attendance in Moodle 2.0.2
Thanks for the help
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
I saw file attached to this discussion and I think you use not 2.4 version of attendance.
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
Sorry - back to square one.
Did some translations and suddenly it was impossible edit the language files in Swedish for the whole moodle....
I removed the module , installed it again - did not work.
Did the flushing etc but it only worked after I removed the translation...
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
Sorry, I read your message careless. I thought you fixed bug. I think problem is that sv language file has ASCII encoding. Must be UTF-8. But I can't properly convert it - converting breaks some characters.
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
One more bug - when taking Attendance, if you click on ANY of the Attendance codes to autofill with that code, it fills the Absent column!
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
Which Moodle build you use? Moodle has such error (not only for attendance) before 20110803 build (MDL-27658).
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
Oh, I am on 20110518.
Emma
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
So I need a few changes that have been made to files but cannot upgrade to 2.1 yet due to the question rewrite. I have had trouble finding just the changed files on the git repository. For example, with this fix, I see the patch file that explains what changes have been made, but is the corrected file anywhere that I could just replace my old one with?
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
You should open file '<moodle directory>/lib/javascript-static.js' and replase string 'if (findParent.nodeName.toUpperCase != 'BODY') {' by 'if (findParent.nodeName.toUpperCase() != 'BODY') {'.
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
Where you able to find a fix for this? I am having the same issue! Help!
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
Thats was the problem.
Now its working. I have an updated sv file that I can send you...
Three little problems though:
-The headline is "Attendance for course::" (In swedish) I cant see where the extra : is coming from...
-The acronyms are still english - my translations is not used.
-If you select group mode for a new session but dont select a group you get a database error.
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
You can attach sv file and I will include it in git repository.
-The headline is "Attendance for course::" (In swedish) I cant see where the extra : is coming from...
Such double ':' was in previous versions. I simply don't change it.
-The acronyms are still english - my translations is not used.
Default acronyms are created during module installing. If you install module without swedish language english acronyms has been created. You can change theirs in database or reinstall module with yours language pack.
-If you select group mode for a new session but dont select a group you get a database error.
Thanks. I will fix it a little bit later.
Has anyone sucessfully tried to use this with mentees block to allow people with parent roles to see their mentees attendances? I've just about exhausted trying to make it work.
Have set permission to view all user activity but message comes back that I can't enroll in the class. Even set the parent role to see attendances temporarily to try and force it to work.
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
This answer could be late but i think could help someone.
I have installed over various moddle versions and worked with it. Yo can see ateendances but is not a direct way. You have to acces to the child profile, you have to go to his grade report, and in the last row you can see attendance, if you click you can view your child attendances.
If you configure your system like instructions tells you. You can not enter on a child course, because parent is not enrolled. You can do two things (i think). Activate view course as guest permission in parent role or give the course context to the role in order to could enroll as a mentee. I think that in two case you could see the child course.
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
Can you please elaborate, how to show attendances. You were telling about guest access to parent role or in a course settings, you are giving guest access.
And what happen when you give course context in parent role, what after effects will happen with this??
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
You are giving access from course setting or in parent role??
If you assigned course context in parent role. what permission will be giving to him?
Can not take attendance for sessions that preceeds student enrolling
First, let me state my gratitude that you continue the work on attendance.
When trying to take attendance on students for a session, say September 1st from 9am, I can not do that if the student enrolled September 1st 9:15am.
I can not see the point in this restriction. If this is a classroom study, it is not given that the students are given access to Moodle first thing they start - it can go a week before they actually are told to enroll themselves into the courses.
If it, on the other hand, is a fullblood online course in realtime, I do see the point, but how many realtime online courses are there?
I vote for being able to take attendance even before enrollment date, if so, as an override action.
Re: Can not take attendance for sessions that preceeds student enrolling
Different organizations have different use cases.
I suggest the following solution: teacher can mark attendance for all students who are enrolled in a course before end of session (instead of beginning).
Svar: Re: Can not take attendance for sessions that preceeds student enrolling
Different otganizations do have different use cases.
Therefor I think an even better solution would be to have a config setting:
Allow to take attendance for sessions preceeding student enrollment [Y/N]
It should not be possible to take attendance or even create sessions with dates preceeding the course start date, thou.
It you don´t want to program this setting, you can perhaps allow it (as if setting was set to yes) and then warn about what is about to be registered. This is something that is likely to happen once at every startup week.
Re: Svar: Re: Can not take attendance for sessions that preceeds student enrolling
As a last resort I will do such setting. But if student don't enrolled in course before end of session how you can take attendance for him?
Re: Can not take attendance for sessions that preceeds student enrolling
The first week the teacher might take attendance on a paper, but when he has introduced the students to Moodle, he will register the attendance in Moodle too.
Re: Svar: Re: Can not take attendance for sessions that preceeds student enrolling
Done. I removed restriction and added warning about student enrollment date/time.
Svar: Re: Svar: Re: Can not take attendance for sessions that preceeds student enrolling
Thank you so very much!
Re: Svar: Re: Can not take attendance for sessions that preceeds student enrolling
Thanks for this! One "bug" I think since this release is that when taking attendance and clicking the "P" column heading to select everyone present, the module instead makes everyone absent and I cannot "select all" from any of the other columns with the heading.
Re: Svar: Re: Can not take attendance for sessions that preceeds student enrolling
Any progress on this bug? It's weird and annoying.
Re: Svar: Re: Can not take attendance for sessions that preceeds student enrolling
As stated before in this thread, it's a problem with your Moodle instance:
Re: Can not take attendance for sessions that preceeds student enrolling
I could also really use this functionality. Several teachers begin class and then the students eventually trickle into the Moodle course and they cannot be logged for attendance. Is there any workaround?
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
I installed the module in its beta version in moodle 2.1 and it works correctly. I can not find anywhere the Block for moodle 2.1. Can you tell me where to download?
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
I have installed moodle 2.1.1 release and everything works fine.
I have downloaded andreev-artem attendance folder(attforblock) and have put it up in mod folder.
(I can only find one folder.there must be 2 folders one for mod & one for block.Anyways i included old attendance block in block folder and removed & tried all ways).I have purged all caches.
But i get following error:
UPDATE mdl_attendance_sessions SET attendanceid=mdl_attforblock.id FROM mdl_attforblock WHERE mdl_attforblock.course=courseid
[array (
)]
- line 397 of /lib/dml/moodle_database.php: dml_write_exception thrown
- line 707 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
- line 261 of /mod/attforblock/db/upgrade.php: call to mysqli_native_moodle_database->execute()
- line 535 of /lib/upgradelib.php: call to xmldb_attforblock_upgrade()
- line 265 of /lib/upgradelib.php: call to upgrade_plugins_modules()
- line 1460 of /lib/upgradelib.php: call to upgrade_plugins()
- line 317 of /admin/index.php: call to upgrade_noncore()
Can someone pls solve this problem...i'm scratching my head over this!
Thanks in advance...
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
https://github.com/andreev-artem/moodle_mod_attforblock/pull/2#issuecomment-2143342
You can try revert code changes from this pull request.
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
I have moodle 2.0.1 (Build : 20101225) installed in my system. Which version of Attendance module is compatible with this moodle version?
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
Thanks For You . but please .. i want to know how i install it . or how i upgrade aatendance for moodle 1.9
Do you incorporated the two files in each other؟؟
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
Artem,
I am thinking of using this, but was wondering if there is a screenshot of it running? I want Moodle to automatically report them present when they login. Then, I need a nice report format that shows the whole class's attendance over time.
Does this module do that? Are there any screenshots?
Thanks.
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
Hi
Installed tonight (well tried to) and am getting this error on MS SQL DB
Error Code: 2714<br>
Message: [Microsoft][SQL Server Native Client 10.0][SQL Server]There is already an object named 'mdl_attendance_sessions' in the database.<br>
CREATE TABLE mdl_attendance_sessions (
id BIGINT NOT NULL IDENTITY(1,1),
attendanceid BIGINT NOT NULL DEFAULT 0,
groupid BIGINT NOT NULL DEFAULT 0,
sessdate BIGINT NOT NULL DEFAULT 0,
duration BIGINT NOT NULL DEFAULT 0,
lasttaken BIGINT NULL,
lasttakenby BIGINT NOT NULL DEFAULT 0,
timemodified BIGINT NULL,
description NTEXT NOT NULL,
descriptionformat SMALLINT NOT NULL DEFAULT 0,
CONSTRAINT mdl_attesess_id2_pk PRIMARY KEY (id)
)
- line 400 of \lib\dml\moodle_database.php: ddl_change_structure_exception thrown
- line 252 of \lib\dml\sqlsrv_native_moodle_database.php: call to moodle_database->query_end()
- line 675 of \lib\dml\sqlsrv_native_moodle_database.php: call to sqlsrv_native_moodle_database->query_end()
- line 88 of \lib\ddl\database_manager.php: call to sqlsrv_native_moodle_database->change_database_structure()
- line 75 of \lib\ddl\database_manager.php: call to database_manager->execute_sql()
- line 456 of \lib\ddl\database_manager.php: call to database_manager->execute_sql_arr()
- line 408 of \lib\ddl\database_manager.php: call to database_manager->install_from_xmldb_structure()
- line 508 of \lib\upgradelib.php: call to database_manager->install_from_xmldb_file()
- line 271 of \lib\upgradelib.php: call to upgrade_plugins_modules()
- line 1466 of \lib\upgradelib.php: call to upgrade_plugins()
- line 317 of \admin\index.php: call to upgrade_noncore()
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
I have no moodle instances with MSSQL or PostreSQL. Thus I test code only with MySQL.
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
Hi Andreev
I successfully installed your latest version 2.4 on my moodle 2.1.3 and it is working fine on my server. I have a question for you, can you guide me how to show username in attendance so that students with same name could be differentiated properly.
Regards,
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
Hi
Thanks for a usefull plugin. Tested it on a fresh moodle 2.1.2+ and had no problems installing.
I have two question or requests. For my use I would like to exclude students from reports where no attendace mark/note (P,A,L etc..) was given. Second is to add a student search option when taking attendance.
I am not a php programmer, but if you can give some pointers where to start I my ask a programmer to asist me.
thanks
Steve
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
Hi, Artem, thanks a lot for your work.
I've tried over a moodle 2.0.3 with some of my pupils and runs ok.
But I encountered a problem: when I was creating multiple sessions, I got confused and schedule a session with a wrong, and I can not edit the whole series. My questions are:
Once you create a multi-session, can you edit must be done in whole or session by session?
If you can not, could be implemented?
Thanks again, and I apologize for my English.
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
Attendance never has ability to edit multiple sessions as series.
Unfortunately I hasn't time for implementing such feature.
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
Anyway, thanks for your work.
Anyone can pick up the baton from this proposal?
Mateo
ตอบ: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
Re: ตอบ: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
Block name is 'attendance' not 'atforblock'
Re: ตอบ: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
I installed the original version some time back, the one posted in july. I have since modified several things to the module. But I keep getting the same error when I add a new session or modify one the page does not redirect to the manage page... I removed the text as it would say, for exampe 'your session has sussesfully been saved' but it would stop there, so I removed the get_string so that it would simply redirect without any comments but now it shows:
Error output, so disabling automatic redirect.
Can anyone help me? I have no idea why it does this... When I cancel a modified session it redirects fine and if I take attendances it redirects fine as well.
Thanks in advance!
Re: ตอบ: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
I've found that there is a problem with the log, when commenting the two lines below, the redirect works fine
$this->log('session updated', $url, $info);
$this->log('sessions added', $this->url_manage(), implode(', ', $info_array));
Can anyone help?
ตอบ: Re: ตอบ: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
Change Block name is attendance
Change the name of the blog, but I have the same error.
Re: ตอบ: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
Hi, I am trying to install this block and get the following error from the notifications page.
Re: ตอบ: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
I have also already tried renaming the block to "attendance" but get the same defective/outdated error.
If you could send me a link to the most upto date block code, i'd be grateful.
I'm running Moodle 2.2.1, is that going to be a problem?
Thanks
Re: ตอบ: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
Me too. I've named the block folder "attendance". Is there something else I'm supposed to do? This is the error:
- line 625 of /lib/upgradelib.php: plugin_defective_exception thrown
- line 273 of /lib/upgradelib.php: call to upgrade_plugins_blocks()
- line 1440 of /lib/upgradelib.php: call to upgrade_plugins()
- line 269 of /admin/index.php: call to upgrade_noncore()
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
Is this code still considered Beta, for a fresh install of moodle 2+?
We have a fresh install of moodle 2.2. One problem is that we plan to backup and restore courses with attendance modules from a moodle 1.9.12 server. Is this considered "upgrade" with "old instances"?
Will the old module affect the new module?
Thanks.
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
Hello,
I've upgrade from 1.9 to 2.2 sucessfully, but I'm not being able to install the Attendance Module (Dmitry's version). I get this:
Plugin name | Directory | Source | Current version | New version | Requires | Status |
---|---|---|---|---|---|---|
Módulos de atividades | ||||||
/mod/attforblock | Extension | 2009022800 | To be installed | |||
Extension | 2007101513 | Está faltando no disco | ||||
Blocks | ||||||
/blocks/attendance | Extension | No Database | ||||
Standard | 2007101509 | To be deleted |
According to the documentation, the Database should be automatically set up during that stage. But it doesnt seem to be happening. Is there a workaround for this?
regards,
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
Dmitry's version was never meant to be installed in Moodle 2.x. I believe that Artem Andreev has a compatible version, and the link given earlier in this discussion is https://github.com/andreev-artem/moodle_blocks_attendance. You might try it!
atw
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
Hey Wyatt and everybody,
Wyatt, the link you provided contains an incomplete version... so I could not use it. But I then went to the beginning of this thread and download from the link provided.
GOOD NEWS! . It really works with Moodle 2.2 (I'm using the latest Moodle version, from the 2.2 branch). I just uploaded the files to the mod directory and when going to Notifications, I had to press the "Continue" Button. That was it - it created the tables and successfully installed Attendance.
Thank you so much for the help.
All the best
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
We have this installed on Moodle 2.2 (latest version) and so far it appears to be working (mostly) fine.
In our testing we noticed that when trying to delete a session, sessions.php was calling a function 'update_all_users_grades()' and we were getting an error stating that function did not exist.
Upon inspection we noticed that in locallib.php the function was defined as 'att_update_all_users_grades()'. We updated the two function calls in sessions.php and that appeared to fix the issue.
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
Please, update your attendance module. This problem has been fixed: https://github.com/andreev-artem/moodle_mod_attforblock/commit/81e461d75c42282a285e3b9bb1aa4e6c5527219b
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
- line 438 of /lib/upgradelib.php: plugin_defective_exception thrown
- line 271 of /lib/upgradelib.php: call to upgrade_plugins_modules()
- line 1449 of /lib/upgradelib.php: call to upgrade_plugins()
- line 269 of /admin/index.php: call to upgrade_noncore()
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
Artem spasibo bol'shoe for creating this attendance module. I recently installed moodle 2.2 and the latest version of the module. Everything works fine, but for some reason I am unable to see percentages next to grade column in the report. Is there a way to turn it on?
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
First of all thank you for your great work on getting this module in proper shape. And before I go any further, I should probably state that I'm very new to Moodle so if I'm making any wrong assumptions don't hesitate to set me straight.
I'm currently working with a small team on setting up Moodle for a university, and judging from the requirments of that uni it seems that we need to use seperate groups for most courses with cannaccessallgroups and managegroups both disabled for teachers.
So far it seems that everything is falling into place but that stopped being the case when I started testing the behaviour of the Attendance module:
Here are the steps that I did (as an Admin):
- Set up a test course with two groups.
- Enrolled a different teacher to each of the groups.
- Created sessions for each group.
Logged in as one of the teachers expecting to only be able to see the sessions of the group he's enrolled in, but instead I get two surprises.
- When first openning manage.php, all the sessions for both groups are listed (even though the dropdown at the top doesn't have an "All" option).
- The Sessions dropdown allows selection of the second group to which the currently logged in teacher is not enrolled.
I'm currently taking a look at the code to see if I can figure out how to get the behaviour I was hoping for but sadly I have zero experience with PHP so it's taking far more time than I have to spare for this. And so I would very much appreciate any pointers as to what I should be looking for in the code.
Thanks in advance for any help.
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
i would like to say thank you artem for this important plugin, well done.
Can the report be printable when click on the report tab not export it into excel then print it?.
Last thing, is there a way to send an alert to the administrator if any student absent for more than 20 sessions or 40 sessions??
I will be waiting your reply.
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
Of course, such features can be implemented. But I haven't resources (particularly time) to implement their.
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
Hi! Can any one tell me what the latest news is on the attendance module? We will be installing the latest stable version of Moodle in the next couple of weeks (right now it is at version 2.2.3). We want to install an attendance module at the request of serveral faculty at our college. I am not sure if the attendance module will work with the latest stable version. I downloaded the latest version of the Module, however, I am not sure where instructions are to install it. In addition, I would like to know if you can assign a grade to attendance for this module. For example, some instructors take a points off for attendance after so many days absent or assign a grade for attendance. Can anyone point me in the right direction.
Thanks, Diane
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
I have it installed on the latest release and it appears to be working just fine.
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
Can you tell me if the module allows you to assign a grade to attendance or deduct a certain number of points based on attendance.
Also, I don't see any instructions on how to load the module. Am I overlooking the instructions or do you happen to know where they are.
Thanks a bunch!
-Diane
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
Is there any plan for this plugin to leave the beta stage?
We would like to use this module but the beta label and your warning above will guarantee that our computer centre will not install it.
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
Since the original post is a year old already, and thread is so long, I suggest that the discussion on v2.4.0 be continued at this new post.
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
Thanks for good module.
we use moodle 2.2.2, everything works fine.
I have a request. we need to display 'idnumber' on take attendance list.
Is that possible to show?
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
Re: New BETA version of Attendance (v2.4.0) - Moodle 2.0 only
I have installed Moodle 2.0.3. To enable attendance modle as per instructions from Attendance module Installation
I tried https://github.com/andreev-artem/moodle_mod_attforblock/tree/MDL_22 but it shows some error in the first login which is given as follows
Plugins check
Directory | Name | Status |
---|
mod/attforblock | attforblock | Non-standard (about to be installed) |