You can login as the imported users, using the password specified in the import-mt.php file. Alright, no teasing 😉
The password is changeme
Do change the password soon.
Now suppose you have an MT user called Andrew. Your WordPress blog did not have Andrew in it. Now when you import the posts, WordPress will create a new user called Andrew, for Andrew’s posts. Since wordpress did not have user “Andrew” before the import, and has one after the import took place since it created a user called “Andrew”, Andrew is a new WP user? How can I make it less confusing in the source code? Please let me know and I will incorporate changes.
Posts are treated as the author’s property and so you cannot reassign them through wordpress. You can run a simple query in MySQL to update the post authors. But before we get to that, can you please let me know, if :
1) WordPRess created the new authors corresponding to the existing MT authors when you did the import?
2) Whether the password ‘changeme’ worked when you tried to log in as the newly created user?
Thank you.
Thread Starter
fulham
(@fulham)
First off, let me just say that the comments in the code are excellent and make life a lot easier for non PHP & HTML experts like me.
But I guess the one thing that confused me was that the comments said that the MT usernames would appear in the code in italics (at least that’s how I read it), but in my case that did not appear to happen – there were no user names in my code (indeed I thought it would be odd that they would appear in code).
To answer the specific questions:
1) WordPRess created the new authors corresponding to the existing MT authors when you did the import?
Yes, it picked up ther two authors, including email addresses fine. So I have 3 authors; site admin plus the two named MT users.
2) Whether the password ‘changeme’ worked when you tried to log in as the newly created user?
No, it did not (incidentally, I have deleted all cookies associated with the site in case that was screwing things up)
cheers
Thread Starter
fulham
(@fulham)
So I haven’t managed to solve this yet, so I was wondering, should I try deleting the passwords of the two named users using the method described here so I can at least log in as them?
Or is that a bit drastic?
Any advice greatly appreciated.
cheers.
Thread Starter
fulham
(@fulham)
OK, well this (or I) might seem dumb, but perhaps people should be aware that when you import MT users, WordPress capitalizes the initial letter of the MT named users.
Obvously as logins are case sensitive you need to adapt to that – so ‘frank’ in MT becomes ‘Frank’ in WP.
Annoying, but now I know and I can log in.