using web service from one moodle to another moodle

using web service from one moodle to another moodle

by Juwita W -
Number of replies: 3

I'm new with moodle and my senior ask me to do something.

I'm using two moodle. One moodle for the student study at home, I called it moodle study, and one moodle for the test, I call it moodle test. The moodle test running on local server so the student won't do the test outside the laboratory.But I want to make the student can see their test score from moodle test through the moodle study. 

I'm thinking of using a gradebook plugin on moodle study which return the test score from moodle. Can I use moodle webservice to get the score value? If I can, what thing should I do first?

Sorry for my bad english. And thank you.

Average of ratings: -
In reply to Juwita W

Re: using web service from one moodle to another moodle

by Daniel Neis Araujo -
Picture of Core developers Picture of Plugin developers Picture of Translators

Hello,


I've worked with a similar project.

The solution we use is to export a backup file to the "study moodle".

More technically, you can take a look at

https://tracker.moodle.org/browse/MDL-47776

The whole project description and documentation is at:

https://gitlab.setic.ufsc.br/moodle-provas/blocks-exam_actions/wikis/moodle_provas

It's written in Brazilian portuguese, but if you have interest, we can make an english version.

Basically, we have the same division of "study moodle" and "test moodle" that we call "remote moodle" and "exam moodle", repectively.

We have developed 3 plugins so you can link how many "study moodles" you want and automagically create "exam courses" in "exam moodle" for the courses you have at your "study moodles" (the courses are created with the same name and the enrols are synced), there are capabilities mapping for which people in each user can create these courses, monitor the exam (log in into moodle during the exam time) and take the exam. 

We also use a custom Ubuntu distribution that boots up from a pendrive, a cd-rom or remote via local network, and only gives users a browser the can only access the exam moodle IPs, and user cannot access any media from the machine, unless some minor configurable exceptions.

The plugins also implements a "temporary key" feature that is generated by the exam monitor at the time of the exam that students must provide to authenticate along with its usual username and password.

It is all open source and it will be great to share it with a bigger community.


Kind regards,

Daniel

In reply to Daniel Neis Araujo

Re: using web service from one moodle to another moodle

by Juwita W -

Hi Daniel,

I interest with your plugin. I would like to read the English version to know if I can implement it on the system. Thank you, Daniel for your answer.

Regards,

Juwita

In reply to Juwita W

Re: using web service from one moodle to another moodle

by Daniel Neis Araujo -
Picture of Core developers Picture of Plugin developers Picture of Translators

Hello,


here is a brief explanation of how to install the "Moodle Provas" or "Exam Moodle" infrastructure:


  • Inside this plugin there is a file at cli/configure_remote.php , that you must set some options and run to finish the configuration of the plugin
  • On the "exam moodle", you wil have to install two plugins:


There is also a repository with the livecd project and instructions how to configure it to point to your moodle and generate instructions: https://gitlab.setic.ufsc.br/moodle-provas/livecd-provas

Here is the link to instructions on how to create the ISO: https://gitlab.setic.ufsc.br/moodle-provas/livecd-provas/wikis/GeracaoAutomatizadaDoLiveCD

Let me know if you need help translating those info too.


Kind regards,

Daniel