Previous Thread
Next Thread
Print Thread
Hop To
Joined: Sep 2006
Posts: 13
A
stranger
stranger
A Offline
Joined: Sep 2006
Posts: 13
ok, with 7.0.2, details for who's online would show me everyone, lurkers, users, etc.

with 7.1, it tells me something like "7 registered (Bryce, 2 invisible) and 10 anonymous users online." yet the details will show 1 person at the most...

have tried changing the build time, etc.. seems like something is missing?

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
I've seen this happen on one other install. It appears it's a problem with the query on certain servers since we switched the online table to a heap table. Need to figure out a proper fix.

Joined: Sep 2006
Posts: 13
A
stranger
stranger
A Offline
Joined: Sep 2006
Posts: 13
thank you for the feed back.

Joined: Sep 2006
Posts: 13
A
stranger
stranger
A Offline
Joined: Sep 2006
Posts: 13
just curious, is there any time frame for this?

Drives me nuts when I see it say "XX registered users online" and I click details and it only ever shows me 1 user.

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
I'm trying to figure out a fix for all users. It's something mysql version specific, and so far I haven't found a query that will match under all versions. As soon as I can then I'll get a fix out.

Joined: Sep 2006
Posts: 13
A
stranger
stranger
A Offline
Joined: Sep 2006
Posts: 13
thank you for the update.
for some reason my members seem to be really concerned about this not working.. they don't seem to understand when I tell them it is a known issue and being worked on.. oh well.


Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
I think I may have something that will work on all servers with the table change. I'll see if I can get something posted for a short term fix in the next day or two.

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Ok, it appears the only way to fix this is going to a LIKE query. You can edit scripts/online.inc.php:

Line 89 has:

WHERE t1.ONLINE_USER_TYPE = 'r'

Change that, to this:

WHERE t1.ONLINE_USER_TYPE like '%r%'

Next, line 196 has:

WHERE ONLINE_USER_TYPE = 'a'

Change that, to this:

WHERE ONLINE_USER_TYPE like '%a%'


Joined: Dec 2003
Posts: 1,796
Pooh-Bah
Pooh-Bah
Joined: Dec 2003
Posts: 1,796
I always figured it was a caching issue - when I clicked on the 'details' page it updated the cache and showed the correct info in the portal island smile


- Allen
- ThreadsDev | PraiseCafe
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
This is something different. What you're referring to is caching. This problem on some servers would make it so when you went to the online page it would only list 1 user no matter how many were actually online.

Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
You know, I actually ran into this issue on a server and shrugged it off as a caching issue... I don't even recall who's server it was on now that I think of it...


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
Is UBB.threads still going?
by Aaron101 - 04/01/2022 8:18 AM
Who's Online Now
1 members (Ruben), 1,248 guests, and 268 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)