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
6
votes
4 answers

PHP xmlrpc extension and MAMP

I am trying to get the xmlrpc extension to work for php5 in MAMP (1.8.4). I checked what version of PHP 5 was installed: $ /Applications/MAMP/bin/php5/bin/php -v PHP 5.2.11 (cli) (built: Dec 12 2009 13:19:08) Copyright (c) 1997-2009 The PHP…
John Keyes
  • 5,479
  • 1
  • 29
  • 48
6
votes
2 answers

Convert VBScript to Javascript

Busy debugging a strange issue relating to the way some Flash content communicates a user's progress from a SCORM module back to Moodle. On IE 6, 7, 8, 9, Chrome and Firefox, everything works fine. On IE 10, progress tracking from the Flash module…
Ryan
  • 26,884
  • 9
  • 56
  • 83
6
votes
2 answers

How to define a custom block regions in moodle theme designing?

I am trying to design a new theme, that having side-pre region and bottom region. In this bottom region(From left to right) I have to add 4 blocks side by side. Please help me, how to define the region(area, location) and in which files I have to…
surya
  • 287
  • 1
  • 6
  • 14
6
votes
1 answer

base64_encode and serialize php function params

While browsing Moodle's source code I stumbled across this: repository/recent/lib.php public function get_listing($encodedpath = '', $page = '') { global $OUTPUT; $ret = array(); $ret['dynload'] = true; $ret['nosearch'] = true; …
Kyle Decot
  • 20,715
  • 39
  • 142
  • 263
5
votes
2 answers

Moodle - terms of agreement activity

I'm creating a moodle site for school students with couple courses. When they start the course, I want to have a page like terms of agreement with a check box. The students should be able to proceed with the lessons only after agreeing to the…
Vivek Chandraprakash
  • 1,165
  • 2
  • 21
  • 54
5
votes
3 answers

Accessing a Moodle server's API via Python's request library

I'm trying to access the web services of a Moodle installation I have using Python's requests library. I have the API's documentation and an example project written in php (I haven't looked at php before and is way more difficult than I would…
grhmstl
  • 51
  • 1
  • 2
5
votes
1 answer

How to disable email modification in Moodle

I want to disable user modification of their email account after registration in Moodle 3.1.7 I tried this with no luck https://moodle.org/mod/forum/discuss.php?d=169041
Otto
  • 4,020
  • 6
  • 35
  • 46
5
votes
2 answers

Moodle 3.5 with Reverse proxy

I'm having troubles setting up a moodle instance behind an apache proxy. Here's my apache front-end that proxies to the running server. ServerName public.domain.com ProxyRequests Off ProxyPreserveHost On ProxyPass /…
eluish192
  • 145
  • 1
  • 10
5
votes
0 answers

Moodle Filemanager draft image visible only to me

I have been making a plugin which allows admins to upload image, i can see the image(so can other people which is expected), delete and re-upload, but the problem is when another admin try to edit the plugin, they cant see the draft image, they only…
mmiah
  • 51
  • 3
5
votes
1 answer

Getting information from the Moodle API as a student

I'm currently a student at a University and I'm using Moodle everyday. I would like to access some information that is available to me (For example, information of the classes I'm taking, Which assignments are due and when , etc) I did some research…
RonH
  • 357
  • 2
  • 14
5
votes
2 answers

Upload courses to Moodle via FTP

I have a very large Moodle .mbz backup file of a single course - Slightly over 1GB. I need to upload this backup to the server, but of course the file manager Moodle provides won't allow me to do this as the file is too big. So I was wondering if…
James Paterson
  • 2,652
  • 3
  • 27
  • 40
5
votes
3 answers

Passing credentials between sites

I am running two different sites on two different servers with two different domains. One site is running Joomla, the other Moodle. I have configured the Moodle server to base its authentication on the users table on the Joomla site, so we have an…
nickf
  • 537,072
  • 198
  • 649
  • 721
5
votes
1 answer

PHP calculate half of 8 hour working day

We have Moodle plugin, where we add the travel time of each employee. Until now, we calculated the duration of the travel time in days, as we added the data for every employee only in such form timepickup- 21.10.2105 timereturn-23.10.2015. The…
freudsfreund
  • 143
  • 2
  • 20
5
votes
1 answer

Create Moodle course dynamically using API

I have been asked to create an engine that will take a course(name, short-name, category) from our local database and add it to moodle. I am thinking of using Moodle API for this. I tried using the webservice with no luck. I need something like…
Johnny Zghaib
  • 518
  • 1
  • 12
  • 30
5
votes
2 answers

Moodle user enrollment API

I have been asked to create an engine that transform our data on SQL to Moodle data (user, courses, enrollments). i got stuck at a point where i need to enroll a student programmatically using Moodle API without the need to manipulate the…
Johnny Zghaib
  • 518
  • 1
  • 12
  • 30