|
|
Joined: Jun 2007
Posts: 286
enthusiast
|
|
enthusiast
Joined: Jun 2007
Posts: 286 |
What causes the views count to a thread to not update or is it a long delay before it is updated
I watched a thread that 5 people had read yet 30 minutes later the views count is still at zero ? I myself read the thread 3 times and still count is at zero
Thanks
JR Team ZR-1 Corvette Racer's
|
|
|
|
|
Joined: Jun 2006
Posts: 16,532 Likes: 150
|
|
Joined: Jun 2006
Posts: 16,532 Likes: 150 |
I believe it should update a set period of time as to not pound the database; I'm not sure what this timeframe is offhand however.
|
|
|
|
|
Joined: Jun 2007
Posts: 286
enthusiast
|
|
enthusiast
Joined: Jun 2007
Posts: 286 |
I wrote a post at 3:45 PM today, at 7:45 PM the views count is still at zero yet who is online has shown several have read that thread
Does it not count those who are not logged in ?
JR Team ZR-1 Corvette Racer's
|
|
|
|
|
Joined: Jun 2006
Posts: 16,532 Likes: 150
|
|
Joined: Jun 2006
Posts: 16,532 Likes: 150 |
Odd, I'm relatively sure that it should have updated in a 4 hour period lol...
As for if it tallies guest, I'm pretty sure it does; but I could be wrong
|
|
|
|
|
Joined: Jun 2007
Posts: 286
enthusiast
|
|
enthusiast
Joined: Jun 2007
Posts: 286 |
It is now over 5 hours and the view count for that 1 thread is still zero, yet even more have read that thread.
JR Team ZR-1 Corvette Racer's
|
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
|
Former Developer
Joined: Jun 2006
Posts: 9,242 Likes: 1 |
The thread view counters only update whenever a post is added. So, if you make a post, and then no other post is made for 12 hours, but many views, those views won't be added until another post is actually made.
|
|
|
|
|
Joined: Jul 2006
Posts: 4,057
|
|
Joined: Jul 2006
Posts: 4,057 |
I was going to say that lol 
BOOM !! Version v7.6.1.1 People who inspire me Isaac ME Gizmo
|
|
|
|
|
Joined: Jun 2007
Posts: 286
enthusiast
|
|
enthusiast
Joined: Jun 2007
Posts: 286 |
Yes I find this bug indeed will not update a threads "views" counter as long as it is the newest posting.
Once a newer post is made and only then does the views counter stuck at zero change but even then these counters are not correct.
JR Team ZR-1 Corvette Racer's
|
|
|
|
|
Joined: Jun 2006
Posts: 16,532 Likes: 150
|
|
Joined: Jun 2006
Posts: 16,532 Likes: 150 |
Ahh, here I was thinking it would update automagically after an hour or so :hangs head in shame:
|
|
|
|
|
Joined: Jun 2007
Posts: 286
enthusiast
|
|
enthusiast
Joined: Jun 2007
Posts: 286 |
Worse is the views counter worked for that thread one time when a new thread was done but then stopped again
JR Team ZR-1 Corvette Racer's
|
|
|
|
|
Joined: Aug 2007
Posts: 1
stranger
|
|
stranger
Joined: Aug 2007
Posts: 1 |
Do you know when it will be changed so that it updates views counter when one views a post and not when another post is actually made? People need to see activity for a post before they click on it.
|
|
|
|
|
Joined: Nov 2006
Posts: 3,097 Likes: 1
Carpal Tunnel
|
|
Carpal Tunnel
Joined: Nov 2006
Posts: 3,097 Likes: 1 |
Well I don't recall seeing anywhere where Rick said it would be changed. On a busy site it would update often already. If you have a slow site then yes maybe some type of timer would be in order.
From my understanding it does not have to be a post in the same thread. Any post anywhere on the board will increment the count (I think).
|
|
|
|
|
Joined: Jun 2006
Posts: 16,532 Likes: 150
|
|
Joined: Jun 2006
Posts: 16,532 Likes: 150 |
It's a post anywhere on the forum, so I don't see why this would need updating... It'd totally thrash a forum to make it every time the forum is accessed, and you'd end up with curruption to your tables if it was changed back to avoid the current caching...
|
|
|
|
|
Joined: Jun 2007
Posts: 286
enthusiast
|
|
enthusiast
Joined: Jun 2007
Posts: 286 |
This is a bug and one that effects all posts I have monitored closely my forum and posts written days ago even after new posts have been done are still at zero or 1 count.
This makes the whole forum look dead and I have watched the who's online to see many users reading posts yet the views counts of many posts still not increasing those counters
JR Team ZR-1 Corvette Racer's
|
|
|
|
|
Joined: Jun 2006
Posts: 16,532 Likes: 150
|
|
Joined: Jun 2006
Posts: 16,532 Likes: 150 |
are your users not posting? Once a post is made (anywhere) it should update the postcounts (for all posts).
The caching mechanism logs when someone accesses a post, and stores it in a 'memory' table, which is completely temporary; when a post is made, it merges all content of the temporary table with the post table.
Before this caching mechanism was in place, there was major corruption of the posts table, so in order to save content in the db from being corrupted, this was added in place.
So long as users make posts, the tables should be updated automatically.
|
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
|
Former Developer
Joined: Jun 2006
Posts: 9,242 Likes: 1 |
It has to be updating. Look at your gallery forum and see all of the View counts. They are definitely updating there as you have a variety of view counts.
You can monitor the ubbt_TOPIC_VIEWS table to see what the cached views look like. This holds all of the cached views until a post is made.
|
|
|
|
|
Joined: Jun 2007
Posts: 286
enthusiast
|
|
enthusiast
Joined: Jun 2007
Posts: 286 |
Rick how do I monitor that field ?
Looking at ubbt_TOPIC_VIEWS with phpmyadmin all I can see is
Row Statistics Statements Value Format fixed Collation latin1_swedish_ci Rows 14 Row length ø 8 Row size ø 598,018 B
Space usage Type Usage Data 4,088 KiB Index 4,088 KiB Total 8,176 KiB
Those images are a month old, many posts written a week ago are still at only a few counts
JR Team ZR-1 Corvette Racer's
|
|
|
|
|
Joined: Jun 2006
Posts: 16,532 Likes: 150
|
|
Joined: Jun 2006
Posts: 16,532 Likes: 150 |
click "browse" within phpmyadmin on this table, and you can see all 14 values that are in it.
|
|
|
|
|
Joined: Jun 2007
Posts: 286
enthusiast
|
|
enthusiast
Joined: Jun 2007
Posts: 286 |
I have no idea what this means when I browsed
row(s) starting from record # in horizontal horizontal (rotated headers) vertical mode and repeat headers after cells Sort by key: topic_ndx (Ascending) topic_ndx (Descending) None TOPIC_ID 959 881 169 329 867 331 369 682 331 447 4 5 327 890
JR Team ZR-1 Corvette Racer's
|
|
|
|
|
Joined: Jun 2006
Posts: 16,532 Likes: 150
|
|
Joined: Jun 2006
Posts: 16,532 Likes: 150 |
Each number represents a topic; every time it is displayed, that is one view for that topic.
|
|
|
|
1 members (1 invisible),
304
guests, and
96
robots. |
|
Key:
Admin,
Global Mod,
Mod
|
|
|
|