Modules and plugins

RSS
Page: ()  1 ...  335  336  337  338  339  340  341  342  343  344  345  346  347  348  349  350  351  352 ...593   ()

Activity Module: Attendance

Attendance module
Type: Activity Module
Requires: Moodle 1.8 or later
Status: Contributed
Maintainer(s): Dmitry Pupinin

Now it module and block for not automatically marks attendance. Distributing as package of module and block. Main part is module, block is optional.


Record added by Dmitry Pupinin - Wednesday, November 28, 2007, 05:16 PM
Last modified - Wednesday, February 25, 2009, 02:43 AM
Picture of Enrique Robredo
by Enrique Robredo - Wednesday, December 5, 2007, 11:13 PM
 

Hello:

I have problems whith 1.8.3 Moodle Version.

Picture of Lael ...
by Lael ... - Wednesday, February 20, 2008, 09:36 PM
 

Thanks for update to make 1.9 compatible. So far so good!

Great Module! - very useful.

duck
by Fred Nevers - Wednesday, July 23, 2008, 11:09 AM
 

Thanks for all the hard work Dmitry. It installed fine and works perfectly on 1.9.1.

I really like how it is possible to use the groups/groupings option as it makes this activity/block extremely useful.

Is there any way to collect the attendance from all courses in one place?

Fred

Picture of Rob Byrd
by Rob Byrd - Sunday, August 10, 2008, 01:20 AM
 

Thanks for the Module. I'm sure it will be great. Right now, though, I get it installed. I used your version as suggested. I copied the attendance directory to the blocks directory, the attformod to the mod directory, the attendance_block.php files in their respective language directories. I then clicked on the Notifications link as admin. I got this error message:
Module attforblock: /<MY-PATH-TO-MOODLE>/moodle/mod/attforblock/version.php was not readable

So I set the directories ( w/ -R) to 777 and still got the same error.

Any suggesstions?
It on my server, not a hosted one, so I don't think it's a permissions problem.

Thanks,

Picture of ummara tariq
by ummara tariq - Monday, November 3, 2008, 06:05 PM
 

this might be a stupid question...but how on earth do you actually add students..

Picture of Davide Tomasella
by Davide Tomasella - Saturday, November 22, 2008, 07:24 PM
 

Great module!
But I have some problem with the moodle 1.8.7 version.
In the attendance tab, some time the green icon in the action column cann't disappears when I set the lesson....
This is a big problem because the students cann't see the lesson on their report.
Some body can help me?

Picture of Saravanan Rajagopal
by Saravanan Rajagopal - Tuesday, January 20, 2009, 09:15 PM
 

Hi,

I need it for 1.9 Moodle, But I couldn't able to download this Module, Can you give me the alternate Download Link.

Thanks in Advance,

Picture of Anil Sharma
by Anil Sharma - Saturday, February 21, 2009, 12:21 AM
 

Installed in 1.9.4+ on Feb 20, 2009 without any problems.

Only problem is the download link, some service providers have blocked the domain from where the .zip needs to be downloaded, they think that's a phishing site. Maybe the .zip files should be uploaded to moodle itself.

Picture of Anil Sharma
by Anil Sharma - Tuesday, February 24, 2009, 07:30 PM
 

there seems to be some problems with this and 1.9.4+. It will install on the MAMP localhost , but on our production servers, where we have php5 , the block won't install on 1.9.4+. The module installs, but if we copy the block to /blocks folder, the site wont access /admin folder.

Picture of Henni Appelgryn
by Henni Appelgryn - Sunday, March 1, 2009, 10:55 PM
 

When I tried to download the ATTENDANCE package - I get this error, I tried many times

Network Timeout

The server at download.moodle.org is taking too long to respond.

Picture of Panyarak Ngamsritragul
by Panyarak Ngamsritragul - Saturday, March 7, 2009, 12:16 PM
 

Sometime it is better to be able to manage student data using idnumber(Student ID). But most of the reportsin Moodle do not include this field. Attendance module is also the case.

I have hacked the code in mod/attforblock/report.php and mod/attforblock/attendances.php to display idnumber.

Changes are :
report.php

  • $sort = optional_param('sort', 'idnumber', PARAM_ALPHA);
  • // $sort = $sort == 'firstname' ? 'firstname' : 'lastname'; -- Comment out this line.
  • Insert at line 149 : $idnumber = "<a href=\"report.php?id=$id&amp;sort=idnumber\">".get_string('idnumber').'</a>';
  • Insert these lines at approx. line 164 :
    $table->head[] = $idnumber;
    $table->align[] = 'left';
    $table->size[] = '';
  • Insert at approx. line 195-199: $table->data[$student->id][] = "<a href=\"view.php?id=$id&amp;student={$student->id}\">".$student->idnumber.'</a>';
attendances.php
  • $sort = optional_param('sort', 'idnumber', PARAM_ALPHA);
  • // $sort = $sort == 'firstname' ? 'firstname' : 'lastname'; -- Comment out this line (at 105).
  • Insert at line 130-131 : $idnumber = "<a href=\"report.php?id=$id&amp;sort=idnumber\">".get_string('idnumber').'</a>';
  • Insert these lines at approx. line 150 :
    $table->head[] = $idnumber;
    $table->align[] = 'left';
    $table->size[] = '';
  • Insert at approx. line 168-171: $table->data[$student->id][] = "<a href=\"view.php?id=$id&amp;student={$student->id}\">".((!$att && $update) ? '<font color="red"><b>' : '').$student->idnumber.((!$att && $update) ? '</b></font>' : '').'</a>';




This was done last summer
by Aurelijus Astrauskas - Friday, March 27, 2009, 07:16 PM
 

Hi,

I'm getting some error about MySQL syntax while updating this plugin.

I'm updating 1.9.2 to 1.9.4. I tried both ways - first update the plugin, then Moodle and vice-versa. Both cases produce same results. The logs are bellow.

It is testing environment so it is not a big problem but for future it would be good to know what it could cause.

=======
(mysql): UPDATE mdl_attendance_log SET statusid = 13, statusset = '13,14,15,16' WHERE sessionid IN () AND status = 'P'
1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND status = 'P'' at line 3

ADOConnection._Execute(UPDATE mdl_attendance_log
SET statusid = 13, statusset = '13,14,15,16'
WHERE sessionid IN () AND status = ..., false) % line 891, file: adodb.inc.php
ADOConnection.Execute(UPDATE mdl_attendance_log
SET statusid = 13, statusset = '13,14,15,16'
WHERE sessionid IN () AND status = ...) % line 89, file: dmllib.php
execute_sql(UPDATE mdl_attendance_log
SET statusid = 13, statusset = '13,14,15,16'
WHERE sessionid IN () AND status = ...) % line 177, file: upgrade.php
xmldb_attforblock_upgrade(2008062701, Object:stdClass) % line 341, file: adminlib.php
upgrade_activity_modules(http://MYHOSTNAME/admin/index.php) % line 433, file: index.php

ErrorScroll to next warning

(mysql): UPDATE mdl_attendance_log SET statusid = 14, statusset = '13,14,15,16' WHERE sessionid IN () AND status = 'A'
1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND status = 'A'' at line 3

ADOConnection._Execute(UPDATE mdl_attendance_log
SET statusid = 14, statusset = '13,14,15,16'
WHERE sessionid IN () AND status = ..., false) % line 891, file: adodb.inc.php
ADOConnection.Execute(UPDATE mdl_attendance_log
SET statusid = 14, statusset = '13,14,15,16'
WHERE sessionid IN () AND status = ...) % line 89, file: dmllib.php
execute_sql(UPDATE mdl_attendance_log
SET statusid = 14, statusset = '13,14,15,16'
WHERE sessionid IN () AND status = ...) % line 177, file: upgrade.php
xmldb_attforblock_upgrade(2008062701, Object:stdClass) % line 341, file: adminlib.php
upgrade_activity_modules(http://MYHOSTNAME/admin/index.php) % line 433, file: index.php

Scroll to previous warningErrorScroll to next warning
(mysql): UPDATE mdl_attendance_log SET statusid = 15, statusset = '13,14,15,16' WHERE sessionid IN () AND status = 'L'
1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND status = 'L'' at line 3

ADOConnection._Execute(UPDATE mdl_attendance_log
SET statusid = 15, statusset = '13,14,15,16'
WHERE sessionid IN () AND status = ..., false) % line 891, file: adodb.inc.php
ADOConnection.Execute(UPDATE mdl_attendance_log
SET statusid = 15, statusset = '13,14,15,16'
WHERE sessionid IN () AND status = ...) % line 89, file: dmllib.php
execute_sql(UPDATE mdl_attendance_log
SET statusid = 15, statusset = '13,14,15,16'
WHERE sessionid IN () AND status = ...) % line 177, file: upgrade.php
xmldb_attforblock_upgrade(2008062701, Object:stdClass) % line 341, file: adminlib.php
upgrade_activity_modules(http://MYHOSTNAME/admin/index.php) % line 433, file: index.php

Scroll to previous warningErrorScroll to next warning
(mysql): UPDATE mdl_attendance_log SET statusid = 16, statusset = '13,14,15,16' WHERE sessionid IN () AND status = 'E'
1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND status = 'E'' at line 3

ADOConnection._Execute(UPDATE mdl_attendance_log
SET statusid = 16, statusset = '13,14,15,16'
WHERE sessionid IN () AND status = ..., false) % line 891, file: adodb.inc.php
ADOConnection.Execute(UPDATE mdl_attendance_log
SET statusid = 16, statusset = '13,14,15,16'
WHERE sessionid IN () AND status = ...) % line 89, file: dmllib.php
execute_sql(UPDATE mdl_attendance_log
SET statusid = 16, statusset = '13,14,15,16'
WHERE sessionid IN () AND status = ...) % line 177, file: upgrade.php
xmldb_attforblock_upgrade(2008062701, Object:stdClass) % line 341, file: adminlib.php
upgrade_activity_modules(http://MYHOSTNAME/admin/index.php) % line 433, file: index.php

Scroll to previous warningErrorScroll to next warning
(mysql): SELECT * FROM mdl_attendance_sessions WHERE id IN ()
1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1

ADOConnection._Execute(SELECT * FROM mdl_attendance_sessions WHERE id IN (), false) % line 891, file: adodb.inc.php
ADOConnection.Execute(SELECT * FROM mdl_attendance_sessions WHERE id IN ()) % line 683, file: dmllib.php
get_recordset_sql(SELECT * FROM mdl_attendance_sessions WHERE id IN (), , ) % line 609, file: dmllib.php
get_recordset_select(attendance_sessions, id IN (), , *, , ) % line 638, file: dmllib.php
get_recordset_list(attendance_sessions, id, null, , *, , ) % line 949, file: dmllib.php
=====

There are a few more same type errors with just different four number sets, like

statusset = '17,18,19,20'
statusset = '25,26,27,28'

Aurelijus


Picture of Juan Carlos Rodríguez-del-Pino
by Juan Carlos Rodríguez-del-Pino - Sunday, March 29, 2009, 09:53 AM
 

<!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4; mso-font-charset:1; mso-generic-font-family:roman; mso-font-format:other; mso-font-pitch:variable; mso-font-signature:0 0 0 0 0 0;}@font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4; mso-font-charset:0; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:-1610611985 1073750139 0 0 159 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-unhide:no; mso-style-qformat:yes; mso-style-parent:""; margin-top:0cm; margin-right:0cm; margin-bottom:10.0pt; margin-left:0cm; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi; mso-fareast-language:EN-US;}p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph {mso-style-priority:34; mso-style-unhide:no; mso-style-qformat:yes; margin-top:0cm; margin-right:0cm; margin-bottom:10.0pt; margin-left:36.0pt; mso-add-space:auto; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi; mso-fareast-language:EN-US;}p.MsoListParagraphCxSpFirst, li.MsoListParagraphCxSpFirst, div.MsoListParagraphCxSpFirst {mso-style-priority:34; mso-style-unhide:no; mso-style-qformat:yes; mso-style-type:export-only; margin-top:0cm; margin-right:0cm; margin-bottom:0cm; margin-left:36.0pt; margin-bottom:.0001pt; mso-add-space:auto; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi; mso-fareast-language:EN-US;}p.MsoListParagraphCxSpMiddle, li.MsoListParagraphCxSpMiddle, div.MsoListParagraphCxSpMiddle {mso-style-priority:34; mso-style-unhide:no; mso-style-qformat:yes; mso-style-type:export-only; margin-top:0cm; margin-right:0cm; margin-bottom:0cm; margin-left:36.0pt; margin-bottom:.0001pt; mso-add-space:auto; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi; mso-fareast-language:EN-US;}p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxSpLast {mso-style-priority:34; mso-style-unhide:no; mso-style-qformat:yes; mso-style-type:export-only; margin-top:0cm; margin-right:0cm; margin-bottom:10.0pt; margin-left:36.0pt; mso-add-space:auto; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi; mso-fareast-language:EN-US;}span.hw {mso-style-name:hw; mso-style-unhide:no;}.MsoChpDefault {mso-style-type:export-only; mso-default-props:yes; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi; mso-fareast-language:EN-US;}.MsoPapDefault {mso-style-type:export-only; margin-bottom:10.0pt; line-height:115%;}@page Section1 {size:612.0pt 792.0pt; margin:70.85pt 3.0cm 70.85pt 3.0cm; mso-header-margin:36.0pt; mso-footer-margin:36.0pt; mso-paper-source:0;}div.Section1 {page:Section1;} /* List Definitions */ @list l0 {mso-list-id:712538618; mso-list-type:hybrid; mso-list-template-ids:-859413898 201981969 201981977 201981979 201981967 201981977 201981979 201981967 201981977 201981979;}@list l0:level1 {mso-level-text:"%1\)"; mso-level-tab-stop:none; mso-level-number-position:left; text-indent:-18.0pt;}ol {margin-bottom:0cm;}ul {margin-bottom:0cm;}-->

Lowpriority bugs and fixes

Hi Dmitry,

attendancemodule works fine for me (with some hacking), but I have found some lowpriority bugs (moodle 1.9 v2.1.0 - 28 feb 2009):

1) Description: server logs “PHP Notice: Undefined variable: result in/var/www/html/moodle/mod/attforblock/lib.php on line 177 …”

Bug: Function “attforblock_user_outline” returns $result, but when a studenthas no attendance record $result is not set.

Fix: add “$result=false;” at line 166

2) Description: server logs “PHP Notice: Undefined index: 0 in/var/www/html/moodle/mod/attforblock/locallib.php on line 86 …”

Bug: At get_grade there are statusidof (may be) a removed status

Work around:

Change line 86 by

if(isset($stat_grades[$log->statusid])){

$result +=$stat_grades[$log->statusid];

}

3) Description: Action links at useractivity report logs goes to a “404 Not found page”

Bug: The function add_to_log is misused by the module (12places)

Fix: For every call to add_to_log second parameter ‘attendance’ must be replacedby ‘attforblock’ and fourth parameter must be change by removing the prefix ‘/mod/attforblock/’

Bestregards.

Picture of Kevin Broderick
by Kevin Broderick - Saturday, April 11, 2009, 02:20 AM
 

After many tries I finally got the attendance module to install and be recognized. However when I open the attendence activity all the headings contain odd characters. I reinstalled the language files but still no luck. I have attached a copy of the screen shot If anyone can help me out. Thanks in advance for any help.

attendanceforthecourse :: 6th Grade Homeroom - Mr. Broderick

Help

# Date Time duration You can add only one module Attendance per course. Actions Select

1 strftimedmyw strftimehm 00 min

nodescription

2 strftimedmyw strftimehm 00 min

nodescription

3 strftimedmyw strftimehm 00 min nodescription

4 strftimedmyw strftimehm 00 min nodescription

5 strftimedmyw strftimehm 00 min nodescription

6 strftimedmyw strftimehm 00 min nodescription

7 strftimedmyw strftimehm 00 min nodescription

8 strftimedmyw strftimehm 00 min nodescription

9 strftimedmyw strftimehm 00 min nodescription

10 strftimedmyw strftimehm 00 min nodescription

11 strftimedmyw strftimehm 00 min nodescription

Picture of Dave D
by Dave D - Saturday, October 31, 2009, 02:10 AM
 

Is there any way that, when sorting by Surname, and encountering students with the same Surname, that their First Name would be considered so Amy Smith would appear before Bruce Smith if sorting by Surname? Currently, our version (2009022400) doesn't - Bruce Smith appears prior to Amy Smith when sorting by Surname.

Picture of lakoda JIN
by lakoda JIN - Wednesday, December 9, 2009, 11:26 PM
 

can any body tell me how we can install it in our moodle???

Picture of Dmitry Pupinin
by Dmitry Pupinin - Thursday, January 14, 2010, 04:41 PM
 

Hi lakoda!
You can install this like any other module:
http://docs.moodle.org/en/Installing_contributed_modules_or_plugins

Picture of Said Bishir
by Said Bishir - Monday, January 18, 2010, 02:48 PM
 

Thanks Dmitry  for this module

I have a note regarding the report. When you specify weeks view it shows sum of all sessions attendance not the sum of the week's sessions

see the screenshot

 so is there anyway to have only the sum of corresponding week and  may be a new column for the total of  all sessions?

 

Regards

 

Said Bishir

Picture of Said Bishir
by Said Bishir - Monday, January 18, 2010, 02:51 PM
 

the screenshot

att

http://i958.photobucket.com/albums/ae65/said_eng/att.jpg

Picture of Gwynfor Rees
by Gwynfor Rees - Saturday, January 23, 2010, 09:43 AM
 

This is my first attempt at installing a Module. After uploading and unzipping
I get the following error message when I log on as admin



Module blocks: /home/ysgol/public_html/dev2009/mod/blocks/version.php was not readable

Module mod: /home/ysgol/public_html/dev2009/mod/mod/version.php was not readable


Anyone got a clue how to fix or remove. I've stupidly installed it on a production server.

BFN

Gwynfor Rees

Picture of Gwynfor Rees
by Gwynfor Rees - Saturday, January 23, 2010, 10:02 AM
 

I've solved my previous problem as I had unzipped the files into the wrong directory.

I'd better not mess around with the system and teach at the same time


Page: ()  1 ...  335  336  337  338  339  340  341  342  343  344  345  346  347  348  349  350  351  352 ...593   ()