Skip to:
Content
Pages
Categories
Search
Top
Bottom

Buddypress in multisite


  • mc9625
    Participant

    @mc9625

    Hi, I am quite new with buddy press. I’ve installed it in a wordpress multisite environment. I have many issues: First: I use a theme (is a buddy press ready theme) with a custom post type, this custom post type has categories, I have set up the categories in the main site, and I expected to see the same categories on every site, but it doesn’t work.
    Also in the user activity stream I cannot see the posts the user has written in his own blog.

    Is there something I miss for let buddy press work in a multisite environment? I basically would like to share posts and taxonomies trough the whole network.

Viewing 5 replies - 1 through 5 (of 5 total)

  • mrjarbenne
    Participant

    @mrjarbenne

    It doesn’t work like that. In a multisite instance, your users can all have their own blogs (think wordpress.com). What BuddyPress does is allow you to see all of the activity from those subsites in one Activity feed (among other things).

    I have set up the categories in the main site, and I expected to see the same categories on every site, but it doesn’t work.

    Although this isn’t a BP feature, there is a plugin that does this. It hasn’t been updated in a while, but you could test it out, or purchase support from Brajesh and request a fix if you run into issues:
    http://buddydev.com/plugins/mu-global-terms/. There’s a write-up on the plugin here: http://wptavern.com/wordpress-multisite-global-terms-plugin-share-taxonomies-across-a-network

    Also in the user activity stream I cannot see the posts the user has written in his own blog.

    That SHOULD work. You mention a custom post type though: is that the activity you are hoping to see? By default BP only shows posts and comments, not custom post types. You can register custom post types: https://codex.buddypress.org/plugindev/post-types-activities/

    If the subsite that you are hoping registers activity is set to discourage search engines in Settings/Reading then it won’t register on the main site.

    You may also want to try one of the default themes (twentyxx) to see if it’s your theme screwing things up. Many themes that tout themselves as BuddyPress-Ready, are doing some funky things best left to plugins in their functions.php file.


    mc9625
    Participant

    @mc9625

    Thanks for your reply.

    Actually what I miss is the custom post type “share” between the main site and the sub blog. I’ve installed Social Chef (I well known theme for foodblogger community). It let’s you write a custom post type “Recipe”. Actually I’ve installed the same theme for all sub blogs and I expected to see, in the member activity stream every recipe added in the blogs (Actually they are shown but not counted, I mean in the top tab “recipe” the count for the user is always 0, even if he had just posted a recipe in his blog, I can even see it in the stream). Is there something I miss?

    Basically what I want to achieve is to let every single post (or custom post) be present in the main site, in order to search for it globally, and at the same time to be shown in the member’s blog.

    Or, from another point of view, I could let every member publish their post from the main site, and then simply “group” every post from a specific user in a kind of “customised” view, like if it where his own blog, with custom background, colours, ecc.

    Does it make any sense?


    mrjarbenne
    Participant

    @mrjarbenne

    I’m not sure what you mean by the “Top Tab Recipe”. If your theme is adding a custom post type, then you need to register that post type in order for it to populate the activity stream, and the user profile activity. BP should do exactly what you are looking to do once you do that: https://codex.buddypress.org/plugindev/post-types-activities/ Maybe your theme is doing this for you already if you are seeing activity generated when you post a recipe in the custom post type area.

    Your alternative idea in the last paragraph would also certainly work. You don’t need multisite for that. Make every member of your community an Author on the main site: everything they publish will appear in the Custom Post Type “Recipes” archive, along with all the posts appearing on each users profile: this is their customized space, particularly once header profile images launch in BP 2.4. This would also give you more control over the experience. You could create a publishing checklist to make sure all the recipes are categories and tagged appropriately: https://github.com/danielbachhuber/Post-Checklist


    mc9625
    Participant

    @mc9625

    Hi, actually I’ve already added
    add_post_type_support( 'recipe', 'buddypress-activity' );

    to bp-custom.php in /wp-content/plugins. The recipes are counted in the “member activity stream”, but only the ones posted directly in the parent site, not the ones posted in the member’s blog.

    I think it’s a pity you can’t use a “blog” as the user profile page, or at least give the user profile page, the same kind of customisation as a full blog install. I think this is more a “Facebook” kind of approach, everyone will have more or less the same kind of page, with minimal customisation option (I guess the header profile). But since WordPress already has a multisite option, and Buddypress already support multisite environment, have the chance to use the user’s blog as if it were his “user profile” would have been a huge facility.


    mrjarbenne
    Participant

    @mrjarbenne

    With the upcoming custom header, and a plugin like this to customize the background of your profile, you are pretty close to the customization allowed on Twitter.

    Allow your users to change their Profile page background using BP Custom Background For User Profile Plugin

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Buddypress in multisite’ is closed to new replies.
Skip to toolbar