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
2
votes
1 answer

How to sum two Maxima/LISP-lists elementwise, in order to use them in a JSXgraph embedded in a Moodle STACK-exam?

What the title says. I'm trying to build a graphical, two-variable optimization problem for students to solve using the STACK-type Moodle-question, which uses Maxima as a backend for dealing with the math. I've tried the following: /*Constants*/ c1…
sesodesa
  • 1,473
  • 2
  • 15
  • 24
2
votes
3 answers

Integrating iCalendar in Moodle

I am working on a Moodle project and I have downloaded and installed the latest build(1.9) on my system. I'm using this framework for the very first time so presently trying to get familiar with the environment and the documentation. My need is to…
user61255
  • 21
  • 2
2
votes
1 answer

List course categories on home page moodle

I am new in Moodle. How can I list / get all course categories? I want to display course categories at front end. I tried with custom queries but my lesser experience I am not able to get it.
Malay Solanki
  • 80
  • 2
  • 10
2
votes
3 answers

Moodle 3.3.1 fresh install - Barracuda file format issue

I am new to moodle and trying to install moodle 3.3.1 on my windows system, but after some steps it is showing some errors. mysql_full_unicode_support#File_format: Your database has tables using Antelope as the file format. Full UTF-8 support in…
Hemant
  • 27
  • 2
  • 8
2
votes
0 answers

Error when work with Moodle 3.2.2 Authentication external DB via Oracle

I was trying to set up the external authentication for Moodle, here are my settings(db_enabled.png), and I tested it and all normal(test_enabled.png), test proceed normally, but when I try to login with the account from the external database, I have…
2
votes
0 answers

Get users base on group and role on Moodle

I want to get all users who have the correct group and role (in a course). Pre-condition: I don't want to write sql query. Below is my current code, using course_enrolment_manager to filter: function get_users_by_group_and_role ($course, $groupid,…
Nghi Ho
  • 463
  • 1
  • 6
  • 18
2
votes
0 answers

Upload scorm packages in moodle course module using moodle rest api

I have already created a course using moodle RestAPI(function name : core_course_create_courses). then i want to upload a scorm package in moodle course module/activity. i have write some code for that,this code will create a module in that course.…
2
votes
0 answers

Restrict user age in Moodle

In my system, I have a user profile field which named "Day of birth". Its type is datetime. I want to validate to restrict user's age when he registers new account or edit his profile. For example, user must be at least 18 years old when he…
Nghi Ho
  • 463
  • 1
  • 6
  • 18
2
votes
3 answers

How to enable web services on moodle?

I have configured moodle on local host and I am trying to generate the token for authentication. I have already followed these steps : == Configuring Moodle for using the application == Administration -> Plugins -> Web Services -> External…
Badal Sharma
  • 79
  • 1
  • 4
2
votes
1 answer

How to disable https on moodle?

I've recently upgraded my moodle site from 2.9 to 3.4. Https was only enabled on login page. After the upgrading https is enabled on the whole site. Now some remote scorm packages don't work. How can I use https only on login page as before? Thanks…
plectranthus
  • 69
  • 1
  • 3
  • 11
2
votes
1 answer

create user in moodle through web services php

I am trying to create a user through web services in Moodle by using PHP and I am using ws function: core_user_create_users. but it gives me an error. {"exception":"webservice_access_exception","errorcode":"accessexception","message":"Access…
Zubair Sultan
  • 43
  • 2
  • 7
2
votes
1 answer

API test for Moodle (v2.6) with Postman

Objective is to use the Moodle web services to fetch information via Postman. In this case Webservice function : core_enrol_get_enrolled_users Already created a user that had the rights to access the content wsToken used as a parameter When…
Shantanu Mitra
  • 31
  • 1
  • 1
  • 6
2
votes
2 answers

moodle 3.3.2 change default font

I want to change moodle's default font. I used this link but it didn't work. I changed theme css and added fonts to a new folder but nothing changes in moodle. There is no good tutorial on the net. Any help would be appreciated. I use a theme named…
elahehab
  • 325
  • 3
  • 16
2
votes
0 answers

How to move a user in a cohort to another without losing their information in Moodle?

I'm using Moodle version 3.1 for system manage courses and classes in my school. In each class enrolled by 'Cohort Sync' method. When the students what to change class from one to another by keep their information such as grades, id. So this case I…
Bong Channarith
  • 241
  • 1
  • 2
  • 10
2
votes
2 answers

Get the count from the sql query in moodle

I am trying to fetch the number of rows for a query using a Moodle function. This is what I have done so far: $records = $DB->get_records_sql("select * from {user} where maildigest=$login_id"); How do I get the number of results?
user200
  • 291
  • 1
  • 4
  • 21