user import

Permalink
Is there a way yet to import 5.6 users into a 5.7 install? If not, can I just adjust the salt to match then import some of the common fields from the 5.6 table into the 5.7? Is there a gotcha or anything I need to be worried about. I have several thousand users to migrate, and asking them to re-signup is not an option for me.

Thanks
-Steve

sday
 
sday replied on at Permalink Reply
sday
Anyone?

If migrating my users to 5.7 is going to be a monumental task, I decided to look around and see what the world has to offer 4 years after giving it a go with Concrete5.

That Upfront theme for WordPress looks similar. https://premium.wpmudev.org/projects/category/themes/...

I paid the $50 and I'm test driving it along with a ton of plugins. Some that are really very valuable. Initial impression from watching the videos was .... "wow! this is amazing". After using it for about 18 hours, my initial impression has tapered down a bit. Certainly has some advantages over Concrete5, but it isn't the end all be all. Still trying to decide if the issues I'm having are just conceptual on my part, or just not as intuitive as one would hope. The obvious stuff is, but once you start organizing your site and contents it starts to get a little more convoluted as to how to approach things. Do I use the front end editor, a plugin, a shortcode, another menu somewhere else?

Anyway, lol. [/ramble mode] :)
MrKDilkington replied on at Permalink Reply
MrKDilkington
Hi sday,

I saw that you posted here:
https://github.com/concrete5/concrete5-5.7.0/issues/1991...

One thing to consider is that 5.6 is well tested, robust, stable, and has lots of themes and add-ons. If your 5.6 site is working for you, there should be no rush to 5.7.

Also, 5.6 will be community supported for at least a year, probably more. In that time a content and user migration process could well be under way or completed.

If you make the move to WordPress, you would have to start over from scratch anyway (including learning a completely different system). If you are looking for a CMS that is easy to customize and develop for, then 5.7 has a big advantage over WordPress.

I've read up and watched the videos on UpFront. It has some neat features. What in particular stood out for you as something you would like in concrete5?

Regarding WordPress plugins, which did you think were very valuable (many can be made for concrete5)?
mesuva replied on at Permalink Reply
mesuva
I just had a poke through the code that does the authentication and checking of passwords.

I found that the login process will check passwords using the legacy (i.e. 5.6) method of password validation, before checking with the newer way. That was just an MD5 check with the salt included.

So besides copying across your existing users and their passwords, I get the impression all you have to do is define your legacy salt somewhere and it should work.

I believe you would simply copy across your PASSWORD_SALT define line from your 5.6 site config (as opposed to using 5.7's new way of setting config values).

I think a good place to put this would be in the /application/bootstrap/app.php file, as I think this is loaded really early.

I haven't tried this myself yet, but the code definitely gives me the impression that it should be straightforward*, and something that 5.7 is supposed to support.

* - there might be a bit more work involved if you've used user attributes, but that should still be possible, it just might take some sort of custom script, maybe with a csv or something