WordPress.org

Support

Support » Plugins and Hacks » BP Group Hierarchy » [Resolved] Only Allow Parent Groups to be Certain Groups

[Resolved] Only Allow Parent Groups to be Certain Groups

  • 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/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author David Dean

    @ddean

    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.

    +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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Only Allow Parent Groups to be Certain Groups’ is closed to new replies.
Skip to toolbar