Skip to:
Content
Pages
Categories
Search
Top
Bottom

Do not allow blogs but have main blog show up in activity stream?

  • Avatar of Moominmama
    Moominmama
    Participant

    @moominmama

    We are running BuddyPress on a WordPress 3.0 install that was originally built on WordPressMU. So theoretically our people could have blogs but we are not allowing that. I would like to have our main blog (and comments) show up in the activity stream but the only way I can do that apparently is by letting people create blogs when they create accounts. Is there a way to change this?

    TIA,
    Dawn

    http://www.supportforspecialneeds.com

Viewing 1 replies (of 1 total)
  • Avatar of r-a-y
    r-a-y
    Moderator

    @r-a-y

    It’s possible, you’d have to check the current blog and the activity type before the activity is saved to the DB.

    Apply a filter to “bp_activity_type_before_save” (located in bp-activity/bp-activity-classes.php), check to see if the activity is a blog post or a blog comment.
    Then, check the global $current_blog variable to see if it matches the root blog only.

    That should give you a few pointers to run with.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.