I'm writing an extension and one of the features requires that some of the user's fields be updated when they post a message (or when one of their messages is removed).
I have found events such as core.submit_post_end and core.delete_posts_after which are indeed called upon posting/deletion but I cannot find a way to add new fields to those normally updated in such actions (e.g. post count).
The forum sometimes sees more than 30k posts in a day so it has to happen in the same query that increments post count and updates other data for obvious performance reasons.
Is there any way to achieve this in 3.1?