2 galleries 1 account 2 galleries 1 account
 

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]

Main Menu

2 galleries 1 account

Started by disismi, August 01, 2010, 11:21:41 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

disismi

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.


disismi

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.