Kiril

Moodle – Code Styling for PHP

List of rules for proper development in the Moodle environment

Naming of parameters (do not use “_”  or uppercase)

//BED $Userid, $course_id, $ModuleCourseid
//GOOD $userid, $courseid, $modulecourseid,  $param1, $parm2 ..

The fast way to define test course Moodle using CLI Screen

Kiril

Moodle – How to make a test course in CLI mode

The fastest way to define a test course Moodle using the CLI Screen

php admin/tool/generator/cli/maketestcourse.php --shortname=Course1 --fullname=Course1 --size=M

–size=S – under a 100 users in the course

–size=M – under a 1000 users in the course

add

$CFG->tool_generator_users_password='your password for all tests user';
Kiril

Math – Tangent Point Problem and Solution

In this problem the student is supposed to address some claims about tangents and function and to provide graphs which support his answers. In general student can use 1 method of adding a tangent line (by adding a straight line which is movable and with adjustable slope) and 2 methods of adding a function:

Kiril

Moodle – Extended Essay Validation Plugin

Extended Essay Validation Plugin counts the minimum ormaximum inserted words in the Moodle question type essay and will not allow thestudent to submit anything while the requirements are not met.

Kiril

Moodle – Install Unoconv on Ubuntu

On Ubuntu 16.04 and Ubuntu 18

sudo apt-get install python3-minimal -y 
sudo apt-get install graphviz -y 
sudo apt-get install ghostscript -y 
sudo apt-get install du -y 
sudo apt-get install aspell -y 
sudo apt-get install dot -y 
sudo apt-get install unoconv -y

Source Moodle Doc: https://docs.moodle.org/35/en/Universal_Office_Converter_(unoconv)

Bash Script:

https://github.com/devlionco/bashscripts/blob/master/install_unoconv_moodle_ubunut_18.sh