[Plugin: PHPBB Single Sign On] Important updates for 0.8.5
-
OK as there is a new version out I will make a new list of suggested fixed for it. With out some of thees changes many users won’t be able to login!
module.phpbb.php line 163, change:
$sql = 'UPDATE ' . USERS_TABLE . ' SET user_password="' . $hashed . '",user_pass_convert=0,user_last_search=1 WHERE username = "' . $username . '"';
to:
$sql = 'UPDATE ' . USERS_TABLE . ' SET user_password="' . $hashed . '",user_pass_convert=0,user_last_search=1 WHERE username_clean = "' . utf8_clean_string($username) . '"';module.phpbb.php line 203, change:
FROM ' . USERS_TABLE . " WHERE username = '" . $name . "'";
to:
FROM ' . USERS_TABLE . " WHERE username_clean = '" .utf8_clean_string($name) . "'";module.wp.php line 78, get_profile is depricated, change:
return get_profile('id', $user);
to:
return (int) get_user_id_from_string($user);I might find more as a test it out in the next couple of weeks.
The topic ‘[Plugin: PHPBB Single Sign On] Important updates for 0.8.5’ is closed to new replies.