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
7
votes
8 answers

Manually change the moodle admin password with acces to phpMyAdmin or create another admin account?

The password for an admin login in a moodle platform is lost. I have access to the phpMyAdmin. I went to the mdl_user table and there I can see or edit this table. How should I proceed? Can I change the admin encripted password and secret key to a…
Trufa
  • 39,971
  • 43
  • 126
  • 190
6
votes
4 answers

can not access to database in moodle

I am using moodle and I change location of my web site, but I am facing this error. My config.php is: dbtype = 'mysql'; $CFG->dbhost = 'localhost'; $CFG->dbname =…
aya
  • 1,597
  • 4
  • 29
  • 59
6
votes
3 answers

Magento and Moodle Integration

I have a project which requires me to setup an subscription-based online learning site using Moodle. I checked Moodle and it seems that it can handle this by itself. The problem is, the client won't be just selling online courses. He will also be…
junwafu
  • 333
  • 2
  • 7
6
votes
5 answers

Path to profile picture in Moodle?

I was programming something in moodle web-application and was looking into retrieving the path of the user profile images. I assumed I could find the path somewhere in the database but I only got to mdl_user.picture and mdl_user.imagealt, so…
OM The Eternity
  • 15,694
  • 44
  • 120
  • 182
6
votes
1 answer

R/exams: Open-ended questions with exams2moodle

My goal is to create a question using R/exams and Moodle including a few plots generated in the Rmd exercise file. The students should describe the plots verbally and then the exercise is graded manually. Is it possible to use exams2moodle to create…
JP_1235
  • 63
  • 4
6
votes
1 answer

How to add Dynamic pages on moodle?

Is there any way to add dynamic content in Moodle pages? I have used Pages Plugin to create pages but I am not getting a way to add dynamic content in it.
Vikas Ghai
  • 245
  • 1
  • 13
6
votes
1 answer

Composer hangs on "Resolving dependencies on SAT" between Moodle and Laravel used as a local plugin

I'm using a Laravel project as a local plugin of Moodle, using the composer/installer package. The layout of the project is: // Moodle Application - composer.json - local/ - laravel-plugin/ <- here is the Laravel local plugin -…
jsindos
  • 459
  • 6
  • 22
6
votes
2 answers

Understanding Moodle $context

From Moodle doc: A context is a space in Moodle where roles can be assigned. I understand that a context is a logical space used to manage Moodle objects. I developed a custom block plugin with a file upload where I use file_prepare_draft_area…
ben.IT
  • 1,490
  • 2
  • 18
  • 37
6
votes
1 answer

Moodle Editing Templates

How do I separate the blocks when editing a template? Example: blocks('course_summary', 'cssCourse'); ?> I want to use the block with the course summary id, but he does not appear on the first page…
Alan PS
  • 197
  • 2
  • 12
6
votes
1 answer

Video.js not working in Safari (CODE:4 MEDIA_ERR_SRC_NOT_SUPPORTED)

I am trying to use video.js to prevent fast-forward, but allow rewind, for mp4 videos on a Moodle site. It is working properly in Chrome and Opera, but when I try in Safari, I get the following error message: VIDEOJS: (4) "ERROR:" "(CODE:4…
tinezekis
  • 93
  • 2
  • 9
6
votes
1 answer

Create Moodle activities programmatically

Does anyone know if it’s possible to add an activity programmatically to a course in Moodle? I was thinking to maybe use the class module_add_instance() from the lib.php of my custom plugin... e.g. function feedback_add_instance(stdClass $mod) { …
Christos312
  • 466
  • 6
  • 18
6
votes
5 answers

Moodle 2.9.1 -- Any web service function gives 'access control exception'

Following various guides, I have managed to accomplish the following: Set up an external service using the REST API which includes the "core_user_create_users" function, Set up a user account and assigned it to be allowed to use the REST API…
Luke G.
  • 587
  • 1
  • 4
  • 13
6
votes
1 answer

Single Sign On in Moodle with external login form

I'm developing a moodle site where I have to use an external service for authenticating users. This SSO service should be the only form of authentication. The provider of the external service requires me to do use their login form on their server so…
Regicollis
  • 355
  • 4
  • 13
6
votes
2 answers

How to include external JavaScript on my Moodle page?

In Moodle, while we use $PAGE->requires->js_init_call() to include a JS function defined in our plugin's module.js file, how can I include external Javascript resources, which we normally include in the tags like:
Solace
  • 8,612
  • 22
  • 95
  • 183
6
votes
3 answers

moodle data root location not secure error

I read moodles documentation where it says that if the data root directory has to be in the site's public html folder ( Please see that i can not create it outside it since i dont have sufficient privileges as i am using a free account ). then you…
Harshit Laddha
  • 2,044
  • 8
  • 34
  • 64