1) edit file called users_reg.inc, find a line which says "$this->id = DB_LASTID();" right after this line put the following code:
if( $GLOBALS['EMAIL_CONFIRMATION'] == 'N' ) $this->email_confirm();
2) Go in to your MySQL database and type the following command, it will "confirm" all the current unconfirmed users, which should be fine, because you are trying to use the forum without email confirmation.
UPDATE fud_users SET email_conf='Y';
]]>