Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Steven W. Posted October 19 Posted October 19 (edited) In Member.php, this: if( \count( $this->changedCustomFields ) > 0 OR ( \count( $changes ) > 0 AND !( \count( $changes ) === 1 AND isset( $changes['last_activity'] ) ) ) ) Needs to be replaced with this: if( \count( $this->changedCustomFields ) > 0 OR ( \count( $changes ) > 0 ) ) Otherwise, the listener will not fire in many cases where a user's data has been updated. In the v4, we could work around this with a save() hook, but in v5, hooks no longer exist. Edited October 19 by Steven W.
Recommended Posts