WPG2 on multiple WP installs

getsumbaby

Joined: 2007-11-13
Posts: 18
Posted: Thu, 2007-11-15 21:06

Can I run wordpress in different sub-folders and have them all access the main Gallery of the site? And have them link back to the parent site they got there from?

I am going to be building different blogs for family members but want to be able to share the images from the main gallery.

Ed

 
ozgreg
ozgreg's picture

Joined: 2003-10-18
Posts: 1378
Posted: Thu, 2007-11-15 21:20

You are going to run into problems with the usermapping, Gallery2 cannot handle more than one (external) User map thus if for example user id 1 is mum on one blog and user id 1 is dad on another, Gallery2 cannot handle two users using the same external ID..

Not sure how WPMU works however, that could be a better approach to what you are looking for..

____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo

 
capt_kirk

Joined: 2006-01-24
Posts: 492
Posted: Thu, 2007-11-15 22:45

Ozgreg,

I've been thinking about this one. What if we appended a blog-specific variable in front of the user id. So, if I had two blogs, on one, I might be kirk-1 but on the other I might be tech-7. Both would map to G2 user ID = 21 (for example). Will G2 allow multiple external maps to one G2 user ID, or is this a non-starter because of a 1-to-1 requirement?

Kirk
____________________________________
G2Image Documentation, G2Image Demo Page, My Family Website

 
ozgreg
ozgreg's picture

Joined: 2003-10-18
Posts: 1378
Posted: Fri, 2007-11-16 00:23

Capt K,

It really muddles the mapping when you start to add Suffix/Prefixes.. WPG2 Pre 2.0 had this built in but we had to remove it because it kept on leading on to further array matching issues.. We would have to carefully consider this as it will have an impact on the user syncing functionality.

____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo

 
capt_kirk

Joined: 2006-01-24
Posts: 492
Posted: Fri, 2007-11-16 01:26
ozgreg wrote:
It really muddles the mapping when you start to add Suffix/Prefixes.. WPG2 Pre 2.0 had this built in but we had to remove it because it kept on leading on to further array matching issues.. We would have to carefully consider this as it will have an impact on the user syncing functionality.

Yeah, that's what I was afraid of. Probably better to focus on our current list for 3.1. This is in the same category as WPMU: nice to have, but not until everything else works...

Kirk
____________________________________
G2Image Documentation, G2Image Demo Page, My Family Website

 
oakes3

Joined: 2007-11-24
Posts: 1
Posted: Sun, 2007-11-25 00:04

Not too difficult - managed it here: www.scrapyourhusband.com and www.aardvarkscrapbooking.com

Both blogs share a gallery install.

The trick here was to reference the member database for one blog from the other. ie: you sign up for one, you use the same logon for both.

Assuming you don't mind people being registered on both.

Then use Role Manager plugin to give G2 user status to registered users... thus no mapping problems!

All members can use the gallery and the other blog without re-registering.

Hope this helps - it was all new to me a couple of weeks back too.