Login by username or email
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: PHP Code:
if ($vbulletin->userinfo = $vbulletin->db->query_first("SELECT userid, usergroupid, membergroupids, username, password, salt FROM " . TABLE_PREFIX . "user WHERE username = '" . $vbulletin->db->escape_string(htmlspecialchars_uni($username)) . "'"))
PHP Code:
// Start hack login with mail address (MarcoH64)
Download
Login with Email Address v1.00.zip (685 Bytes, 319 downloads) |