Combining s9y and a gallery

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Combining s9y and a gallery

Post by yellowled »

Here's what $CLIENT wants to do: Combine s9y with a gallery, ideally being able to use the same login data for both (i.e. users would be able to log into s9y and the gallery software using the same username/password).

I'm pretty sure the only way to do this would be serendipity_event_usergallery, which does not fit $CLIENT's needs. Or is there another solution I don't know about? (If the answer to this is "no", it's fine with me, I just need to cover my ass and make sure I didn't miss any solution :wink:)

YL
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Combining s9y and a gallery

Post by garvinhicking »

Hi!

This is possible only with a custom plugin and custom code. There is no existing code to marry menalto or coppermine like this. It's also something complicated that would take somebody like me a couple of days to do it right, surely.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
kleinerChemiker
Regular
Posts: 765
Joined: Tue Oct 17, 2006 2:36 pm
Location: Vienna/Austria
Contact:

Re: Combining s9y and a gallery

Post by kleinerChemiker »

To use the same userdata you could use OpenID on both sides.
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Re: Combining s9y and a gallery

Post by yellowled »

Thanks, guys.

Garvins option sounds like too much of a fuss for this particular project. OpenID also is not really an option because of the target user group. Client will just gonna have to live with that, period.

YL
WMK
Regular
Posts: 32
Joined: Mon Jun 22, 2009 11:14 am
Contact:

Re: Combining s9y and a gallery

Post by WMK »

Hi,

i know from seagull php framework http://www.seagullproject.org (which i use a lot), that it's possible.

The User manager has some observers (similar to plugins?), that can do syncing of user e.g. to FudForum. Code can be found in Seagulls User Module (RegisterMgr, PasswordMgr and the observer classes).

Of course you still have two seperate logins for blog and gallery; maybe you can disable changing of user settings in gallery, so you only can register or change passwords using s9y, which again with a plugin (or observer) which syncs the gallery user DB.

I don't know if there are some event hooks in s9y available for this...

If you need any further information or help please contact me ;)

Another possibility could be (if both support it) either HTTP-Auth or LDAP

just my 2c

Werner
Viele Grüße,

Werner
Post Reply