View Single Post
  #396  
Old 05-27-2005, 04:01 PM
sim tech sim tech is offline
 
Join Date: Jan 2005
Location: Georgia
Posts: 140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Smitty
I think if you read through the thread, this problem was IDed quite a while ago and the comment was made that this would be tough to 'fix' and that was the last I've heard.

With 395+ posts, it's really hard to find this bug was mentioned earlier. I did search for "users viewing" and "members viewing" but no hits were returned.

For reference sake, here's the original post that I finally found: (post 216)

Quote:
Originally Posted by S@NL - BlackBik
Sorry guys, but we found a "bug" in the vB Stats.

We recieved complaints that people couldn't see who was browsing a thread. All they saw was themselves, but not the other people who were in the thread. The "Who's online" page showed that serveral more people were browsing the thread, but they didn't show in the thread itself.

Our programmer has spent two evenings troubleshooting this problem and we found the cause.
It's the image that is generated by the statistic_java.js and that is in the header of every page. This image executes a script to see what browser, os, resolution etc he is using. The problem is this:

1. The user is opening the page and is put in the session table of the vB database.
2. The image is being execute, the vB Stats are updated, but the user is removed from the session table because at this time he is not viewing a forumpage but a generic page caused by the execution of the javascript.

Result: the sessions table is not up to date and the user is not being shown browsing the thread.

A possible sollution for this problem is not to touch the session in the statistic_java_counter.php. You can probably make sure of that by not using global.php, but only mysql includes and config includes.

We solved our problem by removing the java image from our header, but the result is that some statistics are not being updated. We hope you can find a better solution by making some changes to the program.

Greetz,
S@NL - BlackBiker


Would it be best to just uninstall the mod & wait for the new version, or do you think a simple patch will fix this problem?

I like the mod but everyone also liked the who is viewing a forum feature that is now lost. :ermm:
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01358 seconds
  • Memory Usage 1,769KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete