<optiontype>boolean</optiontype>
<defaultvalue>0</defaultvalue>
</option>
- <option name="message_sidebar_enable_user_online_marking">
- <categoryname>message.sidebar</categoryname>
- <optiontype>boolean</optiontype>
- <defaultvalue>1</defaultvalue>
- <options>module_users_online</options>
- </option>
<option name="message_sidebar_enable_trophy_points">
<categoryname>message.sidebar</categoryname>
<optiontype>boolean</optiontype>
<option name="like_allow_for_own_content" />
<option name="like_enable_dislike" />
<option name="module_attachment"/>
+ <option name="message_sidebar_enable_user_online_marking"/>
</delete>
</data>
{event name='afterAboutAuthorText'}
<div class="articleAboutAuthorUsername">
- <a href="{link controller='User' object=$article->getUserProfile()->getDecoratedObject()}{/link}" class="username userLink" data-user-id="{@$article->getUserProfile()->userID}">{if MESSAGE_SIDEBAR_ENABLE_USER_ONLINE_MARKING}{@$article->getUserProfile()->getFormattedUsername()}{else}{$article->getUserProfile()->username}{/if}</a>
+ <a href="{link controller='User' object=$article->getUserProfile()->getDecoratedObject()}{/link}" class="username userLink" data-user-id="{@$article->getUserProfile()->userID}">{@$article->getUserProfile()->getFormattedUsername()}</a>
{if MODULE_USER_RANK}
{if $article->getUserProfile()->getUserTitle()}
<div class="messageAuthorContainer">
<a href="{link controller='User' object=$userProfile->getDecoratedObject()}{/link}" class="username userLink" data-user-id="{@$userProfile->userID}"{if $enableMicrodata} itemprop="url"{/if}>
- <span{if $enableMicrodata} itemprop="name"{/if}>{if MESSAGE_SIDEBAR_ENABLE_USER_ONLINE_MARKING}{@$userProfile->getFormattedUsername()}{else}{$username}{/if}</span>
+ <span{if $enableMicrodata} itemprop="name"{/if}>{@$userProfile->getFormattedUsername()}</span>
</a>
{if !$isReply}
{if $userProfile->banned}<span class="icon icon16 fa-lock jsTooltip jsUserBanned" title="{lang user=$userProfile}wcf.user.banned{/lang}"></span>{/if}
define('LIKE_ALLOW_FOR_OWN_CONTENT', 0);
define('LIKE_ENABLE_DISLIKE', 0);
+ // User markings are always applied in sidebars since 5.3.
+ // https://github.com/WoltLab/WCF/issues/3330
+ define('MESSAGE_SIDEBAR_ENABLE_USER_ONLINE_MARKING', 1);
+
$filename = WCF_DIR.'options.inc.php';
// create options file if doesn't exist
<item name="wcf.acp.option.google_maps_default_longitude"><![CDATA[Standard-Kartenposition (Längengrad)]]></item>
<item name="wcf.acp.option.google_maps_access_user_location"><![CDATA[Aktuelle Benutzerposition verwenden]]></item>
<item name="wcf.acp.option.google_maps_access_user_location.description"><![CDATA[Bei der Angabe von Positionen wird die aktuelle Position des Benutzers als Ausgangspunkt auf der Karte verwendet.]]></item>
- <item name="wcf.acp.option.message_sidebar_enable_user_online_marking"><![CDATA[„Benutzer online“-Darstellung für Benutzernamen verwenden]]></item>
<item name="wcf.acp.option.module_cookie_policy_page"><![CDATA[Erklärung zum „Einsatz von Cookies“ aktivieren]]></item>
<item name="wcf.acp.option.module_cookie_policy_page.description"><![CDATA[Weist Besucher beim ersten Aufruf der Seite gemäß EU-Richtlinie 2009/136/EG auf den Einsatz von Cookies hin.]]></item>
<item name="wcf.acp.option.show_update_notice_frontend"><![CDATA[Hinweis bei neuen Updates für Pakete im Frontend anzeigen]]></item>
<item name="wcf.acp.option.google_maps_default_longitude"><![CDATA[Default Map Position (Longitude)]]></item>
<item name="wcf.acp.option.google_maps_access_user_location"><![CDATA[Use current user location]]></item>
<item name="wcf.acp.option.google_maps_access_user_location.description"><![CDATA[When entering a location, the current location of the user is used as start point on the map.]]></item>
- <item name="wcf.acp.option.message_sidebar_enable_user_online_marking"><![CDATA[Apply the users online marking for usernames]]></item>
<item name="wcf.acp.option.module_cookie_policy_page"><![CDATA[Enable explanation on cookie usage]]></item>
<item name="wcf.acp.option.module_cookie_policy_page.description"><![CDATA[Displays a notice on cookie usage according to EU Directive 2009/136/EG upon first visit.]]></item>
<item name="wcf.acp.option.show_update_notice_frontend"><![CDATA[Display a notice for outstanding updates on the frontend]]></item>