![]() |
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. PHP Code:
Hope this helps someone. |
but atleast you could tell how to apply this mod ???
|
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:
if ($_POST['do'] == 'login') |
Quote:
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. |
no explanation at all
|
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: https://vborg.vbsupport.ru/showthrea...22#post1357022 |
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:
if ($_POST['do'] == 'login') |
Thank you, its working fine with 3.7.3 too :)
|
All times are GMT. The time now is 07:42 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|