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

Stop alerts from ignored members

Discussion in 'XenForo Development Discussions' started by TeflonDon, Feb 7, 2015.

  1. TeflonDon

    TeflonDon Well-Known Member

    Here's the current code, alerts from ignored members still come through. What should I add to stop that?

    if (XenForo_Model_Alert::userReceivesAlert(array('user_id' => $this->get('receiver_user_id')), 'reputation', 'post'))
                    'post', array('points' => $this->get('points'),
                    'comment' => $this->get('comment'))
  2. Brogan

    Brogan XenForo Moderator Staff Member

    I presume that's from an add-on?

    In which case, the add-on author is the best person to help with that.
  3. TeflonDon

    TeflonDon Well-Known Member

    I've had terrible experiences with this particular author so I was hoping to learn how to do this myself. Perhaps someone could just point me to an example of the core code achieving this request or is this thread in the wrong forum?

Share This Page