## Plagiarism: Turnitin plagiarism plugin

plagiarism_turnitin
Maintained by John McGettrick, Dan Marsden, Paul Dawson, Alex McLarty, David Winn, Caroline Westgarth, David Hatton
Turnitin is a commercial plagiarism detection system which requires a paid subscription to use - This Plugin integrates with the existing Moodle Assignment module.
1k
1k
10
WARNING: This plugin replaces Dan Marsden's plugin with a new version developed by Turnitin

The plugin developed by Dan Marsden has been deprecated for the version now available here.
This plugin shares code with the new mod_turnitintool2 plugin which must be installed at the same time.

The new version has a number of major benefits compared with Dan's including:
• Fully supported by Turnitin for all issues that occur.
• Uses a new improved API to connect to Turnitin.
• Better support for the rest of Turnitin's product range (Grademark, Writecycle etc)
• Works with the new Moodle block developed by Turnitin

Dan Marsden's original plugin
Dan Marsden's plugin is supported for all versions up to Moodle 2.7 to allow people time to migrate to the new version but will not be supported past Moodle 2.7 - Dan's plugin is still available from his github account here: https://github.com/danmarsden/moodle-plagiarism_turnitin along with documentation here: http://docs.moodle.org/25/en/Plagiarism_Prevention_Turnitin_Settings

### Contributors

Dan Marsden: Previous plugin maintainer
Caroline Westgarth

• Sat, Dec 5, 2015, 12:01 AM
Hi,

My university has been using the 2.8 version of the plugin and found out recently that the latest version we upgraded to (2015040111) broke the submit functionality. We found that it had to do with the use of the mime_content_type() function on line 540 of sdk/lti.class.php. Our solution was to activate a PHP extension called php_fileinfo.dll (one not required by Moodle). After that it seemed to work just fine!

Just thought I would pass this along.
• Mon, Dec 7, 2015, 4:44 PM
Hi Scott, thanks for pointing this out. We'll get this fixed for the next release.
• Tue, Feb 23, 2016, 3:02 PM
Is anyone else getting errors with the latest version 201611103? I am seeing this in php_errors.log:
PHP Parse error: syntax error, unexpected '=', expecting ')' in /storage/www/moodle/plagiarism/turnitin/lib.php on line 2387

I had to disable the conditional checking for the empty value and revert to the method used in 201611102. Am I missing something in my configuration perhaps?
• Tue, Feb 23, 2016, 5:16 PM
Hi @mkpelletier, as per our conversation on github that seems to only occur with PHP versions < 5.5.

We'll replace the offending line with:

$textcontent =$file->get_content();
if (empty(\$textcontent)) {

And release a patch for that today.
• Wed, Mar 9, 2016, 7:38 PM
Hi,
Maybe I have found a mistake on version 3.0, component "plagiarism_turnitin", string "pp_digital_receipt_message". There you can read "from from", twice. Is that correct?
Thank you,
• Wed, Mar 9, 2016, 7:46 PM
Hi Maria,
You are correct, thanks for pointing it out. Small typing error on our part. we'll get it changed.
• Thu, Mar 10, 2016, 1:59 PM
Hi,
I am installing the plagiarism_turnitin on 2.6+ moodle, it gives an error the following error. Please help
"Oops! It did it again
Moodle deployment utility had a trouble with your request. See the docs page and the debugging information for more details.
exception 'checksum_exception' with message 'MD5 checksum failed' in E:\wamp\www\mdeploy.php:770
Stack trace:
#0 E:\wamp\www\mdeploy.php(1535): worker->execute()
#1 {main}"
• Fri, Mar 11, 2016, 8:27 PM
Hi RabNawaz, I've just tried this out on a local install and it worked fine. Is there more information in your server logs or just the checksum exception?
• Fri, Mar 18, 2016, 11:57 PM
• Fri, May 20, 2016, 8:37 PM
A suggestion for future development is "smart filtering".
Is it possible that the Turnitin options are only available if appropriate submission types are used (i.e. File submissions) . This would prevent any confusion over expectation that Turnitin could check other submission types (e.g. text, video, mahara)
Thanks.
• Thu, Jun 16, 2016, 5:40 PM
Hi,

Do you have an estimate about when this plugin will be available to Moodle 3.1?

Regards

Oswaldo Rojas
• Sat, Sep 10, 2016, 2:58 AM
We are having issues with Moodle 3.1 timing out student attempts to access their feedback from the oline grader tool. Any thoughts as to what is causing this error? Teachers can still grade and access their feedback, but students cannot. It is not a permission issue.
• Mon, Sep 12, 2016, 8:35 PM
Hi Corey, what plugin version are you using? Is it happening consistently?
• Mon, Sep 12, 2016, 9:27 PM
Hey John it's build Turnitin Assignment 2.6+ 2016030101 . It happens continuously for all students, but not the teachers.
• Tue, Sep 13, 2016, 6:30 PM
Hey Corey, it is strange that this is affecting only students. Can you contact product support and we'll get some details off you?