<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://docs.moodle.org/21/en/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Rmeske</id>
	<title>MoodleDocs - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://docs.moodle.org/21/en/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Rmeske"/>
	<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/Special:Contributions/Rmeske"/>
	<updated>2026-10-20T13:25:36Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Custom_SQL_queries_report&amp;diff=96040</id>
		<title>Custom SQL queries report</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Custom_SQL_queries_report&amp;diff=96040"/>
		<updated>2012-06-21T22:45:47Z</updated>

		<summary type="html">&lt;p&gt;Rmeske: Correct link to the plugins directory&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Sitewide reports}}&lt;br /&gt;
Created by The Open University&lt;br /&gt;
&lt;br /&gt;
This admin report plugin allows Administrators to set up arbitrary database queries to act as ad-hoc reports. Reports can be of two types: either run on demand, or scheduled to run automatically. Other users with the right capability can go in and see a list of queries that they have access to. Results can be viewed on-screen or downloaded as CSV.&lt;br /&gt;
&lt;br /&gt;
==Installing this report==&lt;br /&gt;
&lt;br /&gt;
Follow the generic [[Installing plugins]] documentation.&lt;br /&gt;
&lt;br /&gt;
==Screen shots==&lt;br /&gt;
&lt;br /&gt;
Here are two example screen shots, showing the two main screens.&lt;br /&gt;
&lt;br /&gt;
[[Image:Custom_report_list.png|thumb|none|600px|The list of available reports]]&lt;br /&gt;
[[Image:Custom_report.png|thumb|none|600px|The results of running one of the reports]]&lt;br /&gt;
&lt;br /&gt;
(Note, these screen shots are in the OU theme, not the standard Moodle theme, and iCMA is OU-jargon for quiz.)&lt;br /&gt;
&lt;br /&gt;
==Interface for normal users==&lt;br /&gt;
&lt;br /&gt;
===List of available queries===&lt;br /&gt;
&lt;br /&gt;
Users with the report/customsql:view capability can access the list of reports in the admin block. Each query is accessible only to a certain people. There are three levels of access:&lt;br /&gt;
* Available to any one who can access the report at all (those with report/customsql:view).&lt;br /&gt;
* Available to people who are able to see other system reports (those with moodle/site:viewreports)&lt;br /&gt;
* Available to administrators only (those with moodle/site:config)&lt;br /&gt;
&lt;br /&gt;
When you go to the list, it will only show the queries you have access to. There is a note beside each query saying when it was last run, and how long it took to generate.&lt;br /&gt;
&lt;br /&gt;
The list shows on-demand and scheduled queries separately.&lt;br /&gt;
&lt;br /&gt;
===Running an on-demand query===&lt;br /&gt;
&lt;br /&gt;
To run an on-demand query, click on its name in the list of queries.&lt;br /&gt;
&lt;br /&gt;
The query will be run, and the results will be displayed as a table. Any URLs in the table will automatically be made into hyperlinks.&lt;br /&gt;
&lt;br /&gt;
A description of the query may appear above the table.&lt;br /&gt;
&lt;br /&gt;
The summary of when the query was run and how long it took is shown at the bottom, along with a link to download the CSV file (for example to get the data into Excel) and a link back to the list of all available queries.&lt;br /&gt;
&lt;br /&gt;
===Viewing the results of scheduled queries===&lt;br /&gt;
&lt;br /&gt;
Scheduled queries can work in one of two ways. Either each run of the report generates and entire table of reasults, or each run just creates one line of results, and the report builds up a row at a time.&lt;br /&gt;
&lt;br /&gt;
When you click the name in the list of queries, you get taken to a display of the latest results, just like in the on-demand case.&lt;br /&gt;
&lt;br /&gt;
However, if each scheduled run generates a complete report, then at the bottom of a page there will be a list of all the previous runs of the report, so that you can go and see how the report changed over time.&lt;br /&gt;
&lt;br /&gt;
==Interface for administrators==&lt;br /&gt;
&lt;br /&gt;
Administrators (that is, users with report/customsql:definequeries) see everything that other users see, but with some additions.&lt;br /&gt;
&lt;br /&gt;
===Additional controls in the staff interface===&lt;br /&gt;
&lt;br /&gt;
Administrators get shown who each report in the list is available to.&lt;br /&gt;
&lt;br /&gt;
They also get an edit and a delete icon next to each query.&lt;br /&gt;
&lt;br /&gt;
There is an &#039;&#039;&#039;Add new query button&#039;&#039;&#039; at the end of the list of queries.&lt;br /&gt;
&lt;br /&gt;
When viewing a particular query, Administrators get an edit and a delete link underneath the table of results.&lt;br /&gt;
&lt;br /&gt;
===Adding or editing a query===&lt;br /&gt;
&lt;br /&gt;
When you click the &#039;&#039;&#039;Add new query button&#039;&#039;&#039;, you get taken to an editing form that lets you define the query.&lt;br /&gt;
&lt;br /&gt;
You must give the query a name.&lt;br /&gt;
&lt;br /&gt;
You can optionally enter a description that is displayed above the results table. You should use this to explain what the results of the query mean.&lt;br /&gt;
&lt;br /&gt;
You must enter the SQL to generate the results you want displayed. This must be an SQL select statement. You must use the prefix prefix_ for table names. It should not be possible to enter any SQL that would alter the contents of the database.&lt;br /&gt;
&lt;br /&gt;
You choose who you want the query to be accessible to.&lt;br /&gt;
&lt;br /&gt;
You choose whether the query should be run on-demand or scheduled weekly or monthly. If the report is scheduled, you can say whether the each run returns one row to be added to a single table, or whether each run generates a separate table.&lt;br /&gt;
&lt;br /&gt;
When you save the new query, the SQL is checked to make sure that it will execute without errors. If you have said that the report will only return a single row, this is also checked.&lt;br /&gt;
After saving the query, if this was a manual query, you are taken to the query results page, so you can see what the results look like. If it was an automatic query or if you cancel the form, you are taken to the list of available queries.&lt;br /&gt;
&lt;br /&gt;
Editing an existing query uses the same form as for adding a new query, but to change the properties of an existing query.&lt;br /&gt;
&lt;br /&gt;
Note that at the OU, weeks start on Saturday. If you don&#039;t like that, there is a fairly obvious constant to hack at the top of locallib.php.&lt;br /&gt;
&lt;br /&gt;
===Deleting a query===&lt;br /&gt;
&lt;br /&gt;
When you click the delete icon or link for a query, you are taken to a confirmation page that shows you SQL of the query you are about to delete. The query is only deleted if you click Yes on the confirmation page.&lt;br /&gt;
&lt;br /&gt;
After deleting a query, you are taken back to the list of queries.&lt;br /&gt;
&lt;br /&gt;
==Share your interesting queries here==&lt;br /&gt;
&lt;br /&gt;
If you come up with any interesting SQL to custom reports, you can share it here.&lt;br /&gt;
&lt;br /&gt;
===Quiz attempts in the last week/month===&lt;br /&gt;
&lt;br /&gt;
Set this up as a scheduled report:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code sql&amp;gt;&lt;br /&gt;
SELECT COUNT(*)&lt;br /&gt;
FROM prefix_quiz_attempts&lt;br /&gt;
WHERE timefinish &amp;gt; %%STARTTIME%%&lt;br /&gt;
    AND timefinish &amp;lt;= %%ENDTIME%%&lt;br /&gt;
    AND preview = 0&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This &#039;&#039;&#039;must&#039;&#039;&#039; be set up as a &#039;&#039;&#039;Scheduled, on the first day of each week&#039;&#039;&#039; or &#039;&#039;&#039;Scheduled, on the first day of each month&#039;&#039;&#039; report, or it will not work.&lt;br /&gt;
&lt;br /&gt;
===Usage summary===&lt;br /&gt;
&lt;br /&gt;
This report shows roughly the same usage statistics that are sent to moodle.org when you register your site. The ones that are aggregated at http://moodle.org/stats/. (The only difference is that the registration form does not do AND confirmed = 1 for some reason.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code sql&amp;gt;&lt;br /&gt;
SELECT&lt;br /&gt;
(SELECT COUNT(id) FROM prefix_course) - 1 AS courses,&lt;br /&gt;
(SELECT COUNT(id) FROM prefix_user WHERE deleted = 0 AND confirmed = 1) AS users,&lt;br /&gt;
(SELECT COUNT(DISTINCT ra.userid)&lt;br /&gt;
 FROM prefix_role_capabilities rc&lt;br /&gt;
 JOIN prefix_role_assignments ra ON ra.roleid = rc.roleid&lt;br /&gt;
 WHERE rc.capability IN (&#039;moodle/course:upd&#039; || &#039;ate&#039;, &#039;moodle/site:doanything&#039;)) AS teachers,&lt;br /&gt;
(SELECT COUNT(id) FROM prefix_role_assignments) AS enrolments,&lt;br /&gt;
(SELECT COUNT(id) FROM prefix_forum_posts) AS forum_posts,&lt;br /&gt;
(SELECT COUNT(id) FROM prefix_resource) AS resources,&lt;br /&gt;
(SELECT COUNT(id) FROM prefix_question) AS questions&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There are two interesting queries in this blog post [http://tjhunt.blogspot.com/2010/03/when-do-students-submit-their-online.html When do students submit their online tests?].&lt;br /&gt;
&lt;br /&gt;
===Monthly Usage by Role===&lt;br /&gt;
&lt;br /&gt;
This report shows a distinct count of users by their role, accessing your site.  Each instance of user and role is counted once per month, no matter how many courses they access.  We use this to show the total number of students and teachers accessing our site.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code sql&amp;gt;&lt;br /&gt;
SELECT &lt;br /&gt;
month(from_unixtime(`prefix_stats_user_monthly`.`timeend`)) AS calendar_month,&lt;br /&gt;
year(from_unixtime(`prefix_stats_user_monthly`.`timeend`)) AS calendar_year,&lt;br /&gt;
prefix_role.name as user_role,&lt;br /&gt;
COUNT(DISTINCT prefix_stats_user_monthly.userid) AS total_users&lt;br /&gt;
FROM&lt;br /&gt;
prefix_stats_user_monthly&lt;br /&gt;
Inner Join prefix_role_assignments ON prefix_stats_user_monthly.userid = prefix_role_assignments.userid&lt;br /&gt;
Inner Join prefix_context ON prefix_role_assignments.contextid = prefix_context.id&lt;br /&gt;
Inner Join prefix_role ON prefix_role_assignments.roleid = prefix_role.id&lt;br /&gt;
WHERE prefix_context.contextlevel = 50&lt;br /&gt;
AND `prefix_stats_user_monthly`.`stattype` = &#039;activity&#039;&lt;br /&gt;
AND prefix_stats_user_monthly.courseid &amp;lt;&amp;gt;1&lt;br /&gt;
GROUP BY month(from_unixtime(`prefix_stats_user_monthly`.`timeend`)),&lt;br /&gt;
year(from_unixtime(`prefix_stats_user_monthly`.`timeend`)),&lt;br /&gt;
prefix_stats_user_monthly.stattype,&lt;br /&gt;
prefix_role.name&lt;br /&gt;
ORDER BY &lt;br /&gt;
year(from_unixtime(`prefix_stats_user_monthly`.`timeend`)), month(from_unixtime(`prefix_stats_user_monthly`.`timeend`)),&lt;br /&gt;
prefix_role.name&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You must have Statistics turned on to be able to generate any data with this report.&lt;br /&gt;
&lt;br /&gt;
===Show all Quiz results across a site===&lt;br /&gt;
I&#039;m sure someone will be able to improve upon this, but this is a query that will show Quiz results across a site. --[[User:Stuart Mealor|Stuart Mealor]] 22:07, 9 April 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code sql&amp;gt;&lt;br /&gt;
SELECT &lt;br /&gt;
     prefix_grade_items.itemname,&lt;br /&gt;
     prefix_grade_items.grademax,&lt;br /&gt;
     ROUND(prefix_grade_grades.finalgrade, 0) AS finalgrade,&lt;br /&gt;
     prefix_user.firstname,&lt;br /&gt;
     prefix_user.lastname,&lt;br /&gt;
     prefix_user.username&lt;br /&gt;
FROM&lt;br /&gt;
     prefix_grade_grades&lt;br /&gt;
     INNER JOIN prefix_user ON prefix_grade_grades.userid = prefix_user.id&lt;br /&gt;
     INNER JOIN prefix_grade_items ON prefix_grade_grades.itemid = prefix_grade_items.id&lt;br /&gt;
WHERE (prefix_grade_items.itemname IS NOT NULL)&lt;br /&gt;
AND (prefix_grade_items.itemtype = &#039;mod&#039; OR prefix_grade_items.itemtype = &#039;manual&#039;)&lt;br /&gt;
AND (prefix_grade_items.itemmodule = &#039;quiz&#039; OR prefix_grade_items.itemmodule IS NULL)&lt;br /&gt;
AND (prefix_grade_grades.timemodified IS NOT NULL)&lt;br /&gt;
AND (prefix_grade_grades.finalgrade &amp;gt; 0)&lt;br /&gt;
AND (prefix_user.deleted = 0)&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=136484 Custom SQL queries report] forum announcement&lt;br /&gt;
* list of [[ad-hoc contributed reports]]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=153059 Forum post] with some more useful queries.&lt;br /&gt;
* [http://moodle.org/plugins/view.php?plugin=report_customsql Modules and plugins database entry]&lt;br /&gt;
&lt;br /&gt;
[[Category:Contributed_code]]&lt;br /&gt;
&lt;br /&gt;
[[fr:admin/report/customsql/index]]&lt;/div&gt;</summary>
		<author><name>Rmeske</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=SCORM_FAQ&amp;diff=50246</id>
		<title>SCORM FAQ</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=SCORM_FAQ&amp;diff=50246"/>
		<updated>2009-02-05T21:07:07Z</updated>

		<summary type="html">&lt;p&gt;Rmeske: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Scorm}}==How can I create SCORM content?==&lt;br /&gt;
&lt;br /&gt;
See [[Tools for creating SCORM content]] for a list of options.&lt;br /&gt;
==My SCORM Module doesn&#039;t function properly==&lt;br /&gt;
&lt;br /&gt;
* Make sure you are running Moodle 1.9.3 or 1.8.7 or higher, a large number of SCORM related bugs have been fixed in these versions. see [http://tracker.moodle.org/browse/MDL/component/10080?selected=com.atlassian.jira.plugin.system.project:component-changelog-panel Changelog here]&lt;br /&gt;
* Make sure your SCORM object is SCORM compliant - check it in an external SCORM player like [https://docs.moodle.org/en/Tools_for_creating_SCORM_content#Reload Reload] to see if it works there.&lt;br /&gt;
* Post a copy of your SCORM object in the [http://moodle.org/mod/data/view.php?d=50 SCORM Repository] and post a message asking for help in the forums, linking to your SCORM object explaining exactly what you expect to happen, and what is happening instead.&lt;br /&gt;
&lt;br /&gt;
==What version of SCORM is supported?==&lt;br /&gt;
&lt;br /&gt;
* SCORM 1.2 is supported in Moodle 1.9.3 and Moodle 1.8.7 and passes all the tests in the ADL Conformance test suite 1.2..7 for SCORM 1.2. (This is not the same as being certified SCORM 1.2 compliant, but it is the level that must be attained before Moodle can apply for certification.)&lt;br /&gt;
&lt;br /&gt;
* SCORM 2004 is not completely supported in Moodle at this stage. Parts of the API have been implemented, but others such as Navigation and Sequencing have not yet been implemented. It is unlikely at this stage that it will be completed by the time Moodle 2.0 is released, however it is being actively worked on.&lt;br /&gt;
&lt;br /&gt;
* AICC objects are supported in Moodle 1.9.3 or 1.8.7 and higher - unfortunately the availability of publicly accessible AICC objects is limited, so testing has been rather difficult. If you have any AICC objects you are willing to share, please upload them to the [http://moodle.org/mod/data/view.php?d=50 SCORM Repository]&lt;br /&gt;
&lt;br /&gt;
* SCORM 2.0 has not been released yet by ADL, and Moodle does not support any of it at this stage.&lt;br /&gt;
==What you can do to help in the SCORM Forum==&lt;br /&gt;
&lt;br /&gt;
When trying to engage the community to help with a problem you are facing, you will get a better response if you follow a few simple guidelines:&lt;br /&gt;
&lt;br /&gt;
* be prepared to provide a SCORM package that illustrates your problem - if you don&#039;t then it will be very difficult for anyone offering assistance to recreate your situation - a real barrier to help.&lt;br /&gt;
&lt;br /&gt;
* always start your report with version information - preferably the information displayed on the Admin -&amp;gt; Environment panel eg. http://localhost/moodle/admin/environment.php where http://localhost/moodle is your particular prefix.  With this it will be clear how you are running your Moodle instance, on what platform, and at which version.  This will quickly expose issues where a simple upgrade will solve your problem.&lt;br /&gt;
&lt;br /&gt;
==My SCORM doesn&#039;t transfer grades the way I want it to==&lt;br /&gt;
* please see [https://docs.moodle.org/en/SCORM_FAQ#My_SCORM_Module_doesn.27t_function_properly FAQ:My SCORM Module doesn&#039;t function properly]&lt;br /&gt;
* make sure in the update/edit a SCORM object screen, that the &amp;quot;maximum grade&amp;quot; setting is set to what you would expect (most people use 100)&lt;br /&gt;
* make sure in the update/edit a SCORM object screen, that the &amp;quot;grading method&amp;quot; is set to what you would prefer.&lt;br /&gt;
* Much of the way SCORM objects are graded is controlled inside the SCORM Authoring process before it is packaged for use in an LMS like Moodle - make sure all your grading settings are set correctly. Moodle 2.0 contains some new controls that allow a teacher to override the behaviour as set by the SCORM object to allow for greater more flexible control. (see MDL-11501 for more information on this)&lt;br /&gt;
&lt;br /&gt;
==slash arguments warning when I add/update SCORM obects in my course==&lt;br /&gt;
As of Moodle 1.9.3 SCORM forces what is referred to as &amp;quot;slash arguments&amp;quot; - Unfortunately, some PHP servers don&#039;t allow this method and your SCORM objects may not display. This affects IIS 5 and earlier, and some Apache servers. Under IIS 5 and earlier, a workaround using an [http://www.isapirewrite.com/ ISAPI re-write] tool can be used, Apache users should look at this link: https://docs.moodle.org/en/Installation_FAQ#Uploaded_files_give_.22File_not_found.22 - A check on the admin/health.php page is also made to see if slasharguments is supported - visit http://yourmoodlesite/admin/health.php to check to see the status of slasharguments on your server.&lt;br /&gt;
&lt;br /&gt;
==Zlib warning when I add/update SCORM objects in my course==&lt;br /&gt;
Zlib is a php compression setting made in a websites PHP configuration - unfortunately some browsers don&#039;t handle this well (especially Internet Explorer 6) Some webhosts enable this setting, but it will likely cause issues for your users when they attempt to view/use the SCORM object. You will need to contact your server administrator to turn this off. The setting to change in php configuration is &amp;quot;zlib.output_compression&amp;quot;&lt;br /&gt;
&lt;br /&gt;
==Large SCORM package will upload to Moodle, but will not display==&lt;br /&gt;
If you get a blank page after filling in the title, description, and selecting a large SCORM file, it&#039;s likely that the file you are trying to upload is too big for the php zip library to handle - you must use external zip/unzip binaries - see here: https://docs.moodle.org/en/System_paths#Path_to_zip&lt;br /&gt;
&lt;br /&gt;
==How do I clear an attempt for a student==&lt;br /&gt;
To clear attempts by Student:&lt;br /&gt;
&lt;br /&gt;
   1. Go to the SCORM activity and select the link &amp;quot;View reports for x users&amp;quot;&lt;br /&gt;
   2. Select the attempt or attempts you want to clear using the checkbox&lt;br /&gt;
   3. Select Delete in the drop-down box at the bottom of the page&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* Using Moodle [http://moodle.org/mod/forum/view.php?id=1951 SCORM forum]&lt;br /&gt;
&lt;br /&gt;
[[Category:FAQ]]&lt;br /&gt;
[[de:Lernpaket FAQ]]&lt;/div&gt;</summary>
		<author><name>Rmeske</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=SCORM_FAQ&amp;diff=50245</id>
		<title>SCORM FAQ</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=SCORM_FAQ&amp;diff=50245"/>
		<updated>2009-02-05T21:04:56Z</updated>

		<summary type="html">&lt;p&gt;Rmeske: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Scorm}}==How can I create SCORM content?==&lt;br /&gt;
&lt;br /&gt;
See [[Tools for creating SCORM content]] for a list of options.&lt;br /&gt;
==My SCORM Module doesn&#039;t function properly==&lt;br /&gt;
&lt;br /&gt;
* Make sure you are running Moodle 1.9.3 or 1.8.7 or higher, a large number of SCORM related bugs have been fixed in these versions. see [http://tracker.moodle.org/browse/MDL/component/10080?selected=com.atlassian.jira.plugin.system.project:component-changelog-panel Changelog here]&lt;br /&gt;
* Make sure your SCORM object is SCORM compliant - check it in an external SCORM player like [https://docs.moodle.org/en/Tools_for_creating_SCORM_content#Reload Reload] to see if it works there.&lt;br /&gt;
* Post a copy of your SCORM object in the [http://moodle.org/mod/data/view.php?d=50 SCORM Repository] and post a message asking for help in the forums, linking to your SCORM object explaining exactly what you expect to happen, and what is happening instead.&lt;br /&gt;
&lt;br /&gt;
==What version of SCORM is supported?==&lt;br /&gt;
&lt;br /&gt;
* SCORM 1.2 is supported in Moodle 1.9.3 and Moodle 1.8.7 and passes all the tests in the ADL Conformance test suite 1.2..7 for SCORM 1.2. (This is not the same as being certified SCORM 1.2 compliant, but it is the level that must be attained before Moodle can apply for certification.)&lt;br /&gt;
&lt;br /&gt;
* SCORM 2004 is not completely supported in Moodle at this stage. Parts of the API have been implemented, but others such as Navigation and Sequencing have not yet been implemented. It is unlikely at this stage that it will be completed by the time Moodle 2.0 is released, however it is being actively worked on.&lt;br /&gt;
&lt;br /&gt;
* AICC objects are supported in Moodle 1.9.3 or 1.8.7 and higher - unfortunately the availability of publicly accessible AICC objects is limited, so testing has been rather difficult. If you have any AICC objects you are willing to share, please upload them to the [http://moodle.org/mod/data/view.php?d=50 SCORM Repository]&lt;br /&gt;
&lt;br /&gt;
* SCORM 2.0 has not been released yet by ADL, and Moodle does not support any of it at this stage.&lt;br /&gt;
==What you can do to help in the SCORM Forum==&lt;br /&gt;
&lt;br /&gt;
When trying to engage the community to help with a problem you are facing, you will get a better response if you follow a few simple guidelines:&lt;br /&gt;
&lt;br /&gt;
* be prepared to provide a SCORM package that illustrates your problem - if you don&#039;t then it will be very difficult for anyone offering assistance to recreate your situation - a real barrier to help.&lt;br /&gt;
&lt;br /&gt;
* always start your report with version information - preferably the information displayed on the Admin -&amp;gt; Environment panel eg. http://localhost/moodle/admin/environment.php where http://localhost/moodle is your particular prefix.  With this it will be clear how you are running your Moodle instance, on what platform, and at which version.  This will quickly expose issues where a simple upgrade will solve your problem.&lt;br /&gt;
&lt;br /&gt;
==My SCORM doesn&#039;t transfer grades the way I want it to==&lt;br /&gt;
* please see [https://docs.moodle.org/en/SCORM_FAQ#My_SCORM_Module_doesn.27t_function_properly FAQ:My SCORM Module doesn&#039;t function properly]&lt;br /&gt;
* make sure in the update/edit a SCORM object screen, that the &amp;quot;maximum grade&amp;quot; setting is set to what you would expect (most people use 100)&lt;br /&gt;
* make sure in the update/edit a SCORM object screen, that the &amp;quot;grading method&amp;quot; is set to what you would prefer.&lt;br /&gt;
* Much of the way SCORM objects are graded is controlled inside the SCORM Authoring process before it is packaged for use in an LMS like Moodle - make sure all your grading settings are set correctly. Moodle 2.0 contains some new controls that allow a teacher to override the behaviour as set by the SCORM object to allow for greater more flexible control. (see MDL-11501 for more information on this)&lt;br /&gt;
&lt;br /&gt;
==slash arguments warning when I add/update SCORM obects in my course==&lt;br /&gt;
As of Moodle 1.9.3 SCORM forces what is referred to as &amp;quot;slash arguments&amp;quot; - Unfortunately, some PHP servers don&#039;t allow this method and your SCORM objects may not display. This affects IIS 5 and earlier, and some Apache servers. Under IIS 5 and earlier, a workaround using an [http://www.isapirewrite.com/ ISAPI re-write] tool can be used, Apache users should look at this link: https://docs.moodle.org/en/Installation_FAQ#Uploaded_files_give_.22File_not_found.22 - A check on the admin/health.php page is also made to see if slasharguments is supported - visit http://yourmoodlesite/admin/health.php to check to see the status of slasharguments on your server.&lt;br /&gt;
&lt;br /&gt;
==Zlib warning when I add/update SCORM objects in my course==&lt;br /&gt;
Zlib is a php compression setting made in a websites PHP configuration - unfortunately some browsers don&#039;t handle this well (especially Internet Explorer 6) Some webhosts enable this setting, but it will likely cause issues for your users when they attempt to view/use the SCORM object. You will need to contact your server administrator to turn this off. The setting to change in php configuration is &amp;quot;zlib.output_compression&amp;quot;&lt;br /&gt;
&lt;br /&gt;
==Large SCORM package will upload to Moodle, but will not display==&lt;br /&gt;
If you get a blank page after filling in the title, description, and selecting a large SCORM file, it&#039;s likely that the file you are trying to upload is too big for the php zip library to handle - you must use external zip/unzip binaries - see here: https://docs.moodle.org/en/System_paths#Path_to_zip&lt;br /&gt;
&lt;br /&gt;
==How do I clear an attempt for a student==&lt;br /&gt;
To clear attempts by Student:&lt;br /&gt;
&lt;br /&gt;
   1. Go to the SCORM activity and select the link to View reports for x users.&lt;br /&gt;
   2. Select the attempt or attempts you want to clear&lt;br /&gt;
   3. Select Delete in the drop-down box at the bottom of the page.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* Using Moodle [http://moodle.org/mod/forum/view.php?id=1951 SCORM forum]&lt;br /&gt;
&lt;br /&gt;
[[Category:FAQ]]&lt;br /&gt;
[[de:Lernpaket FAQ]]&lt;/div&gt;</summary>
		<author><name>Rmeske</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Development_talk:Progress_tracking&amp;diff=40154</id>
		<title>Development talk:Progress tracking</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Development_talk:Progress_tracking&amp;diff=40154"/>
		<updated>2008-07-21T14:40:53Z</updated>

		<summary type="html">&lt;p&gt;Rmeske: New section: Additional information to include in reports&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I have some doubts :&lt;br /&gt;
&lt;br /&gt;
Goals :&lt;br /&gt;
&lt;br /&gt;
1. According to the new definition, actually how admins need to assign a competency to user? The Admins need to define the competency for the subject first and then assign it to users, isnt it?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Definitions&#039;&#039;&#039;&lt;br /&gt;
1. Required grade : I think this should be &amp;quot;Required value: The minimum scale value that is needed to deem a competency&amp;quot; on the basis that outcomes use scales.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;General Architecture&#039;&#039;&#039;&lt;br /&gt;
&#039;&#039;&#039;Competency based progress tracking&#039;&#039;&#039;&lt;br /&gt;
1. I think users should link with competencies, not with the outcome... Am I correct?&lt;br /&gt;
3. Calculating the final grade may be a issue when we have the literal scales&lt;br /&gt;
4. I didnt get it / do we need this point&lt;br /&gt;
5. should we say outcome or competency?&lt;br /&gt;
6. again, should we say outcome or competency?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Learning plan&#039;&#039;&#039;&lt;br /&gt;
1. Do we need to say &amp;quot;Each user can have a set of either courses to be completed, outcomes to be completed, or a mixture of both. These comprise an individual user&#039;s learning plan.&amp;quot; or &amp;quot;Each user can have a set of either courses to be completed, competencies should be achieved, or a mixture of both. These comprise an individual user&#039;s learning plan.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
2. &amp;quot;Due dates for course completions and outcome completions can be assigned in an individual user&#039;s learning plan.&amp;quot; or &amp;quot;Due dates for course completions and competency completions can be assigned in an individual user&#039;s learning plan.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Learning plan template :&lt;br /&gt;
&lt;br /&gt;
1. &amp;quot;Each template can contain a set of courses to be completed, outcomes to be completed, or a mixture of both.&amp;quot; or &amp;quot;Each template can contain a set of courses to be completed, competencies to be completed, or a mixture of both.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;I didnt do anything on above.&#039;&#039;&#039;&#039;&#039;Italic text&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Also need to do a small change in the last example. I will do that&lt;br /&gt;
&lt;br /&gt;
== Additional information to include in reports ==&lt;br /&gt;
&lt;br /&gt;
With the growing use of eLearning activities based on SCORM it would be beneficial to incorporate some additional data columns into reports beyond the Status, Date and Grade.  The addition of a start date and the time spent in the activity would provide the information needed to evaluate activities in terms of how long an online activity is taking.  In business, an example is a situation in which tax incentives for training employees are provided based on the amount of time spent in training.  &lt;br /&gt;
&lt;br /&gt;
A feature to add, would be the ability to customize a report.  This would require adding the ability to design a report based on a list of data columns available.  This would allow the user to generate a report that includes the data desired. That way, instead of designing different reports to satisfy different needs, the could be just one report engine that is passed the columns to include in report.&lt;br /&gt;
&lt;br /&gt;
--[[User:Ron Meske|Ron Meske]] 09:40, 21 July 2008 (CDT)&lt;/div&gt;</summary>
		<author><name>Rmeske</name></author>
	</entry>
</feed>