benlm - 19 March 2007 09:28 PM
1. Option to allow register without activation email.
Can’t help with number 2 right now, but…
Create a config item called something like FAL_activation_email_onoff, and set it to false.
Then in Freakauth_light.php (the library), at about line 474, replace the code that’s there (can’t remember what it is now, but you’ll work it out) with:
if($this->CI->config->item('FAL_activation_email_onoff')) {
$this->_sendActivationEmail($user_id, $username, $password_email, $email, $activation_code);
} else {
$this->activation($user_id, $activation_code);
$this->login();
}