update mcp_warn.php improve get_user_rank

explanation: http://area51.phpbb.com/phpBB/viewtopic.php?f=108&t=46051

Not able to login for ticket