WordPress.org

Support

Support » Plugins and Hacks » [Plugin: BuddyPress Groupblog] Add group members to blog retrospectively?

[Plugin: BuddyPress Groupblog] Add group members to blog retrospectively?

  • Hi,
    Buddypress Groupblog question.
    At the moment, if I create a group without a blog, then later on go back and create a group blog, the existing members of the group are not added as blog authors. Any new joiners of the group are added OK, so members who joined before the blog existed have to leave and rejoin the group to become blog members.
    Is this expected behaviour? What’s the best way to modify the plugin to add all existing group members to the blog when it is created?
    Thanks.

    http://wordpress.org/extend/plugins/bp-groupblog/

Viewing 4 replies - 1 through 4 (of 4 total)
  • I tried this:

    add_action( 'create_group_blog', 'bp_groupblog_member_join' );

    But it seems that the function called checks to see whether group members are already blog members:

    if ( !is_user_member_of_blog($user_id, $blog_id) ) return false;

    Is there a special reason for this? I thought the idea was that all group members should have authorship rights on the group blog, as long as ‘enable member posting’ is checked?

    Plugin Author reblevins

    @reblevins

    Hi Lemmy,
    Thanks for reporting this. That’s a good question, I’m pretty sure all members should just be added to the groupblog. It’s been a while since I’ve looked into the code, so there may have been some other reason.

    We’ll look in to this.

    Hi,
    FYI – I just updated to v1.7 and this issue still seems to be present.
    A workaround seems to be to change member status to admin and back again in ‘Manage Members’. That’s not really practical for large numbers of people though.
    Was it supposed to be fixed in 1.7? I’m still using Buddypress 1.2.9
    Thanks.

    Looking at the code, it seems that this can be fixed just by forcing
    $update_users = true;
    in groupblog_edit_base_settings.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: BuddyPress Groupblog] Add group members to blog retrospectively?’ is closed to new replies.