![]() |
|
Mod Options |
![]() |
|||||||||||||||||||
Login by username or email
![]() Developer Last Online: Dec 2010 ![]() ![]() ![]()
This code modification was made as part of a request in this thread: http://www.vbulletin.org/forum/showt...5&page=1&pp=15
All that it does is allow to use the email address instead of the username to be used to login (username also still works). Since people where stating that it should be released, well here it goes. 1 File edit: in file includes/functions_login.php, find:
and replace by:
This will allow logging in with either mail or username. Download Now Only licensed members can download files, Click Here for more information. Show Your Support
No members have liked this post.
|
Comments |
#2
|
|||
|
|||
good idea, anyway, this is only a if statement to add, so it's not complicated to enhance if needed (like register by email only...)
No members have liked this post.
|
#3
|
|||
|
|||
email only would even be easier, just replace 1 word in the original file.
__________________
Marco van Herwaarden Ex vBulletin.org Coordinator No members have liked this post.
|
#4
|
|||
|
|||
Wow, this is awesome.. except I won't be using it, maybe later. I like the concept and idea, it can be like a passport system if you integrate it into many sites.
![]() ![]() No members have liked this post.
|
#5
|
|||
|
|||
Just a pitty it has to be a code change.
__________________
Marco van Herwaarden Ex vBulletin.org Coordinator No members have liked this post.
|
#6
|
||||
|
||||
how about extend this to allow userid logging ?
No members have liked this post.
|
#7
|
|||
|
|||
How you mean? Log what about a userid?
This is a simple code mod that make it possible to login with email address, there is no logging involved in this, and there won't be also.
__________________
Marco van Herwaarden Ex vBulletin.org Coordinator No members have liked this post.
|
#8
|
|||
|
|||
i think he was referring to login via with our userid indead of email or username... this becomes a little useless here... who remembers their userid better than their username?!
No members have liked this post.
|
#9
|
|||
|
|||
Lol, well logging in with userid could be done the same way, but it won't be easier to remember.
__________________
Marco van Herwaarden Ex vBulletin.org Coordinator No members have liked this post.
|
#10
|
||||
|
||||
Originally Posted by nexialys
me and most of my member
ppl who have joined for a long period of time would remember it. well whatever, just an idea No members have liked this post.
|
#11
|
|||
|
|||
just replace email with userid and you're done.
__________________
Marco van Herwaarden Ex vBulletin.org Coordinator No members have liked this post.
|
#12
|
||||
|
||||
Register by email would be good as well...
__________________
RealOpinion.com - Discuss politics, religion, philosophy, and more! No members have liked this post.
|
#13
|
|||
|
|||
I was doing some playing around with this hack and something that I noticed was that if you have more than one user name assigned to the same email address it cannot tell which one to login as and it logs you in on the first one in the user id list.
Other than that it seems to work fine. Thank you for taking the time to create this hack Marco, Im still undecided as of right now though If ill be using this hack or not. Doug No members have liked this post.
|
#14
|
|||
|
|||
Originally Posted by dcpaq2
Well that would make sense. I don't think this is the right hack if you allow multiple users (although they are probably all the same person) to share 1 mail address.
__________________
Marco van Herwaarden Ex vBulletin.org Coordinator No members have liked this post.
|
#15
|
||||||||
|
||||||||
Maybe instead of:
...you could do this:
I did it on ours, and at least it prevents a shared email address from logging into any of them. Of course, I don't have any feedback to the user, cuz I don't know how... ![]() No members have liked this post.
|
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 05:35.