coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 install => Topic started by: Timbli on April 13, 2007, 07:34:10 PM

Title: Bridging Multiple Coppermines
Post by: Timbli on April 13, 2007, 07:34:10 PM
G'day

I would like to bridge two coppermine installs so they share the same user database. Amm because I want two galleries one image only and the other video only.

At the moment with one gallery i havent yet worked out way soo only videos in specific albums and images in others ect.

So im thinking two galleries better and cleaner.

Is this possible?

Cheers
Title: Re: Bridging Multiple Coppermines
Post by: Sami on April 13, 2007, 10:46:37 PM
Install  two galleries with one database (different table prefix)
Title: Re: Bridging Multiple Coppermines
Post by: Timbli on April 14, 2007, 07:25:52 AM
Quote from: Sami on April 13, 2007, 10:46:37 PM
Install  two galleries with one database (different table prefix)

so that would work yeah? and users would be shared between both installs of coppermine?? I would have thought it would still have two user databases so registration for both?
Title: Re: Bridging Multiple Coppermines
Post by: Stramm on April 14, 2007, 09:08:06 AM
if you want two or more CPGs share the same user table but have different content then you may want to setup a bbs and bridge the CPGs to that bbs. User management is done by the bbs and each CPG's taking care of its own content
Title: Re: Bridging Multiple Coppermines
Post by: Timbli on April 14, 2007, 09:18:56 AM
Quote from: Stramm on April 14, 2007, 09:08:06 AM
if you want two or more CPGs share the same user table but have different content then you may want to setup a bbs and bridge the CPGs to that bbs. User management is done by the bbs and each CPG's taking care of its own content

yeh that could work, i don't particularly want a forum but i suppose I could hace nothing on the forum and just have it for registrations.

if theres any other way to go that would be better but this could work. what would be the recommended forum to use with best bridging?

cheers
Title: Re: Bridging Multiple Coppermines
Post by: Joachim Müller on April 15, 2007, 02:06:33 PM
http://forum.coppermine-gallery.net/index.php?topic=38533.0
Title: Re: Bridging Multiple Coppermines
Post by: Timbli on April 15, 2007, 05:24:07 PM
Quote from: GauGau on April 15, 2007, 02:06:33 PM
http://forum.coppermine-gallery.net/index.php?topic=38533.0

Thank YOU very much!

I got it all working fine now and very happy with it.

Would you still advise not to change the cookies then?

Is there anyway they can both share the same cookies for seem less integration.

Cheers again ;)
Title: Re: Bridging Multiple Coppermines
Post by: Joachim Müller on April 15, 2007, 08:53:43 PM
Sharing cookies is not a bright idea: using the cookies, some user information in relation to the pics (e.g. favorites) is being stored. As the pic id between the two galleries will differ, sharing cookies would result in "funny" behavior of some features.