How can we help?

Home > Integrations > Turnitin Partner Integrations > Moodle > Moodle Direct V2 > Administrators > Installation, Uninstall, and Configuration

Installation, Uninstall, and Configuration

The activity module is installed in the standard Moodle way, instructions on how to install an activity module in Moodle can be found here:
You must first unzip the plugin before it can be installed. The unzipped file will contain a folder labeled turnitintooltwo and a read me file. You will need to copy the turnitintooltwo folder onto the Moodle server in the /mod directory. Copy the folder into the base of the Moodle modules directory into the mod folder. You may have to restart your web server service at this point. You should then navigate to Site Administration > Notifications and follow the on screen instructions.


Note: The Turnitin plugin was not developed with support for third party plugins, therefore it cannot be guaranteed to function fully in conjunction with other assessment plugins. 

Course Migration Block


Note: the turnitintooltwo module must be installed before you can use the turnitin block.

The course migration block plugin enables non-administrator Moodle users to migrate courses from Turnitin to Moodle. To install, all you need to do is copy the /blocks/turnitin directory from the zip file into your Moodle installations /blocks directory. You should then go to Site Administration > Notifications and follow the on screen instructions. 


Once the block is installed, it needs to be added to one or more of your Moodle screens. To do this you should switch Moodle to editing mode, in Moodle 2.5 this is done by clicking the Turn editing on button. Once the Add a block box is showing on screen select Turnitin and the block will be added to the screen. The block can be dragged around and positioned wherever you require.

If you have added a block and the logged-in user is enrolled on a class within your Turnitin account then a link will be displayed detailing how many classes a user has available to migrate. If the user has no courses available to migrate then the block will be hidden.


NoteIf you have added a block and the logged-in user is enrolled on a class within your Turnitin account then a link will be displayed detailing how many classes a user has available to migrate. If the user has no courses available to migrate then the block will be hidden.

Plagiarism Plugin


Note: the turnitintooltwo module must be installed before you can use the turnitin plagiarism plugin.

The Plagiarism Plugin can be used within the following Moodle modules: Assignments, Forums and Workshops. To install, you need to copy the plagiarism/turnitin directory from the zip file in to your Moodle installations /plagiarism directory. Then go to Site Administration > Notifications and follow the on screen instructions. 

The plagiarism plugin needs to be enabled before this plugin can be used. You can do this by going to Site Administration > Advanced Features and ticking the Enable plagiarism plugins box before saving. 

The Plagiarism Plugin will inherit connection settings from the turnitintooltwo module, but you can set default values and whether the plugin is enabled within Moodle modules by going to Site Administration > “Plugins > Plagiarism prevention > Turnitin plagiarism plugin.

Required PHP settings


In order for the module to work correctly you must enable support for cURL in your php.ini file. 

To do this you need to locate the following line in your php.ini file: 





Remove the semi-colon at the start of the line to activate the php cURL extension. Once you remove the semi-colon the web server service needs to be restarted. More information on cURL and more detailed instructions for installing it can be found here:


If you receive an error informing you 'unable to get local issuer certificate' or 'verify that the CA cert is OK' then you may need to install the CA certificate bundle from the cURL repository on GitHub to allow Moodle to read the SSL certificates sent by Turnitin.




Login to Moodle as the Moodle administrator then navigate to /admin to initiate the installation/upgrade process. Once the installation has completed, select Turnitin Assignment 2 within the Plugins | Activity modules menu.



1. Enter the Turnitin Account ID (Required)



2. Enter the Turnitin Shared Key that was set by the Turnitin Administrator (Required)



3. When you input your details your connection to Turntin will automatically be tested. You can test your connection again at any time by clicking Test Turnitin Connection



4. Enter the Turnitin API URL. For UK only Users enter and for all other users enter (Required)


The Turnitin sandbox environment is available for testing the integration: 



5. There are multiple options that you can turn on for each assignment. To enable one of these options find its relevant section and use the drop down menu to select Yes


For example if you want to use Grademark find the 'Use GradeMark' section and then, by using the drop down menu, select Yes. Other options include PeerMark, Translated Matching and ETS. 




6. Select whether to use Anonymous Marking. Anonymous Marking is only available for TurnitinUK users. The default is No



7. Enter a disclaimer/agreement in the text box. Student’s will have to check a box agreeing to this statement before submitting a paper, however if you leave the box completely blank then there won't be any agreement confirmation required during submission.



8. Do not select Yes for the Enable Diagnostic Mode option unless asked to do so by Turnitin support. THis setting helps us to trace any problems with the Turnitin API. The default is No



9. The Student Data Privacy Setting will ensure that student's data is not transmitted to Turnitin via the API if this is a requirement at you institution. If the option is enabled student email addresses will be transformed into a pseudo equivalent for Turnitin API calls. This option cannot be changed if any Moodle user data has already been synched with Turnitin. The default is No.


Note: This process is irreversible and cannot be changed once students have start to enroll and submit to the class.



10. Click on the Save Changes button at the bottom of the screen to save all the entered information


Uninstall the Moodle Plugin


Uninstalling the Moodle plug in is done by going into the Moodle install directly and directly removing the code. 


Removing the Turnitin code will keep the tables within Moodle and if you then reinstall the plugin your assignment links will come back into view. However if you remove the Turnitin Plugin via the Overview section, Moodle will completely forget about the assignments. To recover the assignments once deleted from the Overview section you will have to use the migration tools to import them back into Moodle from Turnitin.

Last modified



(not set)