Skip to:
Content
Pages
Categories
Search
Top
Bottom

Clone or duplicate a BP Group

  • @prometheus-fire

    Participant

    I’m looking to find out if there are any existing plugins or methods to clone or duplicate an individual BP group.

    I’m seeing this as a situation where I’ve created a template group, complete with content and moderators/admin. The content might be plugin added content (bbpress forums, calendar, docs, or various other group add-on plugins), or activity stream content, or anything else associated with the group. In a perfect world, I would like to see a Clone Group link in the groups listing in the back end which would generate a new group with all of the content, features and users of the template in a single click.

    I can see a lot of uses cases for something like this. It would certainly speed up the generation of groups on sites where groups are used in a complex way especially when there is standardized content that each group needs access to immediately.

    Does anyone know of an existing methods or plugins that can do this? Is something worth exploring as a feature request in core, or is this better of as plugin territory?

Viewing 2 replies - 1 through 2 (of 2 total)
  • @shanebp

    Moderator

    I’m not aware of any code re ‘Clone Group’.
    And it would be very easy for such code to create a real mess.

    imo, this is definitely plugin territory.
    Look at the generate groups code in this plugin:
    https://wordpress.org/plugins/bp-default-data/

    @prometheus-fire

    Participant

    I see what you mean about it being messy, after looking at the code in that plugin I can see that something like this would really need to be custom job, especially when we are talking about using a group template that has additional content in it that is created by additional plugins. This could get very complicated.

    Thanks for the quick reply!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Clone or duplicate a BP Group’ is closed to new replies.
Skip to toolbar