Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

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

0 Members and 1 Guest are viewing this topic.

panhead

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 108
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

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 2026
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 frequent poster
  • ***
  • Offline Offline
  • Posts: 108
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 frequent poster
  • ***
  • Offline Offline
  • Posts: 108
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 frequent poster
  • ***
  • Offline Offline
  • Posts: 108
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 frequent poster
  • ***
  • Offline Offline
  • Posts: 108
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

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 2026
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 frequent poster
  • ***
  • Offline Offline
  • Posts: 108
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.019 seconds with 19 queries.