mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 02:16:41 +02:00
Moodle - the world's open source learning platform
https://moodle.org/
![]() Credit: Alastair Pharo <alastair@catalyst.net.nz> Database -------- 1) This plugin previously only worked for students. I have made it so that you can _optionally_ specify a third column in your external database that contains some kind of role information (similar to the other two fields, you can choose any column in the mdl_role table to map to). If you do this, then the code loops over for each different kind of role and queries the external database. 2) There is a *slight* problem to be aware of, if a moodle configuration was upgraded to use the new role columns, then downgraded again, some roles might get left behind in the database when the large-scale sync thing goes through (that is, record pruning doesn't scale back quite properly). These would be cleaned away by setup_enrolments at login time, however, and the scenario was unlikely enough for me to decide to leave it for now. 3) If you don't have role columns there is a 'default role' setting that you can set (made by Martin D). This will only be obeyed when no role columns are specified. If this is set to 'default', then the course default role is used, on a per-course basis (which usually means student apparently). 4) From (3), my understanding is that if no config settings are changed, and the default role for all upgraded courses is student, that a smooth upgrade to 1.7 will occur for users of the database enrolment plugin. |
||
---|---|---|
admin | ||
auth | ||
backup | ||
blocks | ||
blog | ||
calendar | ||
course | ||
doc | ||
enrol | ||
error | ||
files | ||
filter | ||
grade | ||
install | ||
iplookup | ||
lang | ||
lib | ||
login | ||
message | ||
mod | ||
my | ||
pix | ||
question | ||
rss | ||
search | ||
sso/hive | ||
theme | ||
user | ||
userpix | ||
CHANGES | ||
config-dist.php | ||
file.php | ||
help.php | ||
index.php | ||
install.php | ||
README.txt | ||
tags | ||
version.php |
README $Id$ ------ QUICK INSTALL ============= For the impatient, here is a basic outline of the installation process, which normally takes me only a few minutes: 1) Move the Moodle files into your web directory. 2) Create a single database for Moodle to store all it's tables in (or choose an existing database). 3) Visit your Moodle site with a browser, you should be taken to the install.php script, which will lead you through creating a config.php file and then setting up Moodle, creating an admin account etc. 4) Set up a cron task to call the file admin/cron.php every five minutes or so. For more information, see the INSTALL DOCUMENTATION: http://docs.moodle.org/en/Installing_Moodle A local copy can also be found in lang/en_utf8/help/install.html (or your language) Good luck and have fun! Martin Dougiamas, Lead Developer