phpBB3Auth - Migrate phpBB3 user/password to VB4
Installation instructions:- Add the field "PWD_Synced" in the phpBB3 table phpbb_users. You can use the following statement.
- "ALTER TABLE `phpbb_users` ADD `PWD_Synced` BOOL NOT NULL DEFAULT '0';"
- copy phpBB3Auth directory to your vb forum installation directory
- change the path to controller.php directory in phpBB3-plugin.xml
- copy the hooks_phpBB3.xml to FORUM_ROOT/inclucdes/xml directory
- in login.php do:
search for:
Код:
if ($vbulletin->GPC['vb_login_username'] == '')
{
eval(standard_error(fetch_error('badlogin', $vbulletin->options['bburl'], ....
}
insert below:
Код:
($hook = vBulletinHook::fetch_hook('phpBB3_login_hook')) ? eval($hook) : false;
- activate plugin system (if not done already) in admincp
- in admin cp import the product file "phpBB3-plugin.xml" at "Download / Upload" Plugins
- re-check if the include for controller.php is right
- in includes/class_bootstrap.php search for:
Код:
$show['nopasswordempty']
change:
Код:
defined('DISABLE_PASSWORD_CLEARING') ? 1 : 0;
to:
Код:
defined('DISABLE_PASSWORD_CLEARING') ? 0 : 1;
phpBB3Auth.zip (6.2 Кб)