WordPress.org

Ready to get started?Download WordPress

Forums

BP Group Hierarchy
[resolved] Only Allow Parent Groups to be Certain Groups (3 posts)

  1. sjroda
    Member
    Posted 1 year ago #

    Hi,

    I just downloaded your plugin and it's awesome, works perfect! But I do want to make one small change, although I'm not sure where to make the change.

    Basically I don't want all the groups to show up in the Parent Group drop-down menu. I only want 10 or so groups to be there instead of each created group. I know I'm probably going to have to edit the code, which is fine if I can get step-by-step instructions :)

    I can elaborate more if needed. Thanks!

    http://wordpress.org/extend/plugins/bp-group-hierarchy/

  2. David Dean
    Member
    Plugin Author

    Posted 1 year ago #

    Hi sjroda -

    Are you talking about when creating a new group? There's a filter you can use called bp_group_hierarchy_available_parent_groups that will let you edit the list of groups available.

    You can call it from your theme's functions.php file or create a simple plugin to handle it. That way you won't have to re-create it with each release of this plugin.

    If you meant something else, please let me know some more details and I'll help however I can.

  3. 3x7
    Member
    Posted 10 months ago #

    +1

    It would be great if there was an option to choose the depth to be used for parent groups... only top level or top level + 1st sublevel...

    Cheers

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic