diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md index d58cb07477..0a071bff7d 100644 --- a/phpBB/docs/events.md +++ b/phpBB/docs/events.md @@ -2562,6 +2562,20 @@ ucp_pm_history_row_message_author_username_prepend * Since: 3.2.8-RC1 * Purpose: Prepend information to message author username of member +ucp_pm_viewmessage_author_full_after +=== +* Locations: + + styles/prosilver/template/ucp_pm_viewmessage.html +* Since: 3.3.3-RC1 +* Purpose: Add content right after the message author when viewing a private message + +ucp_pm_viewmessage_author_full_before +=== +* Locations: + + styles/prosilver/template/ucp_pm_viewmessage.html +* Since: 3.3.3-RC1 +* Purpose: Add content right before the message author when viewing a private message + ucp_pm_viewmessage_avatar_after === * Locations: diff --git a/phpBB/styles/prosilver/template/ucp_pm_viewmessage.html b/phpBB/styles/prosilver/template/ucp_pm_viewmessage.html index 495f65a4c7..6e80673588 100644 --- a/phpBB/styles/prosilver/template/ucp_pm_viewmessage.html +++ b/phpBB/styles/prosilver/template/ucp_pm_viewmessage.html @@ -32,7 +32,12 @@ {AUTHOR_AVATAR} - {MESSAGE_AUTHOR_FULL} {{ Icon('iconify', 'fa:circle', lang('ONLINE'), true, 'c-online-icon') }} + {% spaceless %} + {% EVENT ucp_pm_viewmessage_author_full_before %} + {MESSAGE_AUTHOR_FULL} + {% EVENT ucp_pm_viewmessage_author_full_after %} + {{ Icon('iconify', 'fa:circle', lang('ONLINE'), true, 'c-online-icon') }} + {% endspaceless %}