forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 miscellaneous => Topic started by: disismi on August 01, 2010, 11:21:41 pm

Title: 2 galleries 1 account
Post by: disismi 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.

Title: Re: 2 galleries 1 account
Post by: disismi 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.