MyBB Community Forums
Merge system error when i want import passwords - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: Merge System Support (https://community.mybb.com/forum-180.html)
+--- Thread: Merge system error when i want import passwords (/thread-221074.html)



Merge system error when i want import passwords - Szczurko - 12-14-2018

Hey, I want import database from IPS 4 to MyBB using Merge System, but I have problem with migration passwords. All of the data was migrated to new database; avatars, logins, warns, etc. Merge System doesn't want cooporate with me. Passwords weren't migrated >:C 

I have 10 thousand users on IPS and I can't send request password reset to all users. Someone can help me? 
When I wrote something wrong, sorry - my English isn't very good.

Regards,
Szczurko.

Okey, I fixed one small error. In file merge/boards/ipb4/users.php variable
                $insert_data['passwordconvertsalt'] = $data['members_pass_salt'];
		$insert_data['passwordconvert'] = $data['members_pass_hash'];
		if(mb_strlen($insert_data['passwordconvertsalt']) === 22)
		{
			$insert_data['passwordconverttype'] = 'ipb4';
		}
		else
		{
			$insert_data['passwordconverttype'] = 'ipb3';
		}
to
                $insert_data['salt'] = $data['members_pass_salt'];
		$insert_data['password'] = $data['members_pass_hash'];
		if(mb_strlen($insert_data['salt']) === 22)
		{
			$insert_data['passwordconverttype'] = 'ipb4';
		}
		else
		{
			$insert_data['passwordconverttype'] = 'ipb3';
		}
but salt column is still empty for everyone.