Skip to:
Content
Pages
Categories
Search
Top
Bottom

Allow Moderators to see private messages?


  • hauge.james
    Participant

    @haugejames

    Currently only admin are able to see private messages of the users. This is good, but is there a way to allow moderators this ability too?

    The site is using bbpress and buddypress and a couple other small plugins to help with making the forum the way we want.

    Thanks…
    James in Hawaii

Viewing 1 replies (of 1 total)
  • Hi James, I guess it depends on what a moderator is. (I can only think of Group Mods in BP, not sure what would count as a site-wide moderator.)

    The ability to see private messages is controlled by the check bp_current_user_can( 'bp_moderate' ) which is true for site or network admins.

    You could probably filter that value for some other role, like editor, but it would be a bit complicated to make it work only for private messages. Here’s more information about working with the WP capabilities system: http://mannieschumpert.com/blog/wordpress-capabilities-magic-with-map_meta_cap/

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar