Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

Score lock

From MoodleDocs
Revision as of 06:43, 28 August 2006 by John Gschnaidner (talk | contribs)


Score Lock for Moodle 1.6x

by John Gschnaidner Currently I am developing a new version of Activity Locking v2.4. Since there are many different version of this hack, I decided to give this new branch a new name:

Score Lock

Score Lock will have following features:

Already included as in ActivityLocking v2.4:
  • Supports module and section locks
  • Parallel locking and completing modules and sections
  • CSS style and checkbox for locking and completing
  • Hide when locked
  • Language support and help
  • Readme for features and installation
  • SQL commands for DB update
  • Info on how to update the CSS style sheets
New features:
  • Separate data base table instead of the log
  • Block for deleting students log
  • Install and de-install function
  • Source code stored and published for further development

In previous versions of Activity Locking the result, whether a student has accessed a resource has been pulled from the normal log. Because of that, the log files could never have been deleted. Score Lock has its own table, where the accessing of students on resources is saved immediately. With the optional block, teacher can allow the students to delete their own record and/or the teacher may delete all students entries of the course. I am planning on a function, where the teacher can select certain entries of students/activities to be deleted. Score Lock includes a block, that is used for the first part of the installation: Installing its own tables. Since a part of Score Lock is still a hack, it requires for a modification of other tables and files. This is done in a second step, which is done with a switch in the global settings of the block. This will add to existing tables, backup your existing files and install the modified Score Lock files. Even if the installation (de-installation) should fail, you will be able to recover to your original moodle files. The remaining table adds will cause no problem, but will have to be deleted previous to a new installation. There is still one issue: Since Score Lock is part a hack, you can not update your system without destroying Score Lock and on re-installation upgraded features (of moodle) will be lost. I will try to make up for this with updated versions or even a durable solution, but it may take me a while.

Score Lock is scheduled for beta release by middle of September 06 (or earlier, if I manage). I hope, this contribution will help a couple of people, who grew a bit of gray hair over previous releases of Activity Locking.