Ability to login with email as well as username:
source:
http://xoops.peak.ne.jp/md/d3forum/index.php?topic_id=3038
include/checklogin.php
// EmailLogin begin
if( strstr( $_POST['uname'] , '@' ) ) {
@list( $uname ) = $xoopsDB->fetchRow( $xoopsDB->query( "SELECT loginname FROM ".$xoopsDB->prefix('users')." WHERE email='".$myts->addSlashes($_POST['uname'])."'" ) ) ;
}
// EmailLogin end