Wait...which are we talking about?
I'm using this version:
http://xenforo.com/community/threads/online-status-indicator-within-threads.8813
I've used the add-on mentioned at the top of this thread, using a simple green, red (for online/hidden) or grey dot next to the avatar. It's been installed since 1.1 and we've never had to modify it in any way for 1.2 or 1.3. I prefer a simple dot rather than a word, or banner, as it is much cleaner and reduces clutter.
View attachment 72833
Still would like to see an "official" online indicator though, preferably as simple and clutter-free as possible.
The link is right in my post #62. But make sure to follow ALL instructions in the thread if you attempt it.
He means add something like this to the message_user_info template:
Code:<xen:if is="{$post.last_activity} >= {$serverTime}-900"> Online <xen:else /> Offline </xen:if>
The 900 equates to 15 minutes.
The "Online" and "Offline" could be substituted with phrases, images, whatever you wish.
I'll knock a TM up later when I have time.
Am I understanding Mike's comment correct that a different approach is needed than Brogan's code?The value will be wrong more often than not do to the batched updating of that field. Doing it properly really requires the session activity record.
Wait...which are we talking about?
I'm using this version:
http://xenforo.com/community/threads/online-status-indicator-within-threads.8813
That was when it was more like a template modification, perhaps?
I've never installed this add-on:
http://xenforo.com/community/threads/rt-online-status-ribbon.41691
It may apply to both, but I'm going to read through both threads at length to see what's up.
Not sure what I'm doing wrong then... here's what I have posted:
If it was working I should see myself as being online, right?Code:<xen:if is="{$post.last_activity} >= {$serverTime}-900"> <div class="online-status-postbit">Online</div> <xen:else /> <div class="offline-status-postbit">Offline</div> </xen:if>
I agree. I know that Xenforo is built to be a forum solution first and foremost, not necessarily a social media system. But I think forums are being challenged by social media-like community sites that people are drawn to because of the instant interaction features those sites tend to have, like seeing if members of the site they're on are currently online at that moment(a feature that was a core function in my past outdated vb 3.8 installation) and being able to IM them and get an immediate response. I think forum scripts like XF should adopt a few more of these "instant gratification" interaction features that everyone is becoming accustomed to on many modern community/social sites. If the concern is having too much bloat, maybe consider creating official add-ons that can be plugged in for those who don't want the bloat.What does Xenforo excel at? User/member-interaction. And I strongly believe they should build upon this more (since on different levels it can be improved on considerably). If stuff like http://xenforo.com/community/threads/instant-message-with-friends-online.927/ will not see the light of day anytime soon (which would enable us at least -finally- to see immediately who of our friends (which actually do not exists as an entity on Xenforo...-) are online , then at least more simple functionality like displaying the online status next to the post will improve the social/interaction aspect of XF.
Why?
Because the only way to find out if someone is online is going to the forumhome and look at the 'Members Online Now' section. But the majority of our time is not spend on forumhome, but inside the discussion threads. It is nice to see who is online on the overall forum, but it adds an extra dimension and value to direct user-interaction if we can see immediately who is online in the context of where we are. I don't necessarily care if Miss Marple and hundreds of other members are online (who are displayed on the forumhome) if she has no connection with the thread that I am browsing or participating in.
<Liked>
I agree. I know that Xenforo is built to be a forum solution first and foremost, not necessarily a social media system. But I think forums are being challenged by social media-like community sites that people are drawn to because of the instant interaction features those sites tend to have, like seeing if members of the site they're on are currently online at that moment(a feature that was a core function in my past outdated vb 3.8 installation) and being able to IM them and get an immediate response. I think forum scripts like XF should adopt a few more of these "instant gratification" interaction features that everyone is becoming accustomed to on many modern community/social sites. If the concern is having too much bloat, maybe consider creating official add-ons that can be plugged in for those who don't want the bloat.
What does Xenforo excel at? User/member-interaction. And I strongly believe they should build upon this more (since on different levels it can be improved on considerably). If stuff like http://xenforo.com/community/threads/instant-message-with-friends-online.927/ will not see the light of day anytime soon (which would enable us at least -finally- to see immediately who of our friends (which actually do not exists as an entity on Xenforo...- are online) , then at least more simple functionality like displaying the online status next to the post will improve the social/interaction aspect of XF.
Why?
Because the only way to find out if someone is online is going to the forumhome and look at the 'Members Online Now' section. But the majority of our time is not spend on forumhome, but inside the discussion threads. It is nice to see who is online on the overall forum, but it adds an extra dimension and value to direct user-interaction if we can see immediately who is online in the context of where we are. I don't necessarily care if Miss Marple and hundreds of other members are online (who are displayed on the forumhome) if she has no connection with the thread that I am browsing or participating in.
<Liked>
We use essential cookies to make this site work, and optional cookies to enhance your experience.