sjroda
Member
Posted 4 months 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/
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.