Download & Extend

All users shows offline

Project:QTChat
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

It seems all users shows offline status even the user is online

AttachmentSize
qtc.JPG38.24 KB

Comments

#1

I think I may have found why you are having this problem. I was also having this problem today and spent a couple of hours trying to figure out what was going on.

It appears that each user has to go to the page http://www.yoursite.com/my-chat-status and set their status manually before the chatbar will accept the status.

I created two new users today and even though they set their statuses as available in the chatbar, they couldn't see each other UNTIL they both went to http://www.yoursite.com/my-chat-status and set hit 'set status'.

For me, this is a problem because I don't want the 'My Chat Status' in the menu. I hid that option. I only want users to be able to change their status through the chatbar.

Users should not have to go to that page to initially set the status, should they?

#2

The reported problem has an other cause.

The problem was visible when a new user logs in first time (and no QTC DB stats entry exist at this point).
It exist an illogical in the code when a user logs in (not only first time log ins).

The bug is fixed and coming soon withe the next dev contribution.

"Login again status"

Furthermore, it is possible to configure the status behavior for a user-login - the "Login again status". Chat -> Other settings -> Login again status
There are two configuration options:
- Status available
- Last status

If not configured - Status available is default.

Menu "My chat status" and "Login again status"

The displayed/used status after a user logged in is the result of the configured "Login again status".

If configured "Last status" and a user logs out with status invisible, then the user status is offline (invisible) when a user logs in again. The same with busy status.

#3

Changing the chat status did not fix it using the current dev. online user in QT chat block are not accurate in terms of log time of 15 mins

#4

That works correct.

The block "QTChat" has no AJAX function to refresh the users.

Only the friends list in the block "QTChat friends" and the friends list in the chat bar has the AJAX function to refresh users.

#5

I can confirm that the latest DEV fixes the issue of new users not showing up online. I tested tonight. Added a new user as a friend and he immediately showed up even though he didn't set his status in the 'My online status' page.

Nice work and thanks for the fix. It really seems to work well now.

I'll be using this on a production site opening up within a few weeks.

#6

Just keeping track of this thread...

#7

Status:active» fixed

#8

Status:fixed» closed (fixed)

#9

Status:closed (fixed)» active

i using both beta and dev the same error happens again..
any idea how to solve it?

thanks