Currently Turnitin can be integrated into Moodle using a number of solutions. Here at Turnitin we have been busy with a number of projects which will allow us to hopefully make the choices a little easier and will allow us to give more accurate support and provision on the full suite of Turnitin features.
The are currently three options for people wanting to integrate Turnitin into Moodle:
1. Moodle Basic - A framed in 'shallow' integration that allows users to be single signed into Turnitin from a standard (2.2) Moodle Assignment type.
2. Moodle Direct - A custom contributed activity module that gives users a workflow / UI that is seperate from the standard Moodle activities. Moodle Direct hooks into various Moodle features such as the GradeBook, groups and groupings, user enrollments / permissions, calendar and my Moodle screens. The concept behind Moodle Direct is to provide the Turnitin experience from within the Moodle environment.
3. Moodle Plagiarism Plugin - A plagiarism plug in supported as a plug in from Moodle 2+ and as a patch in Moodle 1.9. The plug in tightly incorporates plagiarism functionality from Turnitin into a number of standard Moodle activities, most notably the assignment activity. This allows users to stay in the Moodle standard workflow and send author's work to the plagiarism detection service via the API using background scheduled tasks.
There are a number of advantages / disadvantages when using any of the three solutions. In order to address the disadvantages we are attempting to combine the offerings into a bundle solution that will allow you to choose from option 2 and 3 above in one contributed offering.
The distinct advantage of the Moodle Basic offering is in the fact that it supports the full suite of tools available through Turnitin. This is acheived by 'single signing' users into the actual Turnitin product. Up to now it has not been possible to provide some of those features through the API and this has meant Basic has had some distinct advantages. Specifically things that couldn't be offered other than through Moodle Basic are PeerMark and Rubric / Quickmark Management screens. Rubric / Quickmark management can be acheived through the Turnitin document viewer but it is often advantageous to set up rubrics and quickmarks ahead of submission time, so while it is currently possible to do this through the plug in / Moodle Direct it is not always ideal.
To enable us to provide the full suite of tools through Moodle Direct and the plagiarism plug in we have built a new set of API tools / SDKs. Using that new suite of tools it is our intention to provide a new offering that bundles the plug in and Direct and offers the missing features up to now available only through Basic. The APIs / SDKs are nearing completion and the work on the new Moodle Direct v2 is underway. We are aiming to have a beta program for a selected number of customers available from around the end of April to test the Moodle Direct v2 bundle and currently have a production release date scheduled in for late summer 2013.
We have a very long term end of life plan for the legacy API which we hope over time we can completely replace with our new API offerings, we don't have any dates planned currently as for when this end of life will be and we want to slowly migrate our various integrations over to the new APIs over time. The end of life for the legacy API and integrations that rely on it will be based on customer / integration demand and we will communicate any date we land on ahead of time in the hopes that it will allow our customers time to migrate should they need to. Moodle Basic depends on the legacy API and Moodle 2.2 assignment types, it is also our intention to deprecate that integration over time, again the timing for the deprecation of that integration will be heavily influenced by customer feedback and we will communicate any dates we arrive at well ahead of time in the hopes that customers will be able to plan their migration away.
In order to assist in the migration away from Moodle Basic we are building in some migration features in Moodle Direct that will allow users of Moodle Basic to migrate the assignments they have currently over to Moodle Direct. Along with this feature the following features are also planned for Moodle Direct version 2:
1. PeerMark support in Moodle Direct activities
2. GradeMark support in Moodle Plagiarism plug in
3. Rubric Management in Moodle Direct activities
4. Migration feature to allow users to 'pull down' assignments directly from Turnitin
5. Bulk Download support in Moodle Direct to allow bulk download of GradeMark papers, PDFs and original file Zip files
6. User Message Support in Moodle Direct to support Bulk Download notifications
If you would like to be considered for the beta program for the new integration bundle please PM me via the forum and I will gather the relevant data from you. There will be a limited availability on the beta program and we can not promise every applicant to be considered but any Turnitin administrator / customer is welcome to apply.
Turnitin Moodle Direct version 2
Currently Turnitin can be integrated into Moodle using a number of solutions. Here at Turnitin we have been busy with a number of projects which will allow us to hopefully make the choices a little easier and will allow us to give more accurate support and provision on the full suite of Turnitin features.
My main query is whether the new bundle will integrate with the new Assign type from Moodle2.3+ or whether it will still depend on 2.2 Assignment (which I understand is due to be deprecated from moodle at some point), or is this a completely separate stand-alone activity - in which case does it allow features such as blind marking, offline marking and bulk reloading of graded files etc as are available in the assign module?
If it will, then I would very much like to be involved in the testing and I can forward you any further details you would need in a PM.
Hi Paul I've been directed here by James Thorley who said we might be interested. We'd be very interested in trying out the integration, we have 1500 students who all use TII for the whole assignment cycle (submission, plagiarism checking, feedback etc...). Can it be used alongside the basic integration for testing purposes? Please keep me informed about the beta program. email@example.com
At the Shanghai American School we currently run a Moodle Direct integration on our Moodle 1.9 server. We are in the process of exploring an upgrade path to Moodle 2.4 that meets our needs. Will the new Direct2 be available for Moodle 2.4? If so, I would be interested in talking with you further about beining involved in your upcoming test.
All the best,
That sounds wonderful! I've been moaning about the loss of features when we moved from a WebCT Vista install, which had the 'direct' type integration to a Moodle one with the basic tye.
One thing I used to use a fair bit was the ability for a member of staff to upload a file, not attached to any particular student - whether for demonstration purposes (or, if you'd had anonymous files submitted not via TII integration for some reason) - or whatever.
Hopefully, if you're picking up a lot of the features that are in the main TII interface, you'll have that too.
Hi Paul (or anyone who may have done this)
Am I right in thinking that if we upgrade to Moodle 2.4 or 2.5, we can still use the old Moodle basic integration as it will be there in the legacy 2.2 assignment types? We'd like to stick with it for another year until we can try out your various new offerings.
Goldsmiths, University of London
You are correct, Moodle Basic will continue to work with legacy 2.2 assignment types. You can, if you haven't already enable this in 2.4 and 2.5. We are continuing support for the Basic activity type until summer 2014 at the least, we are not planning to add any functional / feature changes to that version however.
You can configure and use both Moodle Direct and Moodle Basic at the same time. Moodle Direct v2 is a direct upgrade from Moodle Direct v1 so you couldn't use both v1 and v2 in parallel, but given your message I think your plan to continue to use Basic for the next year will be fine. You could use that time to evaluate Moodle Direct v2.
Firstly, somewhat belated thanks for the info on Turnitin Basic. Very useful.
Is there any news on the V2 Direct plugin? I recall somewhere seeing it was expected in the 3rd quarter of this year. The lack of rubric in the existing Direct plugin is a bit of a showstopper for us.
I got an information from Dan Marsden that Turnitin will be releasing a new plugin very soon (within a few weeks), and that it should be more reliable and flexible since it contains both the features of their Moodle Direct plugin and Dan's plagiarism plugin.
I am also curious to get it released.
Thanks Pavel. I have been watching this daily as our institution has begun to use GradeMark and there is now interest in PeerMark. I understand the new plugin will support both of these.
Apologies for the delay in responding.
Version 2 has now been released and should be available in your Turnitin dashboard. It isn't in the Moodle plugins directory yet but that should be rectified soon. In the meantime it is also on github at: https://github.com/jmcgettrick/MoodleDirectV2
As Pavel said, it contains a refactored Turnitin Assignment and a Plagiarism Plugin to replace Dan Marsden's. To answer a couple of the above queries directly there is now support for Peermark, access to both the Turnitin Rubric Manager and Quickmark Manager, and the ability to attach a Rubric to an assignment.
Although the documentation says that turnitintwo module needs to be installed ,I believe it does not need be visible to users if we are only interesting in using the plagiarism tool located at /plagiariasm/turnitin ?
We might consider using the new turnitin API only if behaves the same way as Dan Marsden's version .
You don't need to use the turnitintooltwo module but it will have to be installed as it shares code, a dependency on it is being added to the Plagiarism plugin with our next release.
The plugin replicates the functionality from Dan Marsden's version with the addition of GradeMark and PeerMark.
Two quick questions :
1. Are we supported by turnitin if any of the three plugins break down i.e Can we raise tickets for Turnitin to deal with for these ?
2. I have intermittent connection issue on the settings page saying "Could not connect to Turnitin. Double check your API URL setting." and the log output says "
2014-01-20 10:04:46 +0000 (API_ERROR) - There was an error connecting to Turnitin the return error message is below:<br /><br/><br/>File: /opt/moodle/tags/moodle-2.5.0-022/mod/turnitintooltwo/sdk/soap.class.php | Line: 223 | Message: SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://www.turnitin.com/static/resources/files/lis-coursesection.wsdl' : failed to load external entity "http://www.turnitin.com/static/resources/files/lis-coursesection.wsdl" | Code: 0
I have the openssl mod installed on my server. Using PHP 5.3.3 linux debian. I can load the file using the browser, curl and wget just fine.
I have also disabled WSDL cache on my server to prevent any WSDL caching.
Another question on the plagiarism tool - Will the tool pick up from where Dan's plugin left off.
For example, If a submission point is succesfully submitted to turnitin and is awaiting similarity score for that assignment, it sets a 'pending' status in the plagiarism_files table. After that point, if we switch to the moodledirectv2 plugin, will it process those files and fetch the similarity score for that assignment.
From what I see in your code , when running the cron() function under plagiarism / turnitin/ lib.php ,
it only looks at entries with the status 'success' ie.
$submissions = $DB->get_records('plagiarism_turnitin_files', array('statuscode' => 'success', 'similarityscore' => null),
'', 'externalid, cm');
Also, when you first add a submission to an assignment that is turnitin enabled, the new plugin adds a statuscode of 'success' and sets the similarity score to NULL which is then picked up by the code above.
I'm just trying to work out how can this fallback to Dan's code that sets the statuscode of a new file to 'pending'
The cron function is only for getting scores and grades so will only look for successfully submitted files. There would still be an event for a pending submission so that would be submitted when events are processed. That also happens when the cron runs just not in that function.
You can raise points regarding all 3 with Turnitin if you have any issues.
Hope that helps.
Hi Hittesh, I've been having this exact issue since installing Moodle Direct version 2.
I'm using a Mac Webserver os 10.7.
I'm getting the "Could not connect to Turnitin. Double check your API URL setting."
"turnitintooltwo/There was an error trying to find the user in Turnitin Fault Code: VersionMismatch | File: [dirroot]/mod/turnitintooltwo/sdk/usersoap.class.php | Line: 157 | Message: Wrong Version | Code: 0"
Were you able to resolve the problems you were having with your server?
I'm also having the same problem here with v2. Can't connect to TII and the diagnostic code is not producing an api log which I could even look at. Even though TurnitIn is valued by teachers, it is a huge problem for our technical department.
We also have a different recurring problem with TII, which is that daylight saving hours in Chile were extended, so for example the old daylight saving indicates a time change today, however we won't do it until April. As TII calculates time according to traditional timezones we get an error from servers' handshaking so we have to change our timezone to somewhere else in order to make Moodle work with TurnitIn and therefore showing stupid information to users (wrong timezone like if they were in Argentina instead of Chile)...
I have posted issues asking for tech support in TurnitIn's website but they have never replied
I guess we must be too small a client for them to get interested in our problems.
Turnitin support can take a bit of time - specifically when related to more complex integration problems. If the standard support desk can't help directly they have to escalate the issue to the development team, then wait for a response from them before they can pass that back to you. From what I understand they only work Mon-Fri - you should get a response but it won't be instant. Their dev team also tries to keep an eye on Moodle posts too so I'm sure you'll hear something soon
This sounds like it would require a change to some code somewhere to fix as well - If it requires a change to their API it will need to go through Turnitins internal QA and release process which usually takes a bit of time as well.
That sounds like you are using the old API address which includes "/api.asp". If you remove this from the URL it should work.
Jorge, I will investigate your support case.
Thanks - That was part of the problem. The administrative guide still includes/api.asp in the URL. It still didn't work after removing that part of the URL, but I did eventually require that fix.
I found that I also needed to go into curl to tell it to ignore our self signed certificate because of this information listed on the cURL website:
If the remote server uses a self-signed certificate, if you don't install a CA
cert bundle, if the server uses a certificate signed by a CA that isn't
included in the bundle you use or if the remote host is an impostor
impersonating your favorite site.
In terminal I entered: curl -k https:ourweburl --insecure
Hope this helps others not sporting an expensive ssl certificate.
Yes - the new plugin from Turnitin and my older plugin both work fine in Moodle 2.6 (although I am likely to drop support for my plugin in 2.7)
Some initial issues we were having with Moodle Direct V2 have been sorted, but still have a problem with report exclusion settings not being carried over into the TII report itself.
So plagiarism plug-in settings for assignments are set to default to exclude bibliography and quotes; specific Moodle assignments show these settings as being in place; but the generated TII reports don't have these items excluded. Once a report is generated, you can manually apply the exclusions using the filter options.
This causing some confusion to our staff and students who have been given guidance on recommended similarity scores based on these exclusions being in place.
Is anyone else having this type of issue?
And a related but separate question - can anyone give some guidance on how I can login to TII itself and view the TII class and assignment that matches with the course/assignment created in Moodle?
Apologies for the bug, we'll get that fixed for the next release.
Regarding logging in to Turnitin, you can use your email address and send yourself a reset password link. You can then get the class/assignment id from your Moodle database and navigate to them within Turnitin.
Thanks for the tip John. I have to add myself as a teacher in the Moodle course first
On first login to TII I get the student view but can easily toggle to instructor.
I'm also having problems with Turnitin.
I followed the instruction manual down to the letter and keep coming up with this problem.
Could not connect to Turnitin. Double check your API URL setting.
I have made sure the API Url is set to https://www.turnitin.com and my user details are the same as I use to log in to the Turnitin site. Moreover, the developer error comes up with this:
turnitintooltwo/Turnitin Class creation failed
Fault Code: Authentication Fault | File: [dirroot]/mod/turnitintooltwo/sdk/classsoap.class.php | Line: 38 | Message: "oauth_consumer_key" value is missing or not valid.. | Code: 0
Not to sure what to do now really. I would appreciate any help. We're running PHP 5.3.3 with Moodle 2.6.2 and an official signed SSL from Verisign.
It looks you are using the wrong details. You have to login to your Turnitin account and set up a secret key in the Configurations dashboard which is what you enter on the setup page.
You should be able to connect then without any problems.John
Has the exclusion setting issue been addressed yet or is there a pending release that will do so?
Also, we separately reported issues with reports being not being run after the Moodle due date and new reports not being generated unless students rename their files. They were acknowledged as issues late March/early April - are they on the fix list too?
The exclusion setting issue has been fixed and is currently scheduled to be released this week.
The due date submission issue is scheduled to be looked at and should be sorted in one of our next releases over the summer. The new reports for files with the same name issue has also been looked at and will be out in the release this week.
The version of the plugin on Turnitin.com and on github are currently the same. The most up to date will always be on the develop branch on github, the master branch will then be updated at the same time as the version on turnitin.com.
Thanks John - it's just that you mentioned a release due last week, but github hasn't been updated since 20 May. So I wasn't sure if the release you were referring to was part of an update to Turnitin.com or the api itself rather than the Moodle plugin.
Hi - we want to switch from Direct version 1 to Direct version 2. I'm assuming quickmark sets won't be carried over - will exported quickmark sets from version 1 import successfully to version 2?
After putting it off for a year, we want to test the Turnitin V2 Direct plugin on our Moodle 2.6 test server (currently on basic integration). Is it just a matter of putting 'https://sandbox.turnitin.com' for the API URL when configuring it? Any potential gotchas to be aware of?
That's the main setup issue people have come back to us with. Let us know if you have any problems.
Thinking ahead - it seems inevitable we'll need to have Turnitin Basic and the new v2 running side by side for a short period. I'd appreciate any suggestions for managing/avoiding this.
Would it be useful to create a new sub-account in Turnitin for the v2 assignments in future? Can we stop people creating new Basic assignments during an overlap period (hacking the code or tweaking roles/permissions)?
Also, we take a snapshot every year and create a separate archive instance of our Moodle - is it feasible using that so that people can access their old basic assignments from the archive and we can then hide them all in the current live Moodle and use that for v2 direct assignments?
Sorry - lots of questions here!
I think you'd be best contacting Turnitin support and discussing this with them as the plugin only deals with a single Turnitin account. They will go through your options and work out what is best in your situation.
I did contact Turnitin support - got rather a vague response after some days.
I created a sub account for our test server - configured it - all seemed ok, however when our test student accounts try to submit an assignment we get an error.
turnitintooltwo/Turnitin user creation failed
Fault Code: invaliddata | File: [dirroot]/mod/turnitintooltwo/sdk/usersoap.class.php | Line: 39 | Message: first_name - This field is required | Code: 0
Does this ring any bells? Only asking here as it's usually quicker than a Turnitin support ticket!
No problem Peter.
If you look in the API logs (Site Admin > Plugins > Activity Modules > Turnitin Assignment 2) you'll be able to see the request parameters that are being sent to Turnitin. If you check to see whether these match up with the details of the user you are submitting as.
As the firstname is missing from your request I'd be interested to see what is trying to be sent as it is a required field when creating a user in Moodle.
Thank you. There was nothing in there so I enabled diagnostic mode. However it now seems to be working - which is a relief and also slightly worrying as we haven't changed anything at our end that we are aware of. I did log a ticket earlier so perhaps something has been fixed.
Either that or diagnostic mode is very clever!
Yes you can change the post date for submissions to Turnitin Assignments using anonymous marking.
Thanks for the clarification about the different plug-ins for Turnitin.
I downloaded Turnitin V2 and tested in Moodle 2.6 over a Windows server. The antiplagiarism add-on included in the package of Turnitintool two stops forum posts from being displayed so we are not using it.
I don't know if this problem has been already reported or not.
Successfully installed Moodle Direct V2 and it is currently running parallel with Moodle Direct V1 on a Moodle QA 2.6.3 environment. Any thoughts on how to accomplish the following:
- Restrict instructors from creating new Moodle Direct V1, but still access past Turnitin assignments.
- Only allow Moodle Direct V2 to appear in the learning activity drop-down menu so that it is the only option for creating new Turnitin assignments.
Many thanks in advance
If you disable the capability for the user role instructor/teacher to add a turnitintool instance (mod/turnitintool:addinstance) then that should accomplish both of your requirements.
I would like to know if anybody else has been affected by this problem:
I installed Turnitintooltwo (v 2014012402) in Moodle 2.6.3. I have to disable the anti-plagiarism plugin that comes with the zip package because it stopped forum posts from being displayed correctly.
Has anybody else experienced this problem?
Thanks for your response. It works
I have another glitch, Grademarks scores are not showing up in the Moodle gradebook as advertised in Moodle Direct V2.
This has been fixed and will be out in an imminent release.
This is an urgent problem for us-- we now have many faculty contacting us, trying to understand why they can see grades in the Turnitin activity but not in gradebook. What will be the version number of the release that will fix this, please, and when do you expect it to be available?
The new version is 2014012405, it's currently only on the develop branch in github: https://github.com/jmcgettrick/MoodleDirectV2/tree/develop.
We'll be updating it to master and putting it on here in due course.
Any update on when 2014012405 will be released? Our teachers are getting VERY restless in regards to the grades not showing in the Moodle grade book. Thanks!
Hi Ken, the version on the develop branch is the latest version that
we have put through QA - currently 2014012407. We will be updating the
master branch, the Turnitin website and moodle.org plugins area shortly.
I've downloaded and installed the latest version from your github - 2014012407, but at the moment we are not able to get it to connect to our TurnItIn account (in the UK, so https://submit.ac.uk)
I'm getting the error message to double check the API URL, but I have done that (and its been double checked by a colleague) and as far as I can see it matches what it should be.
Can you suggest any other potential gotchas that we may have missed?
Additional Information, if useful
Moodle 2.7.1, TII Direct2 plugin v2014012407
University of South Wales (previously University of Wales Newport)
Can you consult the API logs in the settings area and see what you get in there?
API logs showing (This is just the last of them, but they are all the same apart from the time stamp)
Ive checked the secret key as well as the URL though and its all matching
------------------------------------------------------------ 2014-09-16 12:53:12 +0100 - ERROR --> ------------------------------------------------------------ Turnitin SDK Exception: Authentication Fault - "oauth_consumer_key" value is missing or not valid.. ------------------------------------------------------------
Hi Richard, can you contact support about this please. It looks like something is possibly misconfigured on your account.
We are also having this issue with a recent upgrade to Moodle 2.5 and the installed Turnitin direct module 2014012405
Is there a more up todate module that corrects the problem
We are currently on 2014012408 on the github develop branch (which has been through QA). The moodle.org download, master branch and the Turnitin website will be synched up as per our release schedule.
We have only had these 2 reports of this issue. The oauth_consumer_key is your account id so I think there must also be something misconfigured on your account. Do you have any requests showing up in your API logs? It would be best to contact support as well about this as it is a specific account issue.
We have just gotten version 2014012407 installed on a sandbox site, and we are still not able to get grades to display in the Moodle gradebook from the Turnitin plugin, even though we've set the post date to one minute after the assignment opens. Can anyone else verify that this version fixed the problem for them?
We continue to have problems with getting grades from Moodle Direct V2 to post to the Moodle gradebook. We have filed a ticket at github: https://github.com/jmcgettrick/MoodleDirectV2/issues/105
I hope we can find a resolution to this problem soon. The ongoing problems with this plugin are causing us to reconsider whether we want to use the Turnitin service.
Yesterday TII and plugin things came onto my horizon.
Versions: Does TII Direct work OK with Moodle 2.6?
I have read over the notes here: https://guides.turnitin.com/?title=03_Integrations/Moodle/Moodle_Direct_V2/Direct_V2_Integration_Upgrade_%26_Migration_Information
There is nothing specific about what versions of Moodle are supported apart from '2.3+'
The manual here: https://guides.turnitin.com/?title=03_Integrations/Moodle/Moodle_Direct_V2/Direct_V2_Integration_Upgrade_%26_Migration_Information#Clean_Moodle_Direct_v2_Installation_Steps says 2.3 to 2.5 but it is an old manual.
This question is relevant to me because we are considering the question to upgrade or not.
yes - but don't use the code from the plugins db or from the Turnitin integrations panel on their website, and don't use the "master" branch in their github repo
The most up-to-date code is stored in the "develop" branch of their github repo here:
I am getting this error with the TurnItIn Tool 2 when an assignment is created. I am unsure of how to fix this. I can download the file mentioned https://www.turnitin.com/static/resources/files/lis-coursesection.wsdl on the server by entering into the address bar.
Activities Block issue with Turnitin V2
We are running Turnitin V1 and V2 in parallel at the moment. We also use the Activities Block in most courses block_activity_modules.php
In this Block both V1 and V2 just show as Turnitin Assignments so if both versions exist in a course then there are two links called Turnitin Assignments. My question is where can I edit the V2 entry displayed in the Activities Block to say Turnitin V2 Assignments?
I looked at block_activity_modules.php under Language customisations and couldn't see anything there.
We are running Moodle 2.6.2 and the latest V2 version. I have another question in this forum headed up "Turnitin V1" which no one has offered any confirmation or help with so some help with both queries would be much appreciated.
You can do this by going to Site Administration > Language > Language Customisation, selecting 'English (en)' then opening the packs for editing once they've loaded. You can then select either turnitintool.php or turnitintooltwo.php - whichever you'd prefer to edit - under mod and edit the modulenameplural string to identify them differently. You may have to purge your caches for this to take effect, to do that click Site Administration > Development > Purge all caches.
Your v1 issue came through to us this morning and is being looked at just now. We will respond in that thread once your issue's been diagnosed.
I'm having some difficulties with the Turnitin 2 on Moodle 2.7, not sure if anyone can help.
I've got it connected to turnitin okay with the account number and key, etc... although since I'm testing it on my localhost before pushing it live I have had to set:
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
So that it can connect, as without that it was complaining about the ssl certificate. But it is connected now.
However when I try to submit an assignment to turnitin, I get:
turnitintooltwo/There was an error trying to create the submission in Turnitin
Fault Code: responsexmlerror | File: [dirroot]\mod\turnitintooltwo\sdk\response.class.php | Line: 45 | Message: XML Response could not be parsed | Code: 0
Does anyone know how I can fix this?
Is it caused by me setting that curl option? (I don't know how else to be able to test it on localhost without pushing it up to our live server without disabling that setting).
Could you contact Turnitin support regarding this please. Can you also check your API logs to see if you are getting any XML response from the API request at all. If you aren't my suspicion would be that your submission is not reaching Turnitin so we'll need to diagnose why that is.