Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Copy phpbb users to cpg  (Read 1178 times)

0 Members and 2 Guests are viewing this topic.

panhead

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 82
Copy phpbb users to cpg
« 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?
Logged

ron4mac

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Posts: 1342
Re: Copy phpbb users to cpg
« Reply #1 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
Logged

panhead

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 82
Re: Copy phpbb users to cpg
« Reply #2 on: September 29, 2019, 12:32:17 pm »

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

panhead

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 82
Re: Copy phpbb users to cpg
« Reply #3 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.
Logged

panhead

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 82
Re: Copy phpbb users to cpg
« Reply #4 on: September 30, 2019, 06:24:37 pm »

Has anyone else done this on the phpBB3 side?
Logged

panhead

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 82
Re: Copy phpbb users to cpg
« Reply #5 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?
Logged

ron4mac

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Posts: 1342
Re: Copy phpbb users to cpg
« Reply #6 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.
« Last Edit: October 02, 2019, 02:16:26 pm by ron4mac »
Logged

panhead

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 82
Re: Copy phpbb users to cpg
« Reply #7 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.071 seconds with 21 queries.