Looks like this worked for me:
<span class="userOnline"><span></span>{$userStatus.text}</span>
Nope it did not break anything. And it's probably not an issue with your mod here at all.
What I did was install your add-on, then used Paul's code (here) to display an indicator rather than the text, as I really don't like the text.
The text displayed perfectly, but the indicator won't display.
I'm using the Flexile style, available on this site.
<xen:include template="EXTRA.css" />
.userOnline
{
font-weight: bold;
font-size: 10px;
color: @contentBackground;
background: @primaryLight url('@imagePath/xenforo/gradients/category-23px-light.png') repeat-x top;
padding: 1px 5px;
margin: -5px -5px 5px 5px;
border: 1px solid @primaryLight;
border-radius: 3px;
border-top-right-radius: 0px;
display: block;
float: right;
position: relative;
box-shadow: 1px 1px 3px rgba(0,0,0, 0.25);
margin-left: -{xen:calc '@content.padding-right + 5'}px;
}
.userOnline span
{
background-color: @primaryLight;
border-top-right-radius: 3px;
position: absolute;
top: -4px;
right: -1px;
width: 5px;
height: 4px;
}
<span class="userOnline"><span class="firstSpan"></span><span class="secondSpan"></span>{$userStatus.text}</span>
Change the .userOnline margin to -8px -5px 5px 5px;But there are a little problem:
To be honest this is how it is meant to be...
oooooohhhh ok I will reinstall this then and see if it works. Thanks!Flexile isn't including the EXTRA.css template within the public.css template, hence the styling that's been added isn't showing up on your forum. I got it to work by adding the following line to the bottom of public.css:
Code:<xen:include template="EXTRA.css" />
That's because the full width span is pushing the username down.yes, but, with long ribbon, no problem, only with classic ribbon
Nice work Arik, I look forward to trying out the new functionality.
The only discrepancy I can see is if an Administrator sets themselves to hidden then Moderators see them as offline.
This is in contradiction to the normal forum view where Administrators show as online to Moderators.
Is that windows hosting? Regardless, looks like you need to change the permissions on the Plugin.php file so the webserver can see it.
Great stuff, thanks Arik.
Works perfectly now
Mine's doing the same thing, post above. Waiting for a fix as well.it shows all my users always online.
i am just doing the green dot. i added the two pieces brogan mentioned. any ideas?
We use essential cookies to make this site work, and optional cookies to enhance your experience.