Issue Details (XML | Word | Printable)

Key: MDL-12588
Type: New Feature New Feature
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Dan Marsden
Reporter: Shaikh Tayyeb
Votes: 0
Watchers: 2
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

Restrict scorm module for particular time duration

Created: 15/Dec/07 02:21 PM   Updated: 30/Nov/08 06:29 AM
Return to search
Component/s: SCORM
Affects Version/s: 1.7.1
Fix Version/s: 2.0

File Attachments: 1. Text File scorm_restrict_time.patch (13 kB)


Participants: Dan Marsden and Shaikh Tayyeb
Security Level: None
QA Assignee: Piers Harding
Resolved date: 28/Nov/08
Affected Branches: MOODLE_17_STABLE
Fixed Branches: MOODLE_20_STABLE


 Description  « Hide
We are using scorm package to uploading a course in moodle, right now when user is enroll fro particular course , he can access the course any time for any duration , there is no restriction. Is there any way to restrict this scorm package access for particular time duration? Means if we set course time for 2 hours, then after 2 hours user should not allow accessing that course.

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Dan Marsden made changes - 24/Jun/08 07:07 AM
Field Original Value New Value
Assignee Roberto Pinna [ upo ] Nobody [ nobody ]
Dan Marsden made changes - 24/Jun/08 07:33 AM
Assignee Nobody [ nobody ] Dan Marsden [ danmarsden ]
Dan Marsden added a comment - 28/Nov/08 04:53 PM
this will only go into 2.0 as it requires db schema changes, but attaching patch for 1.9 for people who want to apply it manually to their installs.

Dan Marsden made changes - 28/Nov/08 04:53 PM
Attachment scorm_restrict_time.patch [ 15762 ]
Dan Marsden made changes - 28/Nov/08 04:54 PM
Fix Version/s 2.0 [ 10122 ]
Dan Marsden committed 10 files to 'Moodle CVS' - 28/Nov/08 06:20 PM
add time restriction MDL-12588 - add ability to restrict the viewing of SCORM objects using a time/date restriction like most other modules already allow.
MODIFY mod/scorm/lib.php   Rev. 1.108    (+11 -1 lines)
ADD lang/en_utf8/help/scorm/timerestrict.html   Rev. 1.1    (+0 -0 lines)
MODIFY mod/scorm/version.php   Rev. 1.61    (+2 -2 lines)
MODIFY mod/scorm/db/install.xml   Rev. 1.12    (+4 -2 lines)
MODIFY mod/scorm/loadSCO.php   Rev. 1.49    (+12 -2 lines)
MODIFY mod/scorm/player.php   Rev. 1.48    (+26 -1 lines)
MODIFY mod/scorm/db/upgrade.php   Rev. 1.24    (+15 -2 lines)
MODIFY lang/en_utf8/scorm.php   Rev. 1.36    (+6 -1 lines)
MODIFY mod/scorm/mod_form.php   Rev. 1.28    (+18 -0 lines)
MODIFY mod/scorm/view.php   Rev. 1.65    (+17 -3 lines)
Dan Marsden added a comment - 28/Nov/08 06:23 PM
this is now in HEAD - piers would you mind testing when you get a chance?

thanks!


Dan Marsden made changes - 28/Nov/08 06:23 PM
QA Assignee piers
Resolution Fixed [ 1 ]
Status Open [ 1 ] Resolved [ 5 ]
Dan Marsden made changes - 29/Nov/08 04:03 PM
Attachment scorm_restrict_time.patch [ 15772 ]
Petr Skoda made changes - 29/Nov/08 09:08 PM
Attachment scorm_restrict_time.patch [ 15772 ]
Petr Skoda made changes - 29/Nov/08 09:08 PM
Attachment scorm_restrict_time.patch [ 15762 ]
Mitsuhiro Yoshida committed 3 files to 'Lang CVS' - 30/Nov/08 01:16 AM
MDL-12588 Translated new strings for scorm.
Burshed up translated strings for choice.
MODIFY ja_utf8/scorm.php   Rev. 1.41    (+6 -1 lines)
MODIFY ja_utf8/choice.php   Rev. 1.17    (+3 -3 lines)
MODIFY ja_utf8/README   Rev. 1.880    (+1 -1 lines)
Dan Marsden made changes - 30/Nov/08 06:29 AM
Attachment scorm_restrict_time.patch [ 15775 ]
Mitsuhiro Yoshida committed 5 files to 'Lang CVS' - 04/Dec/08 07:58 PM
MDL-17479 Translated new strings for category related strings.
MDL-12588 Adding a translated help file for scorm.
MODIFY ja_utf8/role.php   Rev. 1.84    (+3 -1 lines)
MODIFY ja_utf8/error.php   Rev. 1.105    (+3 -1 lines)
MODIFY ja_utf8/README   Rev. 1.883    (+1 -1 lines)
ADD ja_utf8/help/scorm/timerestrict.html   Rev. 1.1    (+0 -0 lines)
MODIFY ja_utf8/moodle.php   Rev. 1.334    (+2 -1 lines)
martignoni committed 1 file to 'Lang CVS' - 07/Dec/08 11:54 PM
MDL-12588 New strings
MODIFY fr_utf8/scorm.php   Rev. 1.36    (+6 -1 lines)