This is quite easy
Ok, open login.php
Find this line:
$form_username = trim($_POST['req_username']);
Replace with
$form_email = trim($_POST['req_email']);
Then, find this line:
$username_sql = ($db_type == 'mysql' || $db_type == 'mysqli') ? 'username=\''.$db->escape($form_username).'\'' : 'LOWER(username)=LOWER(\''.$db->escape($form_username).'\')';
Replace with:
$email_sql = ($db_type == 'mysql' || $db_type == 'mysqli') ? 'email=\''.$db->escape($form_email).'\'' : 'LOWER(email)=LOWER(\''.$db->escape($form_email).'\')';
After that, find:
$result = $db->query('SELECT id, group_id, password, save_pass FROM '.$db->prefix.'users WHERE '.$username_sql) or error('Unable to fetch user info', __FILE__, __LINE__, $db->error());
Replace with:
$result = $db->query('SELECT id, group_id, password, save_pass FROM '.$db->prefix.'users WHERE '.$email_sql) or error('Unable to fetch user info', __FILE__, __LINE__, $db->error());
Find:
$required_fields = array('req_username' => $lang_common['Username'], 'req_password' => $lang_common['Password']);
Replace with:
$required_fields = array('req_email' => $lang_common['E-mail'], 'req_password' => $lang_common['Password']);
Find:
<label class="conl"><strong><?php echo $lang_common['Username'] ?></strong><br /><input type="text" name="req_username" size="25" maxlength="25" tabindex="1" /><br /></label>
Replace with:
<label class="conl"><strong><?php echo $lang_common['E-mail'] ?></strong><br /><input type="text" name="req_email" size="25" maxlength="25" tabindex="1" /><br /></label>
This should do it Have fun