Questions tagged [moodle]

Moodle is an open source learning management system (LMS) written in PHP.

Moodle is an Open Source Course Management System (CMS), also known as a Learning Management System (LMS) or a Virtual Learning Environment (VLE). It has become very popular among educators around the world as a tool for creating online dynamic web sites for their students. To work, it needs to be installed on a web server somewhere, either on one of your own computers or one at a web hosting company.

Originally developed by Martin Dougiamas in Australia, it is used world-wide by many places of learning.

According to Moodle.org's stats, as of February 2013, there are over 77,000 registered sites using Moodle in over 225 countries, serving over 7 million courses with over 66 million users.

Useful links

Useful Developer Links

Distributions

3019 questions
0
votes
1 answer

Moodle cog button on tests disappear in some courses

I was creating some courses for my moodle today when i realised that in some courses, the cog(settings) button on created tests completely disappear, this issue tend to affect some users more than others, sometimes one user has the cog button in the…
0
votes
2 answers

How can I submit unsubmitted Moodle attempt via SQL

Hello I ma trying to submit unsubmitted quiz attempts so I can grade them. So far I have set the timefinish column in mdl_quiz_attempts which changes the attempt status to "Not yet graded", then setting fraction to 0 from NULL and state to…
0
votes
1 answer

How to validate something before installing local plugin in moodle

I have developed a local plugin and before installation i want to check if a certain plugin i.e. mod_attendance exists in the moodle, if it exists i want to continue with the normal installation else if the mod_attendance doesn't exist i want to…
0
votes
1 answer

Error code: ddlxmlfileerror during plugin installation

I have created a plugin/webservice in moodle in my local folder in moodle, when i converted the folder to zip and then installed it; it would install correctly in local folder in moodle. Now i want to install it in the mod folder so i changed the…
0
votes
2 answers

How to return data as JSON in moodle webservices

I am creating a webservice in moodle and want to return my std object as a JSON, public static function add_attendance_lti($attendanceObject) { ...... $lti_updated = [ 'id' => $insert_new_attendance, 'code' =>…
0
votes
0 answers

how to create curl commands on moodle

I'm recently started developing on moodle and one big problem is that whenever i build a plugin with a web page, it don't execute any of my curl commands, i hear that moodle has his own php library(an php file called filelib.php i suppose) with curl…
0
votes
1 answer

traefik docker-compose containers cross communication with https / SSL

For development purposes I run a local Docker with three independent Moodle instances. These three instances should be able to communicate with each other. To do this, I use traefik as a reverse proxy. So far, this has all worked flawlessly. But now…
MPe
  • 430
  • 6
  • 23
0
votes
1 answer

add new instance in a new activity in Moodle

I'm trying to a create new activity in Moodle it created successfully but I can't add a new instance in my dB in my lib.php function activity_add_instance($data){ global $DB; $data->timecreated = time(); $data->timemodified = time(); …
Aya Ashraf
  • 13
  • 3
0
votes
1 answer

Moodle plugin CURL methods

How can i make moodle execute CURL commands? i am making a local plugin for moodle and it have a page that must execute some CURL commands, i already tested those codes on my localhost and they work just fine, but whenever i put those codes on my…
0
votes
0 answers

scorm player by using html and javascript?

I am new to SCORM & I am looking to create a simple SCORM player . I have searched everywhere on internet but still no luck! Also I don't want to use anything like scorm.com engine and any other paid service. Moodle & Scormpool also didn't help…
0
votes
1 answer

How to show navigation bar options to specific users in moodle lms?

Below is my code for showing an extra option in navigation-drawer of Moodle LMS account. function local_report_extend_navigation(global_navigation $navigation) { $main_node = $navigation->add(get_string('pluginname', 'local_report'),…
0
votes
0 answers

Can't find data record in database table course_categories in moodle

[I'm getting this error in my moodle][1] And I can't go in any activity like security and any other activity so I can solve [1]: https://i.stack.imgur.com/83ofA.png
0
votes
0 answers

How can I resolved syntax error in Moodle?

I have the Eguru theme installed in Moodle, but the images are not displayed. I get this error: Excepción - Call to undefined function sibil@gmail.com() error/moodle/generalexceptionmessage What can I do? Thanks for your advice.
Sibila
  • 11
  • 1
0
votes
1 answer

Moodle core_role_assign_roles

I wan't to give the user with the id 1111 in the coursecat 2222 the role courscreater ... and i use the webservice core_role_assign_roles How can i do this .... ? I…
D-T
  • 45
  • 3
0
votes
1 answer

In Moodle How do I allow a single student a second attempt on a quiz?

I am working in the moodle right now How do I allow a single student/Candidate/individual user a second attempt on a quiz? Is there any possible way to do that because if I allow a quiz retake it may apply on a group level and every user can attempt…
Asad Shiekh
  • 31
  • 12