Help Center: Installing the Turnitin Moodle Basic Plugin
Follow the steps below to install the Turnitin Plugin into Moodle. The interface to the Turnitin servers uses an ssl connection; openssl must be installed before the Turnitin plugin can be set up.
Language Pack Update for Moodle 1.9.5 and below
The Turnitin assignment type must be added to the language pack for installation. Find the language pack you are using and edit the assignment.php file with the addition below:
.../moodle/lang/<language>/assignment.php
$string[‘typeturnitin’] = ‘Turnitin’ ;
Optionally, you can also add this line:
$string[‘helpturnitin’] = ‘<Your Text Here>’
The text that has been entered will appear to every user after they create or modify a Turnitin assignment as a disclaimer or notice to alert the user to what is the current type of assignment. If it is not set, then [[helpturnitin]] will appear for the user.
Language Pack Update for Moodle 1.9.6 and above
The Turnitin assignment type must be added to the language pack for installation.
$string[‘typeturnitin’] = ‘Turnitin’ ;
Must be added in the following files:
.../moodle/lang/<language>/assignment.php
.../moodle/lang/<language>/assignment_turnitin.php (this file will need to be created if it does not already exist)
Optionally, you can also add this line:
$string[‘helpturnitin’] = ‘<Your Text Here>’
The text that has been entered will appear to every user after they create or modify a Turnitin assignment as a disclaimer or notice to alert the user to what is the current type of assignment. If it is not set, then [[helpturnitin]] will appear for the user.
Configuration of the Interface
.../assignment/type/turnitin/lib.php
// CONFIGURE SECTION FOR SETUP
//=====================================
define(“TII_AID” ,<AID>);
define(“TII_SHAREDKEY” ,<SHARED KEY>);
define(“TII_WEBSERVICEURL” ,<WEBSERVICE>);
define(“TII_LOGGING” ,<LOGGING>);
//=====================================
Example:
// CONFIGUREABLE SECTION FOR SETUP
//=====================================
define(“TII_AID” ,99999);
define(“TII_SHAREDKEY” , ‘testkey’);
define(TII_WEBSERVICEURL” , ‘http://www.inst.ac.uk /moodle/mod/assignment/type/turnitin/ws/dispatcher.php’);
define(TII_LOGGING” ,1);
//=====================================
Additional Information
- TII_AID - The Turnitin Account Identifier. Used to target calls to the Turnitin Account
- TII_SHAREDKEY - The MD5 validation key provided through the configuration of the Turnitin account details
- TII_WEBSERVICEURL - The web service URL on the Moodle installation. The target for interface callbacks. Must point to the dispatcher.php script
- TII_LOGGING - The parameter that switches on and off the TII logging facility in the interface within Moodle. When switched on the API and Web Service calls are logged into the directory as ‘log.txt’
- For more information on downloading the Turnitin Moodle integration Plugin, please view our article on downloading CMS integration plugins
- For more information about the Turnitin Moodle Integration, please view the Turnitin Moodle Integration Manual
Additional Resources
- Product Walkthrough
- We offer live, online 45-minute training sessions six times weekly. Check the online schedule. Join us and bring your questions!
- Support, Services and Training
- Visit Support, Services and Training for documentation and videos about Turnitin's services.