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

XF 1.4 Prevent Conversation Email's after certain number of particapants

Discussion in 'XenForo Questions and Support' started by Damnleperchons, Dec 31, 2014.

  1. I have a couple users who'd like to have a conversation with more than 20 people at a time. I know I'm able to raise the conversation participants past five but I'm afraid of hitting email quota.

    While I also can disable the an email being sent for conversations, I'd like to be able to have an if statement based on conversation participants.

    For example, if a conversation has more than five participants, the system will not send an email and only display a notice after logging in to the site. Less than five participants and it functions as normal sending an email upon a new conversation message posted.

    Is this possible?
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    This requires an addon. You probably want the _postSave() function in this datawriter:


    At the bottom of that function you will see a call for insertConversationAlert().

    If programming isn't your thing then probably post a request:

    Damnleperchons likes this.
  3. Awesome! Thanks Jake I'll give it a look.
  4. Syndol

    Syndol Guest

Share This Page