• This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

Online Status Indicator within Threads

I would prefer them not to show online at all. The problem is that since there's Guests online and their accounts are Guest accounts, they show online.

So, you don't want anything to show, or you want them to show as offline?

I'm not trying to be dense here, I just want to chase down the right solution the first time.
 
No problem. I don't want anything to show. Thanks for being specific. :)

Change message_user_online to the following:
HTML:
<xen:if is="{$user.user_id} != 0">
<span class="user{$userStatus.class}">{$userStatus.text}</span>
</xen:if>

Update Asp/OnlineStatus/Plugin/Plugin.php

Under
PHP:
self::_getOnlineStatusTemplate()->setParam('userStatus', $userStatus);

Add
PHP:
self::_getOnlineStatusTemplate()->setParam('user', $params['user']);

I'll include a proper fix when I next update the mod.

I've only done very cursory testing, but it appears to work correctly.
 
Change message_user_online to the following:
HTML:
<xen:if is="{$user.user_id} != 0">
<span class="user{$userStatus.class}">{$userStatus.text}</span>
</xen:if>

Update Asp/OnlineStatus/Plugin/Plugin.php

Under
PHP:
self::_getOnlineStatusTemplate()->setParam('userStatus', $userStatus);

Add
PHP:
self::_getOnlineStatusTemplate()->setParam('user', $params['user']);

I'll include a proper fix when I next update the mod.

I've only done very cursory testing, but it appears to work correctly.
Worked, thanks :)
 
Is this normal? I'm using "dots." They show up as dots in Chrome, but as squares in IE8. Does IE not support the radius in CSS? Can't say I like the square look, and I really don't want to load images if I don't have to.

I also tried an offline indication--a very faint grey dot, as it gives an effect of some kind of indicator being there. In Chrome, the following works wonderful, especially using a color of #c0c0c0:
Code:
Opacity:.50;

And in IE, these are supposed to work, but don't (not sure if they work on this type of element or not):
Code:
filter:alpha(opacity=50);
filter: “alpha(opacity=50)”;

Supposedly, the first line covers IE6/IE7, and the second is for IE8.

I may not use the offline indicator, but wanted to try it out.
 
IE8 does not support the border-radius property so any rounded corners will show as squared corners.
 
To get the green dot I posted above, just empty the span like so: <span class="userOnline"></span>

And then add your custom css to EXTRA.css like this:
HTML:
.userOnline {
position:absolute;
right:3px;
top:3px;
height:6px;
width:6px;
border-radius:3px;
background-color: #009900;
}
were do i go to edit to get this to show?
 
Kier did say at some point that he was considering a small pip to indicate online status but that was some time ago and I haven't seen anything since.
 
I solved my opacity problem for the offline users. It actually looks nice to have a faint offline indicator when someone isn't on line, as it gives the effect of an indicator lamp that isn't illuminated. I made it 40% opaque using a light grey/blue tint.

HTML:
.userUserOffline {
position: absolute;
right: 3px;
top: 3px;
height: 6px;
width: 6px;
border-radius: 3px;
obj.style.zoom = 1;
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
filter: alpha(opacity=40);
opacity: .40;
background-color: #b0b0e0;
}

The four elements should be in the order given above--obj.style.zoom seems out of place there, but I guess what IE needs is some sort of positioning element before the opacity will kick in via either of the two "filter" elements. I don't have IE6 to test it in anymore, but it works in IE7 and IE8. Nothing else looks "off" elsewhere on the page, so the extra code doesn't affect anything.
 
am i the only one to get this when uploading the addon?

Code:
Please enter a valid callback method.

Nobody else has mentioned this. Are you trying to install the addon before uploading the files? Uploading the files to the right directory?
 
fixed now, weird... all i did was log in an out i guess it refreshed it for me!

how do i get brogans single dot? to work?
 
Top Bottom