Most voted "moodle" questions
Moodle is an open source Course Management System (CMS - Course Management System), also known as Learning Management System (LMS) or a Virtual Learning Environment (AVA). It has become very popular among educators around the world as a tool for creating dynamic online websites for their students.
Learn more…46 questions
Sort by count of
-
7
votes2
answers2040
viewsHow to store the value of the indexes of this JSON in variable?
I have a function in php that returns it to me. [{"id":81,"username":"usuarioteste23"}] How can I save in a variable this ID and in another variable this Username? Thank you.…
-
4
votes2
answers2985
viewsConsume Moodle Web Service
I am trying to consume the webservice of Moodle, following a js/Rest example I found on github, I created a test.php with the code below (changing the domainname and token) but when I call the page…
-
3
votes2
answers1646
viewsError creating new user in Moodle via webservice
I have been trying to add a new user to Moodle using your webservice api I have already modified several times the parameters passed via post, tested using an array instead of an object, tested some…
-
3
votes1
answer111
viewsMoodle - How to disassemble Locks
How to use blocks to get layout elements? Example: <?php echo $OUTPUT->blocks('course_summary', 'cssCourse'); ?> I want to use the block with the course_summary id, only it does not appear…
-
3
votes1
answer624
viewsInclude a file external to Codeigniter
I am trying to make an integration between a system developed in Codeigniter(CI) with Moodle and I need to include in the CI a file from the Moodle library, to recover some data. However I am not…
-
3
votes1
answer4020
viewsError: Mysql returns the following "Subquery Return more than one Row"
Good morning! I created this query in mysql and by adding the 1st subquery I called "totalEscolas" I get the following error: "Subquery Return more than one Row" without this subquery the code works…
-
2
votes4
answers3156
viewsHow do I create an sql view with more than two tables?
How to create a view sql, I need to get the name and password in the Magento comic that are in different tables, to authenticate in Moodle.
-
2
votes1
answer79
viewsAdd video to Moodle
I’m trying to find out how I added my video in Moodle, using the SRC directory. I have my own theme, and in it will contain a fixed box with a video. I would like to implement this video in my…
-
2
votes0
answers1612
viewsInstallation Moodle connection error with database
I’m trying to install the local Moodle, never messed with it I’m following a step by step but this giving the following error: Where can I check if my BD user is really root and no password? Thank…
moodleasked 8 years, 10 months ago user27585 -
2
votes1
answer68
viewsMoodle - Home layout with a column
Hello, I would like to know how I leave only my home page with only one column (content column), I want to take the <aside> on the left (administrative block). Only way I could get closer to…
moodleasked 8 years, 9 months ago user27585 -
2
votes1
answer89
viewsEditing the course settings form
I’m editing the course settings form on moodle and it works, it added the field but not saved if I change in banco de dados the data saved are printed on the input, only it didn’t save.…
-
2
votes0
answers159
viewsIntegration of the school system with Moodle
Guys for about three days I’m trying to do a data synchronization of a school system with Moodle, but it’s pretty screwed up. I have a school system on a linux server and Moodle installed on another…
moodleasked 7 years, 4 months ago Ezequias Silva 63 -
1
votes1
answer397
viewsIntegration between Magento and Moodle
I want to sell courses from Moodle 2.6+ track Magento 1.7. The process flow is as follows: User creates an account in Magento (shopping cart). User buys a course. After purchasing the course, the…
-
1
votes1
answer207
viewsHow do I make a registration in Moodle, and where the data is recorded?
I am developing a Moodle subscription plugin which generates a ticket from a certain bank, but I have some questions regarding the confirmation of the user’s registration (enrol): What table is…
-
1
votes1
answer48
viewsHelp with QuizMoodle
I would like to create a list of users who for example answered "no" to a questionnaire. How do I select these users and send a message? generate a list of users and import, any solution? I have a…
moodleasked 9 years, 2 months ago Yuri Rodrigues 653 -
1
votes1
answer77
viewsVideo control plug-in in Moodle
Does anyone know if there is a module or tool that controls access to videos on Moodle? I was thinking of creating something like, for example: The student began watching video number 1 and stopped…
-
1
votes0
answers202
viewsMoodle files do not load
Good evening, I uploaded Moodle that worked on wamp for a lodging and when I try to access the course materials they do not carry. PDF files show the following error 'Error: Bad end offset: 475840'…
moodleasked 8 years, 5 months ago Matheus Ilário 361 -
1
votes0
answers45
viewsMoodle notifications
Does anyone know how to modify the notifications that are sent through the Moodle forum? Ex: When creating a topic, I want an email sent with a message to the instructor, and to the student another…
moodleasked 7 years, 5 months ago Felipe Edwards Vanstocher 303 -
1
votes2
answers87
viewsHelp with concatenating
I need to pass a variable inside an item array, a parameter that only accepts string, but when I pass a variable the API does not accept, it says that the parameter is incorrect. Better explaining:…
-
1
votes1
answer878
viewsRecover ajax response value
I have a service that registers in a system (the code below) var userstocreate = [ { username: '' + usuario + '', password: 'E@d123456', firstname: '' + primeiro +'', lastname: '' + lastname + '',…
-
1
votes1
answer166
viewsMoodle integration with third-party system
Hello, I have a cruel question today. I need to make the portal Moodle work with users of an external system. Someone has already managed this with few changes to the Moodle source code?…
-
1
votes1
answer1054
viewsHow to optimize this query in Mysql that is too slow?
I’m doing a simple query on LMS Moodle to get the amount of hits from all users. SELECT count(userid) as total, action, userid FROM mdl_logstore_standard_log log WHERE action = 'loggedin' GROUP BY…
-
1
votes0
answers725
viewsError writing to database - Moodle installation
I’m trying to install the moodle on my server Digital Ocean I am following all the steps according to what is asked, until there comes a time that asks to install the plugins, but during the…
-
1
votes1
answer55
viewsHow to get a list of all questions and alternatives Moodle?
Hello, I am developing an android app with java for the Moodle platform, and I would like to know if there is a function that returns a list with the quiz question and the alternatives. Something…
-
1
votes1
answer416
viewsHow do I set up a Mysql database that is on my machine to be accessed on the web-hosted Moodle?
I have hired Uol Host hosting services, but I cannot change the database provided by them. I would like to know how to connect a database of my machine to the Moodle that is installed on the host.…
-
1
votes0
answers54
viewsThreshing variables in mustache
People the mustache promises to do wonders but it’s not my case. The Moodle is PHP but the themes now use mustache, but the screen code generated by the mustache is something like this: <nav…
-
1
votes0
answers78
viewsProblem of Ionic Connection
Good morning, I have a project in Ionic, that for 2 days I can not pass the home screen, due to a connection error. However, I did not change the config files, and I have another version of it, in…
-
1
votes1
answer92
viewsjava.lang.Illegalargumentexception when creating a Snackbar
I’m developing an app that accesses my college’s Moodle and posted the first version. Since then I noticed some flaws in the application presented in the Google Play console but I could not find the…
-
0
votes1
answer852
viewsenrol_manual_enrol_users, link user to course in Moodle via webservice
I need to create a link between a user and a course, I would like to do this using webservice. Moodle has native enrol_manual_enrol_users function for this purpose, which has as mandatory parameters…
-
0
votes1
answer65
viewsMoodle - Where is the task view information?
I am trying to change a plugin and I need to find out where the database stores information of tasks preview in Moodle, the plugin is the bar Progress and need it urgent...
-
0
votes1
answer59
viewsMoodle - Change home structure according to user and keep different from other pages
Good afternoon, My question is this:: I need to change the structure of the home only of the home, instead of leaving 3 columns (navigation, content and aside-right) I will leave only one column…
moodleasked 8 years, 9 months ago user27585 -
0
votes1
answer207
viewsProblem after Moodle 2.9 update to 3.3.1 - Theme not Designed for Moodle version
After upgrading Moodle version 2.9 to Moodle 3.3.1+ (Build: 20170727), the following error occurs below: Version Warning: Theme not Designed for Moodle version. Unexpected issues may occur, Please…
-
0
votes1
answer313
viewsChange Moodle user permission
How to change the permission of an ordinary user to an administrator user in Moodle3.3 via SQL commands.
moodleasked 7 years, 3 months ago Ezequias Silva 63 -
0
votes1
answer205
viewsTranslate theme of Moodle
I have installed the following themes in my Moodle: BCU, Essentials and Klass. But these themes are in English. I accessed some files and translated what was in English, but it didn’t work 100%…
moodleasked 7 years, 1 month ago Webster Moitinho 511 -
0
votes1
answer235
viewsHow to find the HTML generated by the echo line $OUTPUT->course_content_header();
I am modifying a theme from Moodle, however I can’t find some HTML files or at least understand how they are created via backend, I have the following code: <?php echo…
moodleasked 8 years, 9 months ago user27585 -
0
votes1
answer1624
viewsMoodle - Creating Themes
Hi, I’m creating a theme for Moodle and I can’t install it or do tests, the theme has only 3 files and the . css is blank, just for testing... config.php file (is at the root of the theme that has…
-
0
votes0
answers287
viewsFunction of Moodle mod_quiz_get_attempt_data returning incomplete html
I am developing an application for Moodle that returns the html quiz. I made use of the webservice mod_quiz_get_attempt_data but the problem is that whenever I send the request, the browser returns:…
-
0
votes2
answers567
viewsQuery SQL Moodle
I have a problem, and I do not have much knowledge in SQL to mount a Query of this, that returns exactly this, I am working with Moodle, and I need to return with a query, as following information.…
-
0
votes0
answers34
viewsHow do I email attachment to Moodle?
I’m trying to do this way, but the attachment is not sent, only the email. $fileName = 'Arquivo'.date('d-m-Y H-i').'.xlsx'; $directory = $_SERVER['DOCUMENT_ROOT'].'/local/plugin/exports/'.$fileName;…
-
0
votes1
answer880
viewsMoodle SQL - table of record answers of a questionnaire per student
Do it to the guys! In the Moodle, in the database, in a quiz activity, where I find the record table of answers given by students in a given questionnaire? I am doing so, where in the lastname…
moodleasked 7 years ago Miguel Silva 437 -
0
votes1
answer225
viewsHow to validate higher value received in mysql?
I have a query that returns the last accesses of the users in the system. I would like to know how I could treat to return only those dates that are longer than 15 days. This is the consultation:…
-
0
votes2
answers842
viewsSharp word problem from Mysql database
I’m using this query to show data coming from a Moodle database, but the words that have accents are shown with a query, I’ve used two types of charset utf-8 and ISO-8859-1 but the error continues,…
-
0
votes1
answer180
viewsRequests not being sent with payload in Python - Moodle
Good afternoon, I’m having a problem that’s already giving me a headache. The blessed request payload is not being sent to the webservice, only the url. My code is like this: class Curso: '''Resgata…
-
0
votes1
answer20
viewsHow to use the values of a column present in Table A as the WHERE parameter of a SELECT in Table B?
It is possible to make the SQL query $professores is made based on ID $row["id"] of the 5th line of the code below? Contextualizing: this code displays a list of courses present in a BD, printing…
-
-1
votes1
answer33
viewsTask in the Moodle
I would like to know if it is possible to restrict the student to edit/delete the posted file (upado) of a Task, which even within the deadline has already been given the respective grade by the…
moodleasked 6 years, 7 months ago Bruno Silva 155 -
-1
votes1
answer38
viewsElements of a PHP table appear repeated and others do not appear
I’m putting together a page to display the courses registered within Moodle. For this, I am doing local tests, where I registered 4 disciplines and 5 users. The intention is to display these four…