News:

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

Main Menu

Importing Wordpress users to SMF user database (not integration)

Started by k12onos, January 10, 2013, 03:42:32 AM

Previous topic - Next topic

k12onos

Hi guys,

Firstly I hope I didn't make a mistake posting this here. This has nothing to do with integration so I purposely didn't post this in the integration forum.


I have a WordPress site that I'm going to throw away. I'm replacing it with a stand alone SMF (new install). Now I want to import the wordpress users to SMF. What I want to do is simply let user login to SMF using their same WordPress username and password (and keep their emails too).

I know I would need to meddle with the MySQL databases, but I have some doubts..

The logic that I have now is this:

-> Copy the username and email database tables of WordPress users to the relevant/equivalent database tables in SMF.


Will that work just fine?


And as for the password:

As far as I know wordpress stores the user password in somekind of encryption. Will user be able to login using their normal WordPress password if I just simply copy the content of the password tables? I would really prefer so users do not have to reset their passwords, is there someway to do this?



I hope anyone can help me or give me some pointers. I would really appreciate it, thanks! :)

ThorstenE

download the phpBB converter (or any other) from the downloads page and extract it, you need the file named convert.php.
Then download wordpress3_to_smf.sql from my github account:
https://github.com/eurich/smf_converters
upload both files to your SMF folder and follow this guide:
http://wiki.simplemachines.org/smf/Converting



Advertisement: