WordPress.org

Support

Support » Plugins and Hacks » admin tab unavailable to moderators

admin tab unavailable to moderators

  • Hello,

    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

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

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

    @ddean

    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

Viewing 1 replies (of 1 total)
  • The topic ‘admin tab unavailable to moderators’ is closed to new replies.