Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Multiple sites, single login  (Read 7720 times)

0 Members and 1 Guest are viewing this topic.

SpikeTheLobster

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Multiple sites, single login
« on: February 01, 2013, 09:44:02 pm »

As the title suggests, I'm wondering if there's a way to let users log in on a single site and have the login work on multiple installs of Coppermine, preferably by passing a parameter in the URL or something equally simple. All sites are hosted on the same server, though they're on different domain URLs... presumably this means there'd be a need for either a shared user table or some process to create the same user in all tables.

I had a hunt around and couldn't see any solutions for this. It'd be very nice for my network of sites, as it would save people having about 15 different logins.

Alternatively, can someone tell me if one centralised database with all the installs in it (with different table prefixes per site) would slow things down dramatically? And how difficult it would be to access that DB from 15 different domains? (Not a big SQL pro, here.)
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15765
Re: Multiple sites, single login
« Reply #1 on: February 04, 2013, 03:55:53 pm »

It should work if you bridge all Coppermine galleries to the same application.
Logged

SpikeTheLobster

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Re: Multiple sites, single login
« Reply #2 on: February 04, 2013, 05:02:17 pm »

So I'd have to get them to register on a sort of "umbrella" app (which would remain unused) and use that as the source of a multi-site-wide login?

Sounds complex. Methinks I'll need to re-read all the bridging docs!  :o
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15765
Re: Multiple sites, single login
« Reply #3 on: February 04, 2013, 05:13:10 pm »

It's not that complex. You just need e.g. an SMF installation and then bridge each gallery to it.
Logged

SpikeTheLobster

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Re: Multiple sites, single login
« Reply #4 on: February 04, 2013, 05:50:10 pm »

I was thinking of the conceptual side (i.e. a good way to tie in a registration to a completely redundant app without making the users go "huh?") and the fact that they'll all have to point to a database on another domain - that bit I've never done before, though I've bridged.

I'll have a look and figure something out... very carefully, before I try implementing anything!

Thanks for the pointer to get me started. Much appreciated.
Logged

SpikeTheLobster

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Re: Multiple sites, single login
« Reply #5 on: February 04, 2013, 06:46:16 pm »

Oh dear. First thing I saw on the documentation:

This won't work:
Bridge app: http://yourfirstdomain.com/board/
Coppermine: http://yourseconddomain.com/gallery/


So basically I'm screwed.  :'(
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15765
Re: Multiple sites, single login
« Reply #6 on: February 04, 2013, 07:12:41 pm »

Sorry, I missed that part in your initial post. Another approach would be to use a third-party provider (Facebook, OpenID, ...) or to built such a service yourself. Have a look at the plugin contributions board and you'll find at least 2 Facebook login/authentification plugins. I haven't checked in detail if they do what you're looking for.
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4858
    • Windsurf.me
Re: Multiple sites, single login
« Reply #7 on: February 04, 2013, 08:56:13 pm »

If your server supports LDAP then that may also be an option.
Logged
It is a mistake to think you can solve any major problems just with potatoes.
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 20 queries.