moodle

Moodle 2.0 with Nginx backend

匿名 (未验证) 提交于 2019-12-03 01:34:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Hello I am looking for a tutorial on how to configure a server for Moodle 2.0 with nginx as the server and PHP-FPM or FastCGI with mySQL as the backend. Sorry if I am confusing these terms bit of a server architecture noob. Probably would run it on Ubuntu/Debian machine found a tutorial for older versions of Moodle with older PHP and PostgreSQL compiled from source. This would slow down my deployment plans and seems deprecated. Also would prefer MySQL over Postgres based on my experience level with MySQL. Can anyone out there make some

Using MOODLE create users and enroll them in courses via SQL

匿名 (未验证) 提交于 2019-12-03 01:25:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I need to create an extern application that creates, modifies and enroll users of Moodle. I've been reading moodle documentation but its more for front administrators that for developers. How can I do to create a user? which tables hold obligatory information about them? and how do I enroll existing users to moodle? 回答1: You should use web services rather than using SQL - https://docs.moodle.org/dev/Creating_a_web_service_client Enable web services /admin/search.php?query=enablewebservices Enable rest protocol /admin/settings.php?section

Create user using Moodle webservice

匿名 (未验证) 提交于 2019-12-03 01:17:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have tried to create a new user on the Moodle by web service api. I tried with a example that i found on the github and with another php code In the both i receive the same response: "Missing required key in single structure: users" the response: { "exception":"invalid_parameter_exception", "errorcode":"invalidparameter", "message":"Invalid parameter value detected", "debuginfo":"Missing required key in single structure: users" } I try to change the object by a array, but the error continues. my code: $functionname = 'core_user_create

Windows系统XAMPP安装Moodle教程

匿名 (未验证) 提交于 2019-12-02 22:10:10
   一.安装工具下载:     系统环境:    集成软件:     xampp最新版下载地址: https://www.apachefriends.org/index.html    Moodle下载:     Moodle最新版下载地址: https://download.moodle.org/releases/latest/      Moole 3.5.2+ :  后面的+表示Moodle是稳定版     如果要使用和我一样的版本的话,使用下面的下载地址:          链接:https://pan.baidu.com/s/1b0j2MLhdz1GzrXRiRVhFnA         提取码:tg73 二.安装环境配置:   由于我的电脑上已经有IIS服务器了,IIS服务器使用的是80端口,你如果安装apache的话也会使用80端口,这样会造成冲突,所以我们需要配置IIS的端口。当然你的电脑上没有IIS的话不用执行下面的步骤:    1.使用Windows+R打开运行,输入compmgmt.msc 打开计算机管理       2.定位到IIS管理,点击关闭       3.点击绑定,修改端口       4.点击开始,然后在浏览器中输入localhost:81,可以看到已经可以访问到IIS了,这样端口就修改完成了。    三.开始安装    1.xampp安装:  

Moodle Assignment functionality to insert extra text in assignments

荒凉一梦 提交于 2019-12-02 15:03:54
问题 Many universities have a Blue Card scheme enabling students with specific learning difficulties (SpLDs) to flag their work with a blue card, so the tutor will mark it with due consideration. We needed a way of making it easier for students to flag their work with a blue card, and I have come up with the following script, which goes into the Additional HTML section in Site Administration in Moodle, and works with the Moodle Assignment functionality (see previous post for a blue card script

Email using cron and including attachment to email from moodle

て烟熏妆下的殇ゞ 提交于 2019-12-02 10:41:47
I would like to send emails only to users that have completed a specific course and add a pdf file (a certificate for completing the course) as attachment to the email, and do so at a specific time using moodle cron. I have looked at some plugins to find out how it's done, but I'm still not sure how exactly I should do this. I need: 1. to know how I would add an attachment to an email (and which API to use), 2. how I would use cron to send the emails to the desired group at a certain time, 3. how to retrieve users that have completed the course so that I could send emails (with attachment) to

Moodle Assignment functionality to insert extra text in assignments

送分小仙女□ 提交于 2019-12-02 09:55:07
Many universities have a Blue Card scheme enabling students with specific learning difficulties (SpLDs) to flag their work with a blue card, so the tutor will mark it with due consideration. We needed a way of making it easier for students to flag their work with a blue card, and I have come up with the following script, which goes into the Additional HTML section in Site Administration in Moodle, and works with the Moodle Assignment functionality (see previous post for a blue card script that works with the Turnitin plugin ). First the student clicks the button to add the blue card, which

Video.js jQuery disrupting video play/pause functions in Firefox

假装没事ソ 提交于 2019-12-02 08:33:34
问题 I am trying to use video.js to prevent fast-forward, but allow rewind, for mp4 videos on a Moodle site. The following script works in Chrome and Opera, but not in Firefox: window.onload = function() { if ($('iframe').length > 0) { $('iframe').ready(function() { var videoPlayer = $('iframe').contents().find('video')[0]; var cssLink = document.createElement("link") cssLink.href = "https://vjs.zencdn.net/5.0/video-js.min.css"; cssLink.rel = "stylesheet"; cssLink.type = "text/css"; $('iframe')

Video.js jQuery disrupting video play/pause functions in Microsoft Edge

情到浓时终转凉″ 提交于 2019-12-02 04:35:15
问题 I am trying to use video.js to prevent fast-forward, but allow rewind, for mp4 videos on a Moodle site. The following script works in Chrome and Opera, but not in Microsoft Edge: window.onload = function() { if ($('iframe').length > 0) { $('iframe').ready(function() { var videoPlayer = $('iframe').contents().find('video')[0]; var cssLink = document.createElement("link") cssLink.href = "https://vjs.zencdn.net/5.0/video-js.min.css"; cssLink.rel = "stylesheet"; cssLink.type = "text/css"; $(

Getting information from the Moodle API as a student

一笑奈何 提交于 2019-12-02 01:33:05
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 regarding Moodle's API but it all seemed geared toward the power user who actually runs Moodle (My University). Is there an easy way for me as a student to get the information? My application uses Node.js If your university has enabled Web Services for the mobile app, you can generate your own API token and call the Web Services used by the mobile