getOnlineList not working right
PostPosted: 26 May 2011, 17:02
Hi there.
I can not seem to get list of current users to show up.
All I see is "Loading..." while if I join a chat room count is correct. In other words, unless I look at the chat rooms it will always show zero logged in members.
All the test users are set to be "available".
Query in getOnlineList function looks little odd (no php guru here though):
which should translate into
SELECT DISTINCT pref_Table.Column userid
variables are defined in config.php so what is up wit the "userid"
Not sure if the two are related but could use some direction.
Thank you.
I can not seem to get list of current users to show up.
All I see is "Loading..." while if I join a chat room count is correct. In other words, unless I look at the chat rooms it will always show zero logged in members.
All the test users are set to be "available".
Query in getOnlineList function looks little odd (no php guru here though):
- Code: Select all
"SELECT DISTINCT ".TABLE_PREFIX.DB_USERTABLE.".".DB_USERTABLE_USERID." userid,....
which should translate into
SELECT DISTINCT pref_Table.Column userid
variables are defined in config.php so what is up wit the "userid"
Not sure if the two are related but could use some direction.
Thank you.