<div>
<div class="containerHeadline">
- <h3><a href="{link controller='User' object=$__wcf->user}{/link}">{$__wcf->user->username}</a></h3>
+ <h3>
+ {event name='beforeUsername'}
+ <a href="{link controller='User' object=$__wcf->user}{/link}">{$__wcf->user->username}</a>
+ </h3>
{if MODULE_USER_RANK}
{if $__wcf->getUserProfileHandler()->getUserTitle()}
<p><span class="badge userTitleBadge{if $__wcf->getUserProfileHandler()->getRank() && $__wcf->getUserProfileHandler()->getRank()->cssClassName} {@$__wcf->getUserProfileHandler()->getRank()->cssClassName}{/if}">{$__wcf->getUserProfileHandler()->getUserTitle()}</span></p>
{include file='userInformationStatistics' user=$__wcf->getUserProfileHandler()->getUserProfile()}
</dl>
</div>
-</div>
\ No newline at end of file
+</div>
<a href="{link controller='User' object=$userOnline}{/link}" aria-hidden="true">{@$userOnline->getAvatar()->getImageTag(32)}</a>
<div class="sidebarItemTitle">
- <h3><a href="{link controller='User' object=$userOnline}{/link}" class="userLink" data-user-id="{@$userOnline->userID}">{$userOnline->username}</a></h3>
+ <h3>
+ {event name='beforeUsername'}
+ <a href="{link controller='User' object=$userOnline}{/link}" class="userLink" data-user-id="{@$userOnline->userID}">{$userOnline->username}</a>
+ </h3>
{if MODULE_USER_RANK}
{if $userOnline->getUserTitle()}
<p><span class="badge userTitleBadge{if $userOnline->getRank() && $userOnline->getRank()->cssClassName} {@$userOnline->getRank()->cssClassName}{/if}">{$userOnline->getUserTitle()}</span></p>
<div>
<div class="containerHeadline">
<h3>
+ {event name='beforeUsername'}
<a href="{link controller='User' object=$event->getUserProfile()}{/link}" class="userLink" data-user-id="{@$event->getUserProfile()->userID}">{$event->getUserProfile()->username}</a>
<small class="separatorLeft">{@$event->time|time}</small>
</h3>