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

Do not correctly support Buddypres in multiblog mode #81

Open
lrvspb opened this issue Dec 25, 2012 · 7 comments
Open

Do not correctly support Buddypres in multiblog mode #81

lrvspb opened this issue Dec 25, 2012 · 7 comments

Comments

@lrvspb
Copy link

lrvspb commented Dec 25, 2012

Hello!

For Wordress multisite and Buddypres in multiblog mode:
define( 'BP_ENABLE_MULTIBLOG', true );

The media files that was added at the one blog don't displayed in the profile the same user at the other blog.

I was going to change bp-album on yours plugin but before i set it on the local site. And have discovered this mistake. I can’t show you how it’s looks like on the real site but I can give you examples url that’s I got.

If I upload image by admin on the blog testdomain.com I will get url with image like:
testdomain.com/members/admin/photos/1/

and same image should be displayed on the other network blogs here:
blog1.testdomain.com/members/admin/photos/1/
blog2.testdomain.com/members/admin/photos/1/
but didn’t!

I don't know realy how but on bp-album this function work fine and I believe that you can do so.

@actual-saurabh
Copy link

Hi,

This is tricky. This won't work with the current code because we use custom post types for organising media files (WordPress way). BP albums on the other hand uses a custom table, external to the wordpress posts table (BuddyPress way).

We are pulled either way due to the pros of both the ways. Now, the cons of using a custom table outweigh the cons of using custom posts.

To support such BuddyPress installs, we'd have to somehow share the media library and the 'attachment' post types and/or manage redirects so that appearances are kept.

This needs some internal (developers' discussion and introspection).

Cannot be addressed in the imminent release.

Regards.

@lrvspb
Copy link
Author

lrvspb commented Dec 27, 2012

Hi,

If you use custom post types this really tricky situation.
How do you think could I expect that this issue can be solved by you anyway?
And if yes approximately when?

Best regards.

@lrvspb
Copy link
Author

lrvspb commented Jan 22, 2013

The Multisite have function switch_to_blog()
How do you think it can help to solve this issue?

@actual-saurabh
Copy link

switch_to_blog() is the only way to fetch the media in our architecture. The urls are something that'll need a rethink on the way we handle them currently.

@actual-saurabh
Copy link

We've started indexing media in a separate table in 3.0. In subsequent releases we would be able to handle this.

@lrvspb
Copy link
Author

lrvspb commented Jul 6, 2013

It would be great! I'm really appreciate it.

@pranali333 pranali333 removed this from the Unknown milestone Oct 8, 2018
@chandrapatel chandrapatel removed their assignment Mar 10, 2020
@SRIIAKHILLESSH
Copy link

Hello, I'm willing to help as I completed these things on my project earlier. I am intrested in solving the issue of yours i have sent my mail througt the google form,looking forward to work with your issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants