Import users (included password) from SMF to G2? Help me!

Started by thongta, May 28, 2006, 05:36:13 PM

Previous topic - Next topic

thongta

Hi everyone,
I'm on the way to intergrate G2 into SMF. I use a iframe to embed G2 to SMF. It's done.
Now, I need a script to run cron job, this script will import users database from SMF to G2 every 1 hour (may be other). I can writer this script with other forum, but I don't know convert from SHA-1 to MD5 password (SHA-1 is the encrypt method of SMF).
Who can see me how to import password from SMF to G2?
Thanks a lot.
hxxp:aha-fun.com [nonactive]

winrules

It is impossible to convert directly. However there is no need to do this, as when a user logs on SMF will ask them to type in their password again so it can encript it correctly. (When a use logs on, SMF tries MD5ing the password, if that doesn't work it tries a few different methods before rejecting the password).


winrules
SMF Developer
               
My Mods
Please do not PM me for support.


thongta

Good idea, winrules.
I view G2 database, and detect that MD5 is not use in G2.
How did G2 encrypt password?
hxxp:aha-fun.com [nonactive]

JayBachatero

Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

Advertisement: