The Arcive of vBulletin Modifications Site. |
|
Login via Email Details »»
|
|||||||||||||||||||||||||
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. Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
but atleast you could tell how to apply this mod ???
|
|
#3
|
|||
|
|||
|
Is this finished? how exactly can a user login through their email?
|
|
#4
|
|||
|
|||
|
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') |
|
#5
|
|||
|
|||
|
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. |
|
#6
|
||||
|
||||
|
no explanation at all
|
|
#7
|
|||
|
|||
|
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 |
|
#8
|
|||
|
|||
|
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') |
|
#9
|
||||
|
||||
|
Thank you, its working fine with 3.7.3 too
|
![]() |
|
|