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
-
Copy the content of this folder in <ILIAS_directory>/Customizing/global/plugins/Services/EventHandling/EventHook/AutoGenerateUsername
-
Access to ILIAS and go to the administration page.
-
Select "Plugins" in the menu on the right.
-
Look for the AutoGenerateUsername plugin in the table and hit the "Action" button and select "Update".
-
When ILIAS update the plugin, hit the "Action" button and select "Activate" that will appear instead of the "Update" link.
-
Hit the "Action" button and select "Refresh Languages" to update the language-files.
-
Now, you can visit the username configuration at "Action" and "Configure"
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