Introduction This little mod allows your members to login using either their username or email address. Note: If you allow more than one member to have the same email address then don't use this mod as it won't be able to figure out which member is trying to login Installation Import the Product XML
That' s pretty cool Alan! For some reason I've always preferred the IPB way of doing login (email or member name). This could save me some admin time. I get emails every so often from members who forgot their member name. Having the ability to use email login should prevent that. Just out of curiosity does anything crazy happen when a member uses their email address as a user name?
It shouldn't be affected. Here is the process: - User logs in - If vBulletin returns the "Unknown username" error, then this mod kicks in - This mod checks to see if there is a user record who's email address matches the "username" that the user entered - If it finds a match, it fetches the username for that email address - It then calls the vBulletin login function using the username that it found - vBulletin then kicks in again and checks the username (that we've just looked up) and the password that the user entered. If the user originally used their email address as their username then the normal vBulletin login function would match it as their username and this mod would never get called
Brilliant mod. Tried it with both 3.8.1 and 4.0.4.1 Works a treat. Just need where to alter the "User Name" bit in the log in box to "User Name or Email" Top man for making this one
Aye, I haven't released any of my mods over at vbulletin.org in many years No probs, happy to hear it's working ok
nice mod Alan, may have to add this one This was one of the things I liked about IPB, good to see an option with vBulletin now
Same here, love to be able to login with my email address as that's constant across all the forums I visit, my user name tends to change from site to site so I usually have to look it up if I haven't logged in for a while Much easier to just login with email address and it's a feature I wish all Forum software would include.
Good mod mate, will you be making this for IPB when the time comes, I also wish I could do this on every site, but that means i gotta change all of those emails first .
Hi. I added this feature neat feature; thank you. Does anyone know how to change the text "User Name" beside the login form, which is within the navigation bar on the index page? I was thinking it may be as simple as looking in the Phrase Manager, but there doesn't seem to be one specifically for the particularly instance of the text "User Name" I have in mind. Also, I thought of looking in "navbar" but in all that code I didn't see a particular "vbphrase" I could replace with the desired text: "User name or email address."
Wow! Great share Alan - Thanks so much. /me wonders where the install button is LOL Anyway - much appreciation Jacquii.
An excellent Mod! But is it possible just to make the users to use their emails to login and to disable them using their username, due to people bruteforcing usernames? Or maybe add a captcha to the login form. Would be great for vb4.
Hey there, I know this is an old thread but was wondering if anyone knew if this would work on vb4.1.x