Skip to content

This ILIAS plugin provides an event hook to automatically create an username after registration or LDAP authentication. The username will be consisting of informations like firstname, lastname, email, a sequential number etc.

Notifications You must be signed in to change notification settings

bogenschlag/AutoGenerateUsername

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AutoGenerateUsername

This ILIAS plugin provides an event hook to automatically create an username after registration or LDAP authentication. The username will be consisting of informations like firstname, lastname, email, a sequential number etc.

Minimum ILIAS Version: 5.1.0

Maximum ILIAS Version: 5.1.999

Responsible Developer: Fabian Wolf - wolf AT leifos.com

Supported Languages: German, English

Bug Tracker: ILIAS MantisBT

Quick Installation Guide

  1. Copy the content of this folder in <ILIAS_directory>/Customizing/global/plugins/Services/EventHandling/EventHook/AutoGenerateUsername

  2. Access to ILIAS and go to the administration page.

  3. Select "Plugins" in the menu on the right.

  4. Look for the AutoGenerateUsername plugin in the table and hit the "Action" button and select "Update".

  5. When ILIAS update the plugin, hit the "Action" button and select "Activate" that will appear instead of the "Update" link.

  6. Hit the "Action" button and select "Refresh Languages" to update the language-files.

  7. Now, you can visit the username configuration at "Action" and "Configure"

Patch Installation

For a good experience you can apply a patch to get rid of the username field on the registration screen. This is useful because the username which is set by the user on the registration screen will be overwritten by this plugin. This can be confusing if the user wants to log in with his chosen username and doesn't use the one provided by this plugin via new account mail. Make sure you checked "Registration" on the username configuration context or new created users will have no username. Run this on your commandline top apply this patch:

cd <ILIAS_directory>
patch -p0 < Customizing/global/plugins/Services/EventHandling/EventHook/AutoGenerateUsername/patches/5_x_xagu_hide_username_patch.diff

To remove this patch run :

cd <ILIAS_directory>
patch -R -p0 < Customizing/global/plugins/Services/EventHandling/EventHook/AutoGenerateUsername/patches/5_0xxagu_hide_username_patch.diff

About

This ILIAS plugin provides an event hook to automatically create an username after registration or LDAP authentication. The username will be consisting of informations like firstname, lastname, email, a sequential number etc.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 93.6%
  • JavaScript 4.0%
  • HTML 2.4%