За основу взят хак из этого поста: Re: [FAQ] Преобразование паролей при конвертации
Перед конвертацией базы в phpbb3.3 внести изменения в файл нового форума:
phpbb/passwords/driver/md5_phpbb2.php
найти:
Код: Выделить всё
if ($this->helper->string_compare(md5($password_old_format), $hash) || $this->helper->string_compare(md5(\utf8_to_cp1252($password_old_format)), $hash)
|| $this->salted_md5->check(md5($password_old_format), $hash) === true
|| $this->salted_md5->check(md5(\utf8_to_cp1252($password_old_format)), $hash) === true)
Код: Выделить всё
if ($this->helper->string_compare(md5($password_old_format), $hash) || $this->helper->string_compare(md5(\utf8_to_cp1252($password_old_format)), $hash) || $this->helper->string_compare(md5(iconv('utf-8','windows-1251',$password_old_format)), $hash)
|| $this->salted_md5->check(md5($password_old_format), $hash) === true
|| $this->salted_md5->check(md5(\utf8_to_cp1252($password_old_format)), $hash) === true
|| $this->salted_md5->check(md5(iconv('utf-8','windows-1251',$password_old_format)), $hash) === true)