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

Restore Moodle Backup issues: error reading from database

I am trying to restore a backup of Moodle version 2.7 with PHP 5.5 and MySQL 5.5 from one server to another server with Moodle 3.9 and PHP 7.4 and MySQL 8.0. But I am getting the following error: I even tried the to change @@default_storage_engine…
Flora
  • 1
0
votes
1 answer

How to create multiple schools, classes & courses in Moodle

I want to configure Moodle so I can map a real school structure in the Moodle. I want to add 4 schools and under each I want to add multiple classes. The class in one school might be different in other school. And for each class we may have…
Sanjay Goswami
  • 822
  • 1
  • 16
  • 36
0
votes
1 answer

Hide some profile information from Profile Page - Lamba Theme

I am hoping someone here can help me. I am using Moodle 3.8+ with the Lambda theme and have a question. On the Profile Page I would like to be able to remove some elements, usually I would use additional css to set a display: none to various…
Graham
  • 49
  • 6
0
votes
0 answers

failing to load jquery

I am trying to load code in Moodle through jQuery I get the following error: Uncaught SyntaxError: Invalid or unexpected token What am I doing wrong?

fullname ?>

0
votes
1 answer

Download moodle mainpage using cURL

Hi I'm having some trouble with logging in and downloading a web page. What i'm trying to do is log on to my school's moodle site and save the main page in a string so i can use a parser to pick out certain information and build a gwt app. this is…
0
votes
1 answer

Wordpress how to add jquery to Moodle project

I am trying to add jquery to my moodle project I added this to additional.html
0
votes
1 answer

Failing to execute dynamic query

I am trying to fetch data from a database in Moodle with a dynamic query but I tell me that there is an error in the reading of the database: $parts = $_POST['make']; $arr = explode(':', $parts); $sql = "SELECT mdl_block_report_bbb_meeting.id, …
0
votes
1 answer

Login into Moodle using a token

I am trying to figure out a solution on how to login into Moodle from an external API service. I have web services enabled on Moodle. My application uses a API build with Laravel which contains a method to login in directly to Moodle from another…
Karan
  • 258
  • 1
  • 3
  • 12
0
votes
1 answer

moodle database

I am trying to fetch data from database in Moodle I do this: $sql = " SELECT bbb.name, ue.name AS UeName, bbb.timecreated, bbb.timemodified FROM mdl_bigbluebuttonbn AS bbb JOIN mdl_block_report_bbb_user_events AS ue ON ue.meeting_id =…
0
votes
1 answer

SSO for Laravel and moodle applications from WordPress

I am in a need to have single sign-on (SSO) on my applications. Basically, I have three applications in different directories. I have a WordPress(ecommerce) site running in the main folder of my domain and a Laravel application in a directory and a…
0
votes
1 answer

Nginx Forbidden 403

I'm trying to run a moodle application along with nginx but when I access the domain it returns 403. I've already changed the folder's permissions, the index.php file exists. Log Nginx: *306 directory index of "/var/www/html/moodle/" is…
0
votes
1 answer

rewriting mysql subquery that is in the from statement

This query is complex but all the individual parts work. The query gets all the users from the users table that match the client id passed in (there is a user/client link table) The challenging part is the middle part that gets the details of which…
CDP
  • 1
0
votes
1 answer

not being able to convert data from database to pdf

I am new to moodle I am trying to fetch data from a database and converting it in a Pdf File but the pdf file is empty it doesn't display the database elements. I don't get what am I doing wrong, can you help me? this is the file with the button…
0
votes
1 answer

Password hash generation algorithm in Moodle 3.7

How to write a function that generates a password like in moodle, what file is algorithm in, what file is the salt in? is it? password_hash( "123", PASSWORD_BCRYPT, array( "salt" => "SALT" ) );
0
votes
1 answer

Failed Connection to Database in Moodle

I'm new to moodle and I built a plugin that is supposed to fetch data from a database and display it. I can't reach the data from my database, it's not displaying the info that I want. This is my file, what am I doing wrong?