forum.coppermine-gallery.net

Support => cpg1.6.x Support => cpg1.6 miscellaneous => Topic started by: panhead on September 28, 2019, 11:02:24 pm

Title: Copy phpbb users to cpg
Post by: panhead on September 28, 2019, 11:02:24 pm
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?
Title: Re: Copy phpbb users to cpg
Post by: ron4mac on September 29, 2019, 03:12:35 am
You can use this set of plugins to synchronize users between phpbb and coppermine.
https://forum.coppermine-gallery.net/index.php?topic=79031.0
Title: Re: Copy phpbb users to cpg
Post by: panhead on September 29, 2019, 12:32:17 pm
Thank you, that's what I was looking for.
Title: Re: Copy phpbb users to cpg
Post by: panhead on September 29, 2019, 07:39:43 pm
Just one more question: where in phpBB3 do I change the settings? I cannot find it in the ACP.
Title: Re: Copy phpbb users to cpg
Post by: panhead on September 30, 2019, 06:24:37 pm
Has anyone else done this on the phpBB3 side?
Title: Re: Copy phpbb users to cpg
Post by: panhead on October 02, 2019, 11:46:22 am
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?
Title: Re: Copy phpbb users to cpg
Post by: ron4mac on October 02, 2019, 02:07:43 pm
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.
Title: Re: Copy phpbb users to cpg
Post by: panhead on October 02, 2019, 02:11:01 pm
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.