News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

PHP-Fusion 7.02.07

Started by osicja, June 14, 2014, 03:22:23 PM

Previous topic - Next topic

osicja

Hi, i need help.
I have problem with convert.
I converted my php-fusion database to SMF succeful but users "not work"
Image here:
Quoteprntscr(.)com/3st49d
SMF have 1 member but should have 1900+.
Where is problem ?
Please help me and sorry for my bad english :)

AllanD

Have you tried going into your ACP -> Maintenance -> Recount all forum totals and statistics.
Check out this great sites.
KnD Hosting

osicja

Thank you :)
but unable to login.
Pass no convert. (Pass isn´t in a table)
How to repair convertor for pass with md5 hash please ? :)

margarett

Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

osicja

Problem is with all user, no only administrator but thank  ;).
I found probably error.
PHP-Fusion used sha256 but SMF used md5.
But I don´t know how to fix it.
Please help me again ? :)

margarett

SMF uses sha1, not md5.

It's actually quite common that users have to reset their passwords after changing forum software...
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

osicja

Strange. I used md5 for the test user and it work perfect.
So, there isn´t way to do it?

margarett

It worked because LogInOut has a md5 password "adapter" included ;)
It should also be possible to add sha256 to that "adaptation", I just don't know how. But I'm sure I've seen other password encryption methods being added in these boards. I'm not on the computer now but later I'll have a look, see if I can find it ;)
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

osicja


osicja

#9
Still problem with hash.

I need that users can login with sha256 password from PHP-Fusion.

I try this:
if (in_array($user_settings['passwd'], $other_passwords))
{
$user_settings['passwd'] = $sha_passwd;
$user_settings['password_salt'] = substr(md5(mt_rand()), 0, 4);
$other_passwords[] = hash_hmac('sha256', $_POST['passwrd'], $user_settings['password_salt']);

// Update the password and set up the hash.
updateMemberData($user_settings['id_member'], array('passwd' => $user_settings['passwd'], 'password_salt' => $user_settings['password_salt'], 'passwd_flood' => ''));
}


but not work.
Please help me. :)

Advertisement: