
John Issac - 2008-10-20 13:17:36
the logedin function checks if the user id is not empty which is always not empty because the Anonymous id is always = 1. I was able to fix that by replacing the follwin line under function user_loggedin
if(is_array($user->data) && isset($user->data["user_id"]) && $user->data["user_id"] > 0) $phpbb_result = "SUCCESS";
BY
if(is_array($user->data) && $user->data["user_id"] != ANONYMOUS && $user->data["user_id"] > 0) $phpbb_result = "SUCCESS";
My bigest problem is that when I login and then try the logged in after I changed it as mentioned above, it doesn't keep the user id that I used to login.