Moodle: Difference between revisions

From UmsWiki
Jump to navigation Jump to search
Kia (talk | contribs)
No edit summary
Kia (talk | contribs)
 
(46 intermediate revisions by 5 users not shown)
Line 1: Line 1:
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 are automatically get to 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.
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.
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 ==
==Prerequisites==


=== Module requirements ===
===Module requirements===
[[UMS]]
[[UMS]]


=== What to have ready ===
===What to have ready===
Moodle
Moodle


== 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]]
[[File:Image.png|none|thumb|643x643px]]


Click Add.
Click Add.
[[File:Moodleorganizationsettings.png|none|thumb]]
[[File:Moodleorganizationsettings.png|none|thumb|593x593px]]
 
==Organization settings==
[[File:Moodle organization settings2.png|none|thumb|534x534px]]
 
'''Description'''
 
Give your Organization setting a name.


Organization settings:
'''DatabaseServer'''
[[File:Moodle organization settings2.png|none|thumb]]


·        '''Description:'''  Give your Organization setting a name.
Name of database server hosting the Moodle database.


·        '''DatabaseServer:''' Name of database server hosting the Moodle database.
'''DatabaseName'''


·        '''DatabaseName:'''  Name of Moodle database.
Name of Moodle database.


·        '''Database TablesPrefix:''' Table prefix set when installing Moodle.
'''Database TablesPrefix'''


·        '''UserName:'''  UserName for the user authorized to use the '''Webservice Token'''.
Table prefix set when installing Moodle.


·        '''Password:''' Password for the user authorized to use the '''Webservice Token'''.
'''UserName'''


·        '''URL:''' URL for your Moodle installation ex. <nowiki>http://moodle.inlogic.dk</nowiki>
UserName of the user that can access the database.


·        '''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 )
'''Password'''


·        '''DataPath:'''  Moodle data path ex. \\moodle.inlogic.dk\c$\Moodle\server\moodledata\filedir
Password of the user that can access the database.


·        '''DatabaseType:''' Choose Database type used for Moodle..
'''URL'''


o  Microsoft SQL
URL for your Moodle installation ex. <nowiki>http://moodle.inlogic.dk</nowiki>


o  MySQL
'''Webservice Token'''


o  Oracle SQL
UMS Uses REST when communicating with moodle webservices.


Moodle Site settings:
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'''
'''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
From Configurator, Edit existing template > Moodle > Manage > Add  or  Configurator > Modules > Moodle > Site Settings > Add
[[File:Moodle Site Settings.png|none|thumb]]
[[File:Moodle Settings.jpg|none|thumb|961x961px]]
 
===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 [[Configurator/Picture_libraries|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 [[Configurator/Picture_libraries|Picture libraries]]
 
===Course===
[[File:Moodle Course Settings.jpg|none|thumb|1044x1044px]]
 
 
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===
[[File:Moodle Cohort Settings.png|none|thumb|895x895px]]
See [[LMS Settings]] for options not descriped below
====Activity sites====
See [[Site selection settings]]
 
====Course sites====
See [[Site selection settings]]


·        '''Description:'''  Give the Site settings a name. '''( Required field )'''
==Template Settings==
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|814x814px]]


·        '''Organization settings:'''  Choose the Organization setting you want to use for this site setting. '''( Required field )'''
'''Description'''


·        '''Default country:'''  Choose default country.
Enter a description for this setting


·        '''Authentication method:'''  
'''Cohort category'''


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


o  Manual
'''SQL Groups'''


·        '''Mail domain for new students:''' 
See [[LMS Settings]] for this option


== Technical settings ==
==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;


== FAQ ==
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