Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.



This project includes four plugins.


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 
First name: dcfFirstName
Surname: dcfLastName
Email address: dcfEmail

By default visitors to the site will need to visit


to autologin using Shibboleth.

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


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 


If you want to move the library location, edit the first line of

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


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.


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

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?
Something went wrong with that request. Please try again.