BP Group Hierarchy
admin tab unavailable to moderators (2 posts)

  1. grima
    Posted 2 years ago #


    Firstly thank you for this great plugin.

    I didn't really know if this is pertinent (but just in case it would be of any help), I needed to allow group moderators to access to some admins functions.

    But group hierarchy is enforcing group access control and prevent that to be possible (i think, but it seems to have changed somewhere in 1.6.x of buddypress).

    So here's the patch i came in the end :

    in bp-group-hierarchy-loader.php line 211
    -if ( bp_is_current_action( 'admin' ) && !bp_is_item_admin() ) {
    +if ( bp_is_current_action( 'admin' ) && !bp_is_item_admin() && !bp_is_item_mod() ) {

    Hope this help


  2. David Dean
    Plugin Author

    Posted 2 years ago #

    Hi grima -

    Blocking moderators matches what BP is doing, but you're right that may be a relatively new change. Since this change would affect site access in a way users may not expect, I don't think I can include it. But I thank you for the posting and hope that it helps anyone looking for the same feature!

    - David

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • BP Group Hierarchy
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic