2011-08-30, 03:20 PM
This fix will allow users' bbPress 1.0 passwords to work in MyBB 1.6 post-merge.
- Download 'class.passwordhash.php', and put it in '/inc/plugins/bbPress/'.
- Edit 'loginconvert.php' as shown below.
// TODO: Finish this!
function authenticate_bbpress($password)
{
return false;
}
to this// Authentication for bbPress 1.0
function authenticate_bbpress($password)
{
require_once('bbPress/' . 'class.passwordhash.php');
$wp_hasher = new PasswordHash(8, TRUE);
if ($wp_hasher->CheckPassword($password, $this->user['passwordconvert']))
{
return true;
}
return false;
}