message.macros şablonunda aşağıdaki satırı bulun
ve altına şunu ekleyin
Daha sonra offline iconu şekillendirmek için aşağıdaki kodu extra.less şablonuna ekleyin.
Kod:
<span class="message-avatar-online" tabindex="0" data-xf-init="tooltip" data-trigger="auto" title="{{ phrase('online_now')|for_attr }}"></span>
ve altına şunu ekleyin
Kod:
<xf:else />
<span class="message-avatar-offline" tabindex="0" data-xf-init="tooltip" data-trigger="auto" title="{{ phrase('offline_now')|for_attr }}"></span>
</xf:if>
Daha sonra offline iconu şekillendirmek için aşağıdaki kodu extra.less şablonuna ekleyin.
Kod:
.message-avatar-online
{
position: absolute;
// center bottom position
left: 80%;
margin-left: -.615em;
bottom: 0;
&:before
{
.m-faBase();
.m-faContent(@fa-var-certificate);
line-height: 1;
font-weight: bold;
color: rgb(127, 185, 0);
background: @xf-messageUserBlock--background-color;
border: @xf-messageUserBlock--background-color solid 2px;
border-radius: 50%;
display: inline-block;