1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Access to Conversation participants permission

Discussion in 'XenForo Development Discussions' started by Morgain, Jan 15, 2013.

  1. Morgain

    Morgain Well-Known Member

    I want to restrict one of my usergroups to Conversations only with their own usergroup.
    Plus admins.
    This is a small usergroup of only 5 with 2 admins so I could do it per user.

    Explanation: This is a staff group. But they keep doing far too much support work in Conversations and not using the forums.
    At the moment I have had to disable Conversations for everyone :(

    So I want this staff group to be able to contact each other, or Admins.
    But they cannot contact anyone else.
    No one else can contact them.
     
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    You will need to extend this function:

    XenForo_Model_Conversation::canStartConversationWithUser

    From there you can check the user info for both the "to user" and the viewing user.
     
    Morgain likes this.

Share This Page