Questions tagged as 'moodle'

2
answers

Problem with accented words coming from the MySql database

I am using this query to show data coming from a moodle database, but words that have accents are shown with a question mark, I already used two charset types utf-8 and ISO-8859-1 but the error continues, follow image and code:...
asked by 24.07.2018 / 21:47
1
answer

Moodle SQL - record table responses from one questionnaire per student

Faaaaala galera! In moodle, in the database, in a quiz activity, where do I find the record table of answers given by students in a given questionnaire? I'm doing so, where in the field lastname, is where I put a code for school and in the fi...
asked by 01.11.2017 / 13:34
1
answer

Change Moodle user permission

How to change a common user's permission for an admin user in Moodle3.3 through SQL commands.     
asked by 16.08.2017 / 16:42
1
answer

enroll_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 moodle math math math math math math math math math math math math math math math math math But if I try to use the following err...
asked by 11.03.2014 / 22:08
1
answer

Requests not being sent with payload in Python - Moodle

Good afternoon, I have a problem that is already giving a certain headache. The blessed payload of the request is not being sent to the webservice, only to the url. My code looks like this: class Curso: '''Resgata todas as disciplinas mo...
asked by 27.10.2018 / 22:18
0
answers

Consultation in the Moodle bank in order to bring the number of students approved in a certain course

I need to create a script that searches the bank of Moodle for the number of students approved in a given course and the number of students dropping out, I ask the help of experts about the Moodle bank schema for a path in order to assemble my q...
asked by 18.10.2018 / 16:23
0
answers

Problem in loading SCORM package

I have a server in AWS (this is not relevant) that has a Moodle installed. I'm having a problem with a Scorm-type activity. I uploaded the Scorm package (a .zip file that contains some SWF, XML and other files) normally and clicked to enter the...
asked by 10.07.2018 / 20:43
0
answers

Moodle: Verify Certificate does not display information

The block Verify Certificate does not pull information about certificates validated by the system, it only shows this screen. Detail to which this code is registered in the system.     
asked by 04.06.2018 / 19:16
1
answer

How to validate the highest value received in mysql?

I have a query that returns me the last accesses of the users in the system. I would like to know how I could handle it to return only dates that were longer than 15 days. The query is this: SELECT u.id, concat(u.firstname,' ',u.lastname)...
asked by 23.03.2018 / 11:43
0
answers

How to send an email attachment in Moodle?

I'm trying to do this, but the attachment is not sent, just the email. $fileName = 'Arquivo'.date('d-m-Y H-i').'.xlsx'; $directory = $_SERVER['DOCUMENT_ROOT'].'/local/plugin/exports/'.$fileName; # Envia e-mail para o supervisor $us...
asked by 15.03.2018 / 18:23