Skip to content

mrclay/kj_elf_contribs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

This project includes four plugins.

*shibboleth*

The shibboleth directory is a drop-in replacement for the standard Moodle 
auth/shibboleth directory which uses the Shibalike library.

After the new directory is installed, visit the Moodle admin area to 
upgrade the shibboleth plugin. Then visit the Shibboleth configuration page
under Plugins/Authentication/Shibboleth and set at least six values:

Username: elggUsername
Elgg URL: URL to the root of your Elgg install - must have a closing slash)
Shibalike library directory: wherever you have the Shibalike library source 
installed.
First name: dcfFirstName
Surname: dcfLastName
Email address: dcfEmail

By default visitors to the site will need to visit

http://moodle-url/auth/shibboleth/index.php

to autologin using Shibboleth.

Moodle has a standard setting which allows redirecting the login link
to this Shibboleth page. 

*shibalike*

The shibalike plugin directory is an Elgg plugin that should be placed in
the mod directory of your Elgg install and activated using the usual Elgg
admin plugin area. Once activated, you should visit the Shibalike plugin settings
and enter the location of the Moodle configuration file on the local file system.

You also need to create a table called "elf_users" in your Elgg database with
the following columns: `dcf_id` VARCHAR(25), `email` VARCHAR(255), and
`username` VARCHAR(25).

Currently the Shibalike library is stored in mod/shibalike/myclasses
and is loaded using an autoloader in mod/shibalike/start.php.

This is the standard Shibalike library with the addition of a new ElggStore
class in 

myclasses/Shibalike/Attr/Store/ElggStore.php

If you want to move the library location, edit the first line of
mod/shibalike/start.php.

The shibalike plugin changes the login process to accept email address
or DCF ID, and populates the Shibalike session with the appropriate 
content upon login for use by other applications such as Moodle.

The plugin supplies a stripped down login view suitable for iframes 
and accessible through http://elgg-url/shibalike/login

elf_register

This Elgg plugin changes the Elgg registration process to a two step 
process with the passwords and other information collected only after 
the email address has been confirmed. 

It adds first_name, last_name and dcf_id fields, and updates the 
username field in the elf_users table after the registration
process is complete,

The plugin also disables the user's ability to change their Elgg
email address, and modifies the password reset form and the admin user 
creation form.

*qli_recaptcha*

I have modified this standard Elgg plugin to work with Elgg 1.8.

Install it in Elgg's mod directory and activate it using Elgg's
plugin system. You will need to enter your Google Recaptcha private
and public keys in the qli_recaptcha plugin settings to get this to 
work properly.

*Outstanding issues*

I am happy to work on any of these issues once I receive relevant
input/feedback:

Moodle will allow Shibalike logins but will not currently allow you to edit
your profile without supplying your city/town and country.

It also allows you to change your email address, username, first name, last name
and other details. 

It also has Moodle specific questions on forum tracking and email digests.

Do you want some or all of the Moodle profile editing page to be disabled?

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages