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

preventing reply to personal conversations

Discussion in 'XenForo Questions and Support' started by optrex, Feb 8, 2012.

  1. optrex

    optrex Active Member

    I have a member who is now being moderated. As part of that I also need to restrict PM access. I can stop him creating a new conversation, but how do I stop him from contacting others using the reply mechanism to convos he has already made?
  2. Brogan

    Brogan XenForo Moderator Staff Member

    You can't.
  3. optrex

    optrex Active Member

    oops :(

    actually is there a mod that will allow me to do this? Otherwise its going to be a real PITA
  4. DRE

    DRE Well-Known Member

    well thats lame =/
  5. Arty

    Arty Well-Known Member

    Find function _assertCanReplyToConversation in library/XenForo/ControllerPublic/Conversation.php, replace
            if (!$this->_getConversationModel()->canReplyToConversation($conversation, $errorPhraseKey))
            $model = $this->_getConversationModel();
            if (!$model->canReplyToConversation($conversation, $errorPhraseKey) || !$model->canStartConversations($errorPhraseKey))
    or create simple add-on to override that function, which is a better solution.
  6. DRE

    DRE Well-Known Member

    Addon plse!
  7. Arty

    Arty Well-Known Member

    Sure, see attachment.

    Attached Files:

    Mark3121 likes this.
  8. Mark3121

    Mark3121 Well-Known Member

    should be a bug or a suggestion.

Share This Page