Comment to 'Notification on People Field change'
  • Hello @sfraden !

    UNA can track the moments when the profile changes his info, but if you need to watch the certain field it will require the code's changes code of the modules/boonex/persons/ classes/BxPersonsAlertsResponse.php file. The parent class has the following condition in the main response method there like:

    if('system' == $oAlert->sUnit && 'save_setting' == $oAlert->sAction && isset($CNF['PARAM_SEARCHABLE_FIELDS']) && $CNF['PARAM_SEARCHABLE_FIELDS'] == $oAlert->aExtras['option'])
          return $this->_oModule->_oDb->alterFulltextIndex();
    

    So you need to add this method to your child class and expand it:

    public function response($oAlert) {
      parent::response($oAlert);
      if ('save_setting' == $oAlert->sAction) {
        //the code to catch changes
        }
    }