Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Component: WPMS Network-wide mode (w/ shared content) #144

Closed
sc0ttkclark opened this issue Jun 15, 2012 · 17 comments
Closed

Component: WPMS Network-wide mode (w/ shared content) #144

sc0ttkclark opened this issue Jun 15, 2012 · 17 comments
Labels
Status: Help Wanted We have not prioritized this yet, but you can help make it happen to speed it up

Comments

@sc0ttkclark
Copy link
Member

No description provided.

@ghost ghost assigned sc0ttkclark Jun 20, 2012
@unsalkorkmaz
Copy link

please more love for multisite

@sc0ttkclark
Copy link
Member Author

It would be my pleasure, can't wait to get to these

@emilesilvis
Copy link

Eagerly waiting for this as well :)

@haroldkyle
Copy link

This would be very helpful, keep us posted!

@emilesilvis
Copy link

We ended up working around this by writing a function that simply duplicates data between sites. This feature out of the box would be awesome yes :)

@sc0ttkclark
Copy link
Member Author

Only way to do this would be to either create a network set of WP content tables at wp_podsnet_posts etc or to specify a single site as a master site for the content / pods to pull from

@ghost ghost assigned sc0ttkclark May 2, 2013
@sc0ttkclark
Copy link
Member Author

I've been thinking about this one a bit, as part of #48 we can move forward on this for Advanced Content Types only, I don't want to encroach on WP core and all the issues that a completely custom database tableset at the network level would cause for every developer.

@LoreleiAurora
Copy link

any eta on this one?

@sc0ttkclark
Copy link
Member Author

Sorry, no ETA yet, but things related to #1880 could make this happen much, much quicker.

@kokogit
Copy link

kokogit commented Jun 4, 2014

We'd just love to have Pods for multi sites.

@benrudolph
Copy link

Any workarounds for this?

@emilesilvis how is the duplication of the data going? is there anywhere i could take a look at it?

@emilesilvis
Copy link

@benrudolph the code is unfortunately not available anywhere, but IIRC it was a plugin that used the Pods API to keep the stuff in sync.

@sc0ttkclark
Copy link
Member Author

The jury is out on whether we can do something in time for Pods 3.0 to have network-wide Pods or not, it may have to wait until 3.1 or 3.2. Most concerns are whether the Settings table (wp_options) is suitable enough for our purposes, and whether it can be easily filtered for our purposes at the API level (pull all post types, pull all taxonomies, etc). More details here: #1880 #1881 #48

@compumatter
Copy link

I need multisite pods. I created an extensive slider with lots of coding and it's a real bummer to have to replicate it all. Any idea when / if this is coming our way ?

Thanks.

Jay

@sc0ttkclark
Copy link
Member Author

This won't make it into Pods 3.0, but it's still on our priorities for a future release

@sineplay
Copy link

Just another fan of Pods looking for the ability to share pods across a multisite network. I'm looking to have a staff database on our site and be able to pull fields on any site throughout the network. Thanks for considering this feature!

@sc0ttkclark sc0ttkclark added Plugin Material Status: Help Wanted We have not prioritized this yet, but you can help make it happen to speed it up and removed Plugin: Multisite labels Dec 29, 2015
@sc0ttkclark sc0ttkclark removed their assignment Dec 29, 2015
@julianmatz
Copy link

julianmatz commented Jul 9, 2017

Just wanted to say, for anyone that doesn't know, this functionality (shared content / data) can be achieved, or partially achieved, using the switch_to_blog() function. Here is a quick example:

<?php // Get Locations global $switched; // Switch to main site switch_to_blog( 1 ); $params = [ 'limit' => -1, ]; $obj = pods( 'locations', $params ); $locations = []; while ( $obj->fetch() ) { $locations[ $obj->field( 'ID' ) ] = $obj->field( 'post_title' ); } // Switch back to the current site restore_current_blog(); print_r( $locations );

https://gist.github.com/julianmatz/2a9cda40c1cc33f6e069e0d5eb0a9ca2

Maybe it will help someone.

@sc0ttkclark sc0ttkclark modified the milestones: Pods Future Release, Pods-related Plugins May 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Help Wanted We have not prioritized this yet, but you can help make it happen to speed it up
Projects
None yet
Development

No branches or pull requests

10 participants