Moodle: Difference between revisions

From UmsWiki
Jump to navigation Jump to search
Mej (talk | contribs)
Kia (talk | contribs)
 
(16 intermediate revisions by 3 users not shown)
Line 16: Line 16:
==Installation==
==Installation==
Open UMS Configurator and go to Modules > Moodle > Organization settings
Open UMS Configurator and go to Modules > Moodle > Organization settings
[[File:Image.png|none|thumb|537x537px]]
[[File:Image.png|none|thumb|643x643px]]


Click Add.
Click Add.
[[File:Moodleorganizationsettings.png|none|thumb|535x535px]]
[[File:Moodleorganizationsettings.png|none|thumb|593x593px]]


==Organization settings==
==Organization settings==
[[File:Moodle organization settings2.png|none|thumb|508x508px]]
[[File:Moodle organization settings2.png|none|thumb|534x534px]]


'''Description'''
'''Description'''
Line 54: Line 54:
'''Webservice Token'''
'''Webservice Token'''


Token created in Moodle siteadministration. [https://docs.moodle.org/24/en/Using_web_services Guide to create access and token] ( Remember: When adding functions to webservice, add all functions )
UMS Uses REST when communicating with moodle webservices.
 
Token created in Moodle siteadministration. [https://docs.moodle.org/24/en/Using_web_services Guide to create access and token] ( Remember: When adding functions to webservice, add all functions or the ones below)
 
*core_user_create_users
*core_course_create_courses
*core_course_duplicate_course
*core_course_delete_courses
*enrol_manual_enrol_users
*core_role_unassign_roles
*core_cohort_delete_cohorts
*core_cohort_create_cohorts
*core_cohort_add_cohort_members
*core_cohort_delete_cohort_members
 
 


'''DataPath'''
'''DataPath'''
'''This is only used for uploading pictures from pictures library'''


Moodle data path ex. \\moodle.inlogic.dk\c$\Moodle\server\moodledata\filedir.
Moodle data path ex. \\moodle.inlogic.dk\c$\Moodle\server\moodledata\filedir.
Line 72: Line 89:
==Moodle Site settings==
==Moodle Site settings==
From Configurator, Edit existing template > Moodle > Manage > Add  or  Configurator > Modules > Moodle > Site Settings > Add
From Configurator, Edit existing template > Moodle > Manage > Add  or  Configurator > Modules > Moodle > Site Settings > Add
[[File:Moodle Settings.png|none|thumb|824x824px]]
[[File:Moodle Settings.jpg|none|thumb|961x961px]]
'''Description:'''


===Description===
Give the Site settings a name.
Give the Site settings a name.


'''Organization settings'''
===Organization settings===
 
Choose the Organization setting you want to use for this site setting.
Choose the Organization setting you want to use for this site setting.


'''Default country'''
===Default country===
Choose default country. This is used when creating users.


Choose default country. This is used when creating users.
===Authentication method===
Login method for the users


'''Authentication method'''
===Mail domain for new students===
The address appended to their username in Moodle to give them an email address


Login method for the users
===Username for students===
Use a field from the UMS database as username for students


'''Mail domain for new students'''
===Append mail domain to username===
Adds @ + "'''Mail domain for new students'''" to the username when creating Moodle user.


The address appended to their username in moodle to give them an email address
===Mail domain for new employees===
The address appended to their username in Moodle to give them an email address


'''Mail domain for new employees'''
===Username for employees===
Use a field from the UMS database as username for employees


The address appended to their username in moodle to give them an email address
===Append mail domain to username===
Adds @ + "'''Mail domain for new employees'''" to the username when creating Moodle user.


===Upload student information===
===Upload student information===
Line 103: Line 127:
*Phone (Phone1)
*Phone (Phone1)
*Mobile Phone (Phone 2)
*Mobile Phone (Phone 2)
*Mail
*Mail from AD (This is taken from the local Active Directory account)


===Picture library===
===Picture library===
Line 116: Line 140:
*Phone (Phone1)
*Phone (Phone1)
*Mobile Phone (Phone 2)
*Mobile Phone (Phone 2)
*Mail
*Mail from AD (This is taken from the local Active Directory account)


===Picture library===
===Picture library===
Line 124: Line 148:


===Course===
===Course===
[[File:Moodle Course Settings.jpg|none|thumb|1044x1044px]]


[[File:Moodle Course Settings.png|none|thumb|732x732px]]


See [[LMS Settings]] for options not descriped below
See [[LMS Settings]] for options not descriped below


'''Language'''
====Language====
 
The language set on a site when is it created.
The language set on a site when is it created.


'''Course category'''
====Course category====
The category the course is put on when the site is created. The course category is case sensitive and needs to match a category created in Moodle.


The category the course is put on when the site is created. The course category is case sensitive and needs to match a category created in Moodle.
====Maximum upload file size====
Set the file size limit on a course when its created to a specific Mega byte amount.


====Activity sites====
====Activity sites====
Line 144: Line 169:


===Cohort===
===Cohort===
 
[[File:Moodle Cohort Settings.png|none|thumb|895x895px]]
[[File:Moodle Cohort Settings.png|none|thumb|733x733px]]
 
See [[LMS Settings]] for options not descriped below
See [[LMS Settings]] for options not descriped below
====Activity sites====
====Activity sites====
Line 156: Line 179:
==Template Settings==
==Template Settings==
You need to attach a cohort setting to a template. This will tell UMS that cohorts will be created from this template.
You need to attach a cohort setting to a template. This will tell UMS that cohorts will be created from this template.
[[File:Moodle Template Cohort Settings.png|none|thumb|675x675px]]
[[File:Moodle Template Cohort Settings.png|none|thumb|814x814px]]


'''Description'''
'''Description'''
Line 171: Line 194:


==FAQ==
==FAQ==
(CreateLearners) Error Webservice error. User = 010xxxx - Webservice error.  ERRORCODE&amp;gt;&amp;lt;div&amp;gt;<big><u>Adgangskoder skal indeholde mindst 1 små bogstaver</u></big>.&amp;lt;/div&amp;gt;&amp;lt;/ERRORCODE&amp;gt;
Password setting can be changed, see image below
[[File:Moodle.jpg|none|thumb|1054x1054px]]

Latest revision as of 10:23, 2 September 2022

Our Moodle integration is developed for schools, which want to avoid hour-long administrative tasks. The integration automatically creates, maintains and deletes users, based on data from your student administrative system. It also creates and maintains group rooms, which teachers and students can use for teaching purposes. The rooms automatically use the language you require and can be categorized according to your needs, making them easier to find. Rooms that are no longer in use are deleted automatically.

Configuration in UMS

The integration makes it possible to upload pictures of the users to Moodle, making it easy for teachers and students to see whom they are interacting with. If these pictures are replaced in UMS, they are automatically updated in Moodle. Last, but not least, the module can integrate with the AD. This allows users to log into Moodle with the same password they use to access the school’s IT-system. The Moodle integration gives you an easy overview and ensures that the users’ data is always managed correctly, without requiring any manual updates. This frees up time for the IT-department, who can focus on other tasks instead.

If you want to make it easy for students and teachers to keep track of their timetables, you can embed our Web Timetable module in Moodle as an iframe. By doing this, users can access homework and notes that are registered on the various timetable blocks in the timetable. Please note: To embed Web Time Table, the Web Timetable and SSO modules are required. In order to see homework, the Homework module is required.

Prerequisites

Module requirements

UMS

What to have ready

Moodle

Installation

Open UMS Configurator and go to Modules > Moodle > Organization settings

Click Add.

Organization settings

Description

Give your Organization setting a name.

DatabaseServer

Name of database server hosting the Moodle database.

DatabaseName

Name of Moodle database.

Database TablesPrefix

Table prefix set when installing Moodle.

UserName

UserName of the user that can access the database.

Password

Password of the user that can access the database.

URL

URL for your Moodle installation ex. http://moodle.inlogic.dk

Webservice Token

UMS Uses REST when communicating with moodle webservices.

Token created in Moodle siteadministration. Guide to create access and token ( Remember: When adding functions to webservice, add all functions or the ones below)

  • core_user_create_users
  • core_course_create_courses
  • core_course_duplicate_course
  • core_course_delete_courses
  • enrol_manual_enrol_users
  • core_role_unassign_roles
  • core_cohort_delete_cohorts
  • core_cohort_create_cohorts
  • core_cohort_add_cohort_members
  • core_cohort_delete_cohort_members


DataPath

This is only used for uploading pictures from pictures library

Moodle data path ex. \\moodle.inlogic.dk\c$\Moodle\server\moodledata\filedir.

The user running moodle exe must have access to this path.

DatabaseType

Choose Database type used for Moodle. can only be one in the list below. The selected SQL database, the port number must be open in the firewall, since UMS communicates on the database level

  • Microsoft SQL (1433)
  • MySQL (3306)
  • Oracle SQL (1521)

Moodle Site settings

From Configurator, Edit existing template > Moodle > Manage > Add or Configurator > Modules > Moodle > Site Settings > Add

Description

Give the Site settings a name.

Organization settings

Choose the Organization setting you want to use for this site setting.

Default country

Choose default country. This is used when creating users.

Authentication method

Login method for the users

Mail domain for new students

The address appended to their username in Moodle to give them an email address

Username for students

Use a field from the UMS database as username for students

Append mail domain to username

Adds @ + "Mail domain for new students" to the username when creating Moodle user.

Mail domain for new employees

The address appended to their username in Moodle to give them an email address

Username for employees

Use a field from the UMS database as username for employees

Append mail domain to username

Adds @ + "Mail domain for new employees" to the username when creating Moodle user.

Upload student information

Check these boxes to send and update information on students

  • Address
  • Phone (Phone1)
  • Mobile Phone (Phone 2)
  • Mail from AD (This is taken from the local Active Directory account)

Picture library

Upload pictures of students

See Picture libraries

Upload employee information

Check these boxes to send and update information on employees

  • Address
  • Phone (Phone1)
  • Mobile Phone (Phone 2)
  • Mail from AD (This is taken from the local Active Directory account)

Picture library

Upload pictures of employees

See Picture libraries

Course


See LMS Settings for options not descriped below

Language

The language set on a site when is it created.

Course category

The category the course is put on when the site is created. The course category is case sensitive and needs to match a category created in Moodle.

Maximum upload file size

Set the file size limit on a course when its created to a specific Mega byte amount.

Activity sites

See Site selection settings

Course sites

See Site selection settings

Cohort

See LMS Settings for options not descriped below

Activity sites

See Site selection settings

Course sites

See Site selection settings

Template Settings

You need to attach a cohort setting to a template. This will tell UMS that cohorts will be created from this template.

Description

Enter a description for this setting

Cohort category

Enter a category that will be attached to the cohorts when they are created

SQL Groups

See LMS Settings for this option

FAQ

(CreateLearners) Error Webservice error. User = 010xxxx - Webservice error. ERRORCODE&gt;&lt;div&gt;Adgangskoder skal indeholde mindst 1 små bogstaver.&lt;/div&gt;&lt;/ERRORCODE&gt;

Password setting can be changed, see image below