Moodle

A framed-in integration plug-in for all Turnitin services
- Available for use on Turnitin accounts with partner integrations enabled
- Plug-in developed by iParadigms.
- Allows access to all Turnitin services (OriginalityCheck, GradeMark and PeerMark) without having to leave the Moodle environment or log into Turnitin directly.
- Turnitin services are displayed in their own browser frame, using the standard Turnitin user interface.
Versions & Release Notes
Moodle 2.0+ Moodle Basic Tii 2.3.5
Version 2.3.5:
- Bug fix: webservices calls failures because of 404 error on dispatcher.php page
Version 2.3.4:
- Bug fix: plugin fails when debugging is turned on
- Security fix
Version 2.3.3:
- bug fix: blank page when non-editing teacher accesses Turnitin pages
Version 2.3.2:
- Deletion of assignments no longer require the API call to succeed
Version 2.3.1:
- Fixed "Invalid course module ID" when creating/editing assignment
Version 2.3.0:
- Compatible with Moodle 2.0
Moodle 1.9+ Moodle Basic Tii 2.2.2
Version 2.2.2:
- Bug fix: plugin fails when debugging is turned on
- Security fix
Version 2.2.1:
- Deletion of assignments no longer require the API call to succeed
Version 2.2.0:
- Removal of the tem (teacher email) field from being sent over for all the plugins.
- Change in code so that the filling out of assignment information in creating/modifying is now done on the Turnitin side instead of the Moodle side.
Version 2.0.4:
- Intermittent issue with receiving an error screen and message saying "Assignment not found" upon paper submission to a Turnitin Assignment should be addressed. It is an error in the web service call - now it tries to look up the assignment with a more reliable ID and will do it redundantly, trying both methods if one of the lookup methods fail.
- Issue with isadmin() and isteacher() not working properly - those functions have been deprecated and now uses the has_capability() to determine role
- Turnitin Assignment and Moodle gradebook compatibility with Moodle 1.9 and later; creating Turnitin Assignments will now again add a column to the gradebook, and grading through the Turnitin Assignment inbox screen will transfer the grades to the gradebook as well.
- Breadcrumb bars on Turnitin Assignment related pages cleaned up and made more accurate.
- Creating Turnitin Assignments with other assignments in the same course that are hidden should work properly
Known issues:
- When creating a Turnitin Assignment, if you select a specific "Grade category" for the corresponding gradebook column to go under, it does not put the gradebook column in that category, it puts it in the general area, and that setting is not saved in the assignment
- When changing the total number of points available for a Turnitin Assignment that has submissions that have already been graded, and the value is lowered below grades that have been assigned, the grades for those submissions will be set to the max possible score rather than scaled accordingly. Behavior differs between Moodle 1.9 and Moodle 1.9.2+
Moodle 1.8+ but before 1.9 Moodle Basic Tii 2.1.1
Version 2.1.1:
- Deletion of assignments no longer require the API call to succeed
Version 2.1.0:
- Removal of the tem (teacher email) field from being sent over for all the plugins.
- Change in code so that the filling out of assignment information in creating/modifying is now done on the Turnitin side instead of the Moodle side.
Version 2.0.2:
- Breadcrumb bars on Turnitin Assignment related pages cleaned up and made more accurate.
- Creating Turnitin Assignments with other assignments in the same course that are hidden should work properly now.
Moodle before 1.8 Moodle Basic Tii 1.0.10
Version 1.0.10:
- Deletion of assignments no longer require the API call to succeed
Version 1.0.9:
- Removal of the tem (teacher email) field from being sent over for all the plugins.
- Fixed an issue with the plugin with Moodle 1.6 where a function that was used was not defined in Moodle 1.6
Version 1.0.8:
- Creating Turnitin Assignments with other assignments in the same course that are hidden should work properly now.
User Manuals
- Administrator Manual (Updated June 8, 2011)
- Instructor Manual (Updated Sept 27, 2011)
- Student Manual (Updated Sept 2, 2010)
Training Videos
- Creating an Assignment (03:58)
- Accessing the Inbox (00:57)
- Submitting a Paper (03:08)
FAQs
If the answer to your Moodle Basic question is not found here or if you have a more technical question, please view the manuals above or contact the helpdesk. You may also join the Turnitin Moodle Integration discussion group.
What do I do when I get a "could not open XML input" error when trying to delete a Turnitin Assignment?
In order for the Turnitin Assignment to be deleted successfully, please check the following things:
- Make sure that the php.ini file that your apache/Moodle instance uses has the "allow_url_fopen" option set to "On"
- make sure that you have openssl installed on your Moodle Basic server
- To get PHP to use open ssl. The php.ini file needs to have the extension added: extension=php_openssl.dll
I get a blank page when I try to delete a Turnitin Assignment, what do I do?
There are two things to check:
- Make sure that there are no firewall/network restrictions that prevent calls made to Turnitin
- Disable AJAX
- Disable it as the administrator by going into "Appearances" - "AJAX and Javascript" and disable AJAX
- Disable as user by editing the user profile, click "Show Advanced" and disable AJAX and Javascript
What do I do when I get an "Error on API Deletion" message when trying to delete a Turnitin Assignment?
The reason for this error is that the creation of the Turnitin Assignment didn't fully complete. Thus, when you try to delete it, there is no associated assignment ID on the Turnitin side, and the system can't find the right assignment to delete. There are two solutions for this:
- Contact the Turnitin Helpdesk and provide access to each course and Turnitin Assignment that has this deletion problem. We should be able to manually re-associate the ID, which will then allow us to delete it.
- Make some local changes to your code, which will allow you to delete it from the Moodle Basic side even if there are is no association with a Turnitin assignment in our databases.
There is this code in assignment.class.php inside the Turnitin folder on your server which houses all the code when you installed the integration, around line 80 of the file.
$result = true;
if (! delete_records('assignment_submissions', 'assignment', $assignment->id)) {
$result = false;
}
if (! delete_records('assignment', 'id', $assignment->id)) {
$result = false;
}
if (! delete_records('event', 'modulename', 'assignment', 'instance', $assignment->id)) {
$result = false;
}
// Get the cm id to properly clean up the grade_items for this assignment
if (! $cm = get_record('modules', 'name', 'assignment')) {
$result = false;
} else {
if (! delete_records('grade_item', 'modid', $cm->id, 'cminstance', $assignment->id)) {
$result = false;
}
}
return $result;
} else {
error("Error on API Deletion!");
}
If you change that segment to this:
if (! delete_records('assignment_submissions', 'assignment', $assignment->id)) {
$result = false;
}
if (! delete_records('assignment', 'id', $assignment->id)) {
$result = false;
}
if (! delete_records('event', 'modulename', 'assignment', 'instance', $assignment->id)) {
$result = false;
}
// Get the cm id to properly clean up the grade_items for this assignment
if (! $cm = get_record('modules', 'name', 'assignment')) {
$result = false;
} else {
if (! delete_records('grade_item', 'modid', $cm->id, 'cminstance', $assignment->id)) {
$result = false;
}
}
return $result;
What do I do when I am getting errors trying to delete a Moodle Basic course because the Turnitin Assignments inside the course won't delete?
See the code change in question 2.
Why am I able to create Turnitin Assignments in some courses, but in others, I get an error creating a Turnitin Assignment?
One of the possible reasons for this is if you have hidden elements (assignments, Turnitin Assignments, etc.) within the course in which you are trying to create a Turnitin Assignment. Check the course to see if this is the case, and if so, here are some suggestions:
- Un-hide all the hidden elements and try creating the Turnitin Assignment again
- Check the version of Moodle Basic and the version of the Turnitin Integration that you are using. If the version of the Turnitin Integration is older than 1.0.8, upgrade to the latest version for your version of Moodle Basic.
Why am I having trouble getting the Turnitin Moodle Basic plug-in to work with the latest versions of Moodle (v2.3+)?
The Turnitin Moodle Basic Plug-in is available for use with Moodle Assignment Modules that were primarily supported in earlier versions of Moodle (up to Moodle 2.2). This type of Activity Module is still available for use with the latest versions of Moodle (Moodle v2.3 & 2.4), however by default is hidden from the application.
If you are using Moodle 2.3 + with Turnitin Moodle Basic, you will need to unhide the “Assignment 2.2” module type for use. Once this is done, Turnitin may be chosen as an assignment type when instructors set up activities from the Moodle Course home pages.
To unhide the assignment type, navigate to the activity module configuration screens. (Site administration -> Plugins -> Activity modules -> Manage Activities). Click the eye icon on the “Assignment 2.2” row, turning it from a closed eye (hidden) to a open eye (available).
All product, organization and company names are the property of their respective owners.
