2 galleries 1 account 2 galleries 1 account
 

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

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.