David Dean
Forum Replies Created
-
Forum: Plugins
In reply to: [BP Group Hierarchy] Male/Female GroupHi Emad,
You could use this plugin to make those groups hold other groups, but not to enforce anything on registration. I believe there is a plugin out there that will help with that, but I’m not sure.
– David
Forum: Plugins
In reply to: [BP Group Hierarchy] Fine grained top level group creationsHi solhuebner –
There’s not a simple way to do this, but you can make it work by combining two filters.
You can use the
bp_group_hierarchy_toplevel_subgroup_permissions
filter to add more permission options.Then you can implement a check for that permission using the filter
bp_group_hierarchy_enforce_subgroup_permission_[permission name]
. Returntrue
if the user is allowed to create a group, andfalse
otherwise.– David
Forum: Plugins
In reply to: [BP Group Hierarchy] Can existing groups be added as sub-groups?Hi Barn2Media –
Yes, you can use this plugin to restructure your groups. You may want to use my BP Group Organizer plugin to make that task MUCH easier.
Thanks for the question!
– David
Forum: Plugins
In reply to: [BP Group Hierarchy] Setting Group Heirarchy Broken by HTML CommentHi papabeers –
Thanks for reporting this issue! That line will be removed in the next release.
Just out of curiosity, which browser is hiding the rest of the screen? It looks OK for me in Firefox, Safari, and Chrome. This will be good info in case someone else encounters this problem.
– David
Forum: Plugins
In reply to: [BP Group Hierarchy] wordpress failure notice on hierachy stepHi maddogmcewan –
Let me look into this and see if I can reproduce the issue.
What versions of BP / this plugin are you running? Is this just when creating a subgroup or when creating any group?
– David
Forum: Plugins
In reply to: [Post Comments as bbPress Topics] Translation files not workingHi matbeuz –
Can you tell me the name of the plugin folder in your install? Is it
bbpress-post-topics
or is it something else?Thanks!
– David
Forum: Plugins
In reply to: [Post Comments as bbPress Topics] How to Exclude PagesHi QTipPoker –
There isn’t currently a user interface for choosing whether pages will automatically have topics created. In the meantime, you can remove the topic for any post or page using the Discussion metabox on the post/page editor screen.
Please let me know if you have any other questions!
– David
Hi ozgurpoplat –
Maybe it’s a descendant selector issue? What is the name of your theme and can you provide a link? If it’s available to try, I’d be happy to set up a test site to see what’s going on.
– David
Forum: Plugins
In reply to: [Post Comments as bbPress Topics] Change "Leave a Comment" to link to ForumSo you want the topic link to go to the forum instead of the topic itself? Or do you want to add a link to the forum in addition to the topic link?
I’m sure you could set this up in a modified
comments-bbpress-link.php
template, but I’m not sure exactly what you’re asking. I’d be happy to provide more info if you’ve got details. ??– David
Forum: Plugins
In reply to: [BP Group Hierarchy] Group Hiearchy SettingsHaha glad to hear that’s all it was. Happy holidays!
– David
Forum: Plugins
In reply to: [BP Group Hierarchy] Group Hiearchy SettingsHi Jeffrey –
What are the subgroup permissions for your existing groups? Are the affected users members of your existing groups?
The Create Group button should only be hidden when the current user has nowhere to place a group. It sounds like the affected users don’t have permission to create subgroups either.
– David
Forum: Plugins
In reply to: [BP Group Hierarchy] Trouble with 'group_hierarchy_override_current_action'Hi David-
Yep that’s what I had in mind. ?? Glad we could resolve this issue, and to hear the same hook works for both cases.
Please let me know if you run into anything else!
– David
Forum: Plugins
In reply to: [BP Group Hierarchy] Trouble with 'group_hierarchy_override_current_action'Hi dcavins –
At what point in WP’s loading process are you hooking
map_meta_cap
? I put your test function in the theme’sfunctions.php
file and it loaded WAY before BuddyPress was ready. Engaging that filter only afterbp_init
has fired may resolve that issue.– David
Forum: Plugins
In reply to: [BP Group Hierarchy] Trouble with 'group_hierarchy_override_current_action'Nevermind they are the same function. I hoped you had found something that would resolve all of this. ??
I’ll keep looking. Can you provide some more context for your map_meta_cap call? Is it on your AJAX request or on a regular page?
– David
Forum: Plugins
In reply to: [BP Group Hierarchy] Trouble with 'group_hierarchy_override_current_action'Hi dcavins –
I think the issue with
map_meta_cap
may have a simple resolution. Thegroup_hierarchy_override_current_action
function is supposed to unhook itself after it runs during the initial request. But it looks like I’ve calledremove_action
instead ofremove_filter
so that probably isn’t happening.bp_is_current_action
should be idempotent and safe to call once the group is selected on page load, and this is probably why it’s not working right. I’ll get a fix in the development version right away. This is distinct from theadmin-ajax.php
issue, right?Thanks for your help troubleshooting this!
– David