I have thought about this but then I would have to modify the entire forum to view the username.Add instructions telling them to use their email address as their username at registration?
Yes, but I do not want usersame to be used as login at all (why?: viewtopic.php?f=466&t=2278011 )Walther wrote:Basically you want this mod ported to an extension: https://www.phpbb.com/customise/db/mod/ ... via_email/
Too bad, it would be nice to just redirect the verification to a different field.I've done a quick check, there is no event in login functionality in phpBB 3.1, or I didn't found it.
So maybe you have to do an event reqeust first to get an event where you can implement code for this.
Otherwise the only solution I would know at the moment is do an own authorisation system.
We'd appreciate it if you stick to English only, thanksjerome1362 wrote:Quelqu'un serait-il capable de créer une extension pour que les utilisateurs se connecte via leurs email au lieu de leur pseudo.
Simplement pour la connexion et non l'affichage sur le forum.
Open /phpbb_root/phpbb/auth/provider/db.php and search for $username_clean = utf8_clean_string($username);. Just below that, make sure the SQL-query looks like this instead:
Code: Select all
$sql = 'SELECT * FROM ' . USERS_TABLE . " WHERE user_email = '" . $this->db->sql_escape($username_clean) . "' OR username_clean = '" . $this->db->sql_escape($username_clean) . "'";
I want users to log in with e-mail instead of username. Can someone instruct me how to modify my phpbb 3.1.1 board to achieve this? For obvious reasons I will not allow reuse of e-mail.
After enabling (including installing 'helper' and 'allow email login' i'm not able to succeed login with email,, Anything else to be done?SiteSplat wrote:There is already an extension for this. https://github.com/ForumHulp/loginwithemail
You can use it with my premium themes as well.