I try to set the class of the user avatar to online if a user is online, but nothing happens. Edited the avatar_item.html and changed the following code:
<div class="ow_avatar {if $user.isOnline}online{/if} {if !empty($data.class)} {$data.class}{/if}">
But it seems the variable "$user.isOnline" is wrong. I tried "$isUserOnline", "$data.isOnline" and so on as well.
I would like to style the frame of the avatar different if someone is online or not.
Does anyone have an idea?