• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
Status indicator online or offline

Status indicator online or offline

#1
SyTry submitted a new resource:

Status indicator online or offline - Status indicator

Hi,

Today I share a tutorial under xenForo 2.0 : Status indicator online or offline !

In your template message_macros find :
Code:
<span class="message-userArrow"></span>
Add this before :
Code:
<xf:if is="$user.isOnline()">
    <div class="onlineON">Online</span></div>
<xf:else />
     <div class="offlineOFF">Offline</span></div>
</xf:if>
Add this in your template EXTRA.less :
Code:
/*online - offline*/
.onlineON{
    background: #32CD32;
    padding...
Read more about this resource...