vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - Allow users to login with their email address OR username (https://vborg.vbsupport.ru/showthread.php?t=264192)

ibautocommunity 05-24-2011 10:00 PM

Allow users to login with their email address OR username
 
1 Attachment(s)
Unsupported!

Works for: vBulletin 3.7 + and vBulletin 4+

Allow users to login to your forum with:

EMAIL ADDRESS + PASSWORD

OR

USERNAME + PASSWORD

For advanced users:
*This modification can also check and validate a different password encryption algorithm ; that code can be left alone or commented out. This is for advanced users who import a non-vbulletin forum into vbulletin and would like to validate passwords using a different method.

Disasterpiece 05-25-2011 04:51 PM

Hm looks rather dirty-hacky to me, are you sure this is the only way to accomplish this functionality?

Why don't you test for an email and query the username according to that email and replace it with the username before you check if the credentials were wrong. Then you wouldn't need to crack the salt also.

However, it seems to do what it's made for. Appreciate your effort.

sulasno 05-25-2011 11:47 PM

tagged and thanks

Brandon Sheley 05-26-2011 12:56 PM

Thanks for the mod!!

/me clicks install

wullieclsfb 05-26-2011 01:21 PM

installed and working well

SuperTaz 06-02-2011 09:47 PM

Tagged. :)

nacaruncr 06-03-2011 04:49 AM

installed + tagged + 5 stars + MOTM :D

it's awesome :D

thanks :D

gavman 06-13-2011 03:18 PM

Downloaded, works great. Thanks so much!

HouseAddict 06-22-2011 02:59 AM

Quote:

Originally Posted by Disasterpiece (Post 2199860)
Hm looks rather dirty-hacky to me, are you sure this is the only way to accomplish this functionality?

Why don't you test for an email and query the username according to that email and replace it with the username before you check if the credentials were wrong. Then you wouldn't need to crack the salt also.

However, it seems to do what it's made for. Appreciate your effort.

How hard would it be to implement that modification or approach into this?

Or create a whole new plugin that does just that?

sticky 06-22-2011 03:53 AM

Will this work with older versions?


All times are GMT. The time now is 03:11 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01009 seconds
  • Memory Usage 1,728KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete