Copy phpbb users to cpg Copy phpbb users to cpg
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Copy phpbb users to cpg

Started by panhead, September 28, 2019, 11:02:24 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

panhead

Is it possible to copy phpbb users to the coppermine users table? As far as I can see most fields can be copied, but what about the user_password_salt field?

ron4mac

You can use this set of plugins to synchronize users between phpbb and coppermine.
https://forum.coppermine-gallery.net/index.php?topic=79031.0

panhead

Thank you, that's what I was looking for.

panhead

Just one more question: where in phpBB3 do I change the settings? I cannot find it in the ACP.

panhead

Has anyone else done this on the phpBB3 side?

panhead

One problem solved. In the zip-file there is a subdirectory ~migrations. That should be migrations, then you can fill in the data in the extension.

Next problem: I filled in the data (same as on the cpg side), logged out and in, entered the tunnel link (<CPG URL>/index.php?file=tunnel2cpg/phpbb3), but was not logged in in CPG. What now?

ron4mac

#6
Sorry about your difficulty in getting the tunnel to work. I'm not sure why the ~migrations folder was named so. Will investigate and correct as necessary.

For the tunnel to be created, you must make sure that you are logged into phpbb3 as a member of one of the groups that you have specified in the phpbb3 tunnel extension as being able to tunnel. (and, of course, phpbb3 and CPG must be in the same domain)

If you know how to examine your browser cookies, you should see a "phpbb_2_cpg" cookie.

panhead

Quote(and, of course, phpbb3 and CPG must be in the same domain
That explains it, they are not in the same domain. My problem is that phpBB3 and CPG are on different domains (I know..). I am looking for a solution for that and hoped that copying would be possible.