How to authenticate migrated users from phpBB?
-
@skaughtx0r Handling the passwords is a pain, and there is no easy way to authenticate NodeBB with MD5, except, like you mentioned, you would write some middleware-plugin that will intercept NodeBB's login, and instead authenticate against your MD5 passwords db, I would highly recommend not doing that, that's just going to be a lot of work in the future, especially that you would need to intercept NodeBB updating the passwords, along with OAuth plugins.. I would just reset the passwords, that's what I did..
The importer will do the users mapping for you, the from the _old_id to the _new_id, if you can export the data correctly, and will generate everything you need, from JSON and CSV structures (you can use Mandrill to send about 12k free emails in one months, I wrote this tool to read a template and blast it), both structures will contains the emails with new passwords, .. at the moment, you're going to have to grep them out of the logs .. but that's easy to do, right?
Also, the importer will generate Redirect Paths, from new to old, which you can use with this other tool that I wrote especially to redirect thousands of old URLs to new ones, but you don't have to use that if you prefer the nginx http map moduleif you decide to write a
phpbb-exporter
which is compatible with nodebb-plugin-import, I could help, this is something I wanted to do anyways, and I think @psychobunny wanted as well.IMPORTANT: the importer is not yet compatible with NodeBB edge, just NodeBB 0.2.0 and you will need to comment out some code in NodeBB's src - I am trying to wait for each major NodeBB release before updating it.
-
@julian deal.
i'm just using this node mandril client
-
Mandrill integration would be cool. The 12k per month is very generous.
Sure beats PostageApp's 100 per month! Perhaps I'll switch myself...
Edit: We totally hijacked the thread... whoops Should really build that "split thread" functionality.
-
Eh, it happens @julian.
-
It's ok, my question got answered
-
I got emails working, is there an easy way to send the password reset emails to every user?
-
easiest bet right now is hacking a for loop through all users and send email maybe
-
heh, all right, I'll hold off on that for now anyway, I have a bunch of other stuff to get done.