SimplePortal

Development => Bugs => Fixed or Bogus Bugs => Topic started by: cloksin on June 19, 2011, 01:30:31 AM

Title: Shoutbox and who's online
Post by: cloksin on June 19, 2011, 01:30:31 AM
I'm using SMF 2.0 RC3 and simple portal 2.3.3, I have a shoutbox set up in a top block and showing on nearly every page of my forum. 

I noticed something tonight that had me worried for a while until I figured out what was going on.

I had a member participating in the conversations in the shoutbox but they weren't showing up in the who's online list, their settings were to show other members their online status, so they weren't hidden (I'm the admin and can see hidden users anyway, and this member still wasn't showing up).  their profile was also showing them as last active not being updated with each shout.

My shoutbox is NOT set to auto refresh, so in order to see new shouts it must be manually refreshed.  It turns out that if a member uses the refresh button inside the shoutbox and does nothing on the forum but shout in the shoutbox SMF will not recognize them as being active. 

This seems like it could be a minor security issue, is there any way to make SMF recognize the users activity when that activity consists of only the shoutbox?
Title: User offline when chatting
Post by: flybox on July 01, 2011, 03:00:42 PM
Hi! One more bug, when a user chats in the shout box, it shows that he's offline, why is that? it suppose to show him as online if he's on the website
Title: Re: User offline when chatting
Post by: Blue on July 01, 2011, 05:51:49 PM
Can you show a screenshot? Where does it say that an user is online/offline?
Title: Re: User offline when chatting
Post by: flybox on July 01, 2011, 06:03:00 PM
Can you show a screenshot? Where does it say that an user is online/offline?
No, when i was chatting with someone, i saw that he's not online when i clicked his profile, and he wasn't shown in the who's online box
Title: Re: User offline when chatting
Post by: Blue on July 01, 2011, 06:37:36 PM
That's not a bug.

In profile you can tick on/off this parameter:
Code: [Select]
Show others my online status
Title: Re: User offline when chatting
Post by: flybox on July 01, 2011, 06:45:02 PM
That's not a bug.

In profile you can tick on/off this parameter:
Code: [Select]
Show others my online status
but he has ticked that we can see his online status :/
Title: Re: User offline when chatting
Post by: flybox on July 01, 2011, 06:51:22 PM
and in the shoutbox settings, i can see that there is -1 shouts, but i actualy have 0 shouts
Title: Re: User offline when chatting
Post by: Blue on July 01, 2011, 06:54:44 PM
-1 shouts?! That's weird

But sorry, I really don't know :(

I'm confident that someone of the SP TEAM will help you as soon as possible
Title: Re: User offline when chatting
Post by: flybox on July 01, 2011, 06:55:29 PM
-1 shouts?! That's weird

But sorry, I really don't know :(

I'm confident that someone of the SP TEAM will help you as soon as possible
Ok, thank you!
Title: Re: Shoutbox and who's online
Post by: MC73 on July 10, 2011, 09:04:51 PM
This has been talked about alot ( not just on this site but others also ) and i have noticed it every since 2.3.3 came out .... I too have this minor issue and i have tried many things except make changes within the sp code. Hopefully this small glitch will be figured out whenever 2.3.4 decides to come out. Till then .... the Auto Refresh Who's Online Mod just came out and I'm going to test it out , just for the hell of it .

http://custom.simplemachines.org/mods/index.php?mod=2369 just incase you want to test it out also
Title: Re: User offline when chatting
Post by: AngelinaBelle on August 04, 2011, 07:38:02 AM
When someone is viewing a page with a shoutbox on it, that is what ought to show up on their online status.
Viewing the Portal, viewing a post, etc. This is triggered by loading any regular SMF URL.
If you don't load a page, after 15 minutes, SMF sees you as offline.
Even if your shoutbox is auto-refreshing.
And, it seems, even if you've been actively punching the "Shout!" button.
So I'm going to suggest that you enter a feature request on the feature requests board 'show "Shouting" in the online status whenever someone uses the "Shout!" button'
When you do have more than 0 shouts, is the # of shouts correct or still incorrect?
Title: Re: User offline when chatting
Post by: MC73 on August 04, 2011, 07:02:24 PM
--------
Note from AngelinaBelle:
My apologies.  I accidentally deleted the contents of this post. I am still not sure how this happened.  I am very sorry.
Title: Re: User offline when chatting
Post by: AngelinaBelle on August 05, 2011, 08:20:37 AM
I am sorry I accidentally blanked a post while attempting to reply. I am not certain how this happened.
I thought I had been replying to a post from Blue which said that even setting the online time limit to 5000 did not change the who_online behavior (the member's online status would appear and disappear), and that "shouting" did not show up in the who_online in any case.
Here's the thing about the shoutbox: as far as I can tell, hitting the "shout" button is not logged.  So it would never have any effect on the user's online status. If you were viewing a topic, that's what would be shown.  If you then started shouting -- you should still be shown as viewing a topic.  Until the "logged in" timer ran out. Then you should not show up at all.
It seems like you are telling me this is not exactly what is happening, though.  If this is the case, it would take some careful testing.
I am sorry about accidentally deleting your post. Can you post a timed sequence of events, with all the associated settings?  Thanks.
 
---
edit: corrected typo (email for post)
Title: Re: User offline when chatting
Post by: MC73 on August 05, 2011, 07:22:01 PM
Its alright Angelina , no one is perfect, it's just human nature ....

No matter what setting as far as internally adjusting the time limit in the who.php file, nothing helps .... Not even auto refreshing limit to every second helps .... The thing is that I'm not 100% sure that it is a SP problem or a SMF problem or even a server/hosting problem.... because the who's online member does not show up as they are chating .... all i know is that it was working perfecly till 2.0 rc4 and it still does the same thing with 2.0 final. Hitting the refresh button on your browser ( tested on FF3,FF4,FF5, FF6 beta , Chrome and IE ) doesn't always solve the who's online problem.

I have even tried other portals but .... SP is still better ( IMO ) despite this minor shout online issue. SP shout is simple without the thrills and spills, just as i like it. I'm not the type that just complains or Bytches about things, I just rather read and learn, but i felt the urge just to let others know that this problem has been ongoing since rc4.
Title: Re: User offline when chatting
Post by: AngelinaBelle on August 08, 2011, 09:23:23 AM
Only since RC4? That is interesting.
If you have any other information that will help track it down, that will help. As I said, the "shout" button does not update the user's online status.  I imagine this is one componant to the problem. The other one, the part where the "the user is reading topic xxx" expires too soon -- I don't know what causes that problem.  I cannot see anything in SP that ought to cause that, but I cannot say that I fully understand it.
I think it would be reasonable to report this as a bug. Either it is an SP bug, or an SMF bug, or an unusual interaction between the two. So I'm going to move this to bugs.
 
I'm sorry I cannot offer you any useful support for this problem.
Title: Re: Shoutbox and who's online
Post by: [SiNaN] on March 07, 2012, 11:26:34 AM
Tracked here:

http://simpleportal.net/index.php?issue=460.0
Title: Re: Shoutbox and who's online
Post by: [SiNaN] on March 07, 2012, 01:19:51 PM
Fixed in our dev version.
SimplePortal 2.3.8 © 2008-2024, SimplePortal