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: 2 galleries 1 account  (Read 3197 times)

0 Members and 1 Guest are viewing this topic.

disismi

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
2 galleries 1 account
« on: August 01, 2010, 11:21:41 pm »

I want to set up multiple galleries.
They are installed on the same server, they share the same database.

What I want is this:

If I create an account here:
http://www.i-junkie.nl/photoalbum_Bwindi/index.php

I want to be able to use the same login/password here
http://www.i-junkie.nl/photoalbum_Kibale/index.php

The database:
This is my usertable for the first one: cpgbwindi_users
This is my usertable for the sec. one: cpgkibale_users

I tried to change the init.inc of the Kibale photoalbum to this

$CONFIG['TABLE_USERS']         = 'cpgbwindi_users';

Now when I create an account at
http://www.i-junkie.nl/photoalbum_Kibale/index.php
I can see the account in the usertable of Bwindi, so that's something :)

But when I try to login at
http://www.i-junkie.nl/photoalbum_Kibale/index.php
I can't

When I try to login at
http://www.i-junkie.nl/photoalbum_Bwindi/index.php
it works...

What do I do to be able to login on both galleries?

I searched and searched but I can not find an answer.

Logged

disismi

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: 2 galleries 1 account
« Reply #1 on: August 02, 2010, 01:13:17 pm »

okay, got this working by installing a phpbb3 forum and than bridge the galleries to the forum.
I needed a forum anyway so this is perfect.
Logged
Pages: [1]   Go Up
 

Page created in 0.014 seconds with 20 queries.