Non-unique email addresses
From The Lyceum Wiki
By default, Lyceum requires each user to have a unique email address. IE, n email address may only be used to register a single account.
For some deployments, this might not be desirable. For example, in a K-12 environment where the users might not have an email address.
The unique email address requirement may be removed by performing the following steps. This configuration has not been tested extensively but should work quite well.
- If you haven't installed Lyceum yet, modify
src/lyceum/wp-admin/upgrade-schema.php, around line 159. ChangeUNIQUE user_email (user_email)toKEY user_email (user_email). - If you have already installed Lyceum and you do not wish to start over, perform these SQL queries (you will have to modify them slightly depending on if you used a table prefix in wp-config.php):
ALTER TABLE `users` DROP INDEX `user_email`; ALTER TABLE `users` ADD INDEX ( `user_email` ); - In
src/lyceum/wp-register.php, comment out the lines that check for email collisions, lines 199-201 (this may vary slightly for different versions of Lyceum)
I think that's it. You are free to configure the rest of Lyceum as you see fit. Note that an email address is still required per registration. If users are being created by the batch, then the same admin email address may be used for each user.
John H: let us know how it goes :)
