[ticket/12991] Have events after/before "add warning" field - user and post

https://tracker.phpbb.com/browse/PHPBB3-12991

PHPBB3-12991
Should be "a user"