View Full Version : Login via Email
Ok, basically I wanted to allow users to login via email. This is cheap and straight to the point, so feel free to add to this.
Unfortunately I could not find a hook to use for this, so I hacked my login.html.
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Hope this helps someone.
radarhunter
10 Jul 2007, 23:31
but atleast you could tell how to apply this mod ???
Hornstar
11 Jul 2007, 04:31
Is this finished? how exactly can a user login through their email?
as far as i can see, this allows a user to login (in the forum website, of course) using the couple email_address/password instead of username/password
you need to edit login.php to make it work, changing the part starting with
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
as far as i can see, this allows a user to login (in the forum website, of course) using the couple email_address/password instead of username/password
you need to edit login.php to make it work, changing the part starting with
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Thanks for the heads up, succo!
I edited the original post to make "login.html" bold.
So please, if anyone is interested, just read what I wrote. ;-)
Questions, comments, feedback? I am all ears.
COBRAws
11 Jul 2007, 20:42
no explanation at all
ianskate
10 Oct 2007, 18:44
nice... im afraid to try this on my active forum but i might install another vb forum soon and will try it out on that.
i also have a related thread here asking the same topic but without hacking the source:
http://www.vbulletin.org/forum/showthread.php?p=1357022#post1357022
ianskate
25 Jan 2008, 15:00
for the record, this works very nicely.
to those whom say there is no explanation - u need to open the login.php file in ur forum folder on ur server, and just insert the code above where Till stated. its just a simple copy and paste, the only thing you need to edit is your user table name.
if you cant for some reason find that spot in your code, just do a search (ctrl + F) in the file for the line
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
and paste appropriately. :up:
Thank you, its working fine with 3.7.3 too :)
vBulletin® v3.6.12, Copyright ©2000-2012, Jelsoft Enterprises Ltd.