I'm not sure where the code that was posted went, or who posted it but thanks.
Here it is again, this is for v2.0.x
in /sources/register.php FIND
and comment out CODE
if ( $ibforums->vars['converge_login_method'] == 'username' )
{
$DB->simple_construct( array( 'select' => 'name, id, email, mgroup', 'from' => 'members', 'where' => "LOWER(name)='$member_name'" ) );
$DB->simple_exec();
}
else
{
$DB->simple_construct( array( 'select' => 'name, id, email, mgroup', 'from' => 'members', 'where' => "LOWER(email)='$member_name'" ) );
$DB->simple_exec();
}
below the commented out code add:
CODE
$DB->simple_construct( array( 'select' => 'name, id, email, mgroup', 'from' => 'members', 'where' => "LOWER(name)='$member_name' OR LOWER(email)='$member_name'" ) );
$DB->simple_exec();
in /lang/en/lang_register.php find
'lp_user_name' change line to
CODE
'lp_user_name' => "Enter your account username or email address",
works like a champ.