[eluser]alectrash[/eluser]
Hi
Today I struggled getting email activation working but through trial and error I eventually fixed it by commenting out some important code in the Freakauth_light.php library file.
Around line 643 there is an if statement which says if users are registering via email remove user with that id and activation_code from fa_user_temp.
BUT...if id and activation_code are removed from f_user_temp then the code in the rest of the function which checks if they are in the fa_user_temp table and moves them to the fa_user table will not work.
here is the top of the activation function in Freakauth_light.php library file.
Code:
function activation($id, $activation_code)
{
// let's clean the user_temp table
// if we use registration with e-mail verification
/*
if (!$this->CI->config->item('FAL_register_direct'))
{
$this->cleanExpiredUserTemp();
}
*/
However, while I was able to register and get an activation email some of my users have not been able to.
How strong is the Freakauth Light activation email script, people who have hotmail, gmail or yahoo, msn etc are not receiving any emails. Does anyone have any ideas? Has anyone had this problem before?