vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vBusy: Last minute session stats analyzer for admins (https://vborg.vbsupport.ru/showthread.php?t=82682)

tamarian 06-08-2005 04:47 PM

I think I'll add a few more goodies. One thing that might pinpoint spikes is a one-minute chart, link for each minute to isolate what was going on. Also stats for most active hosts, scripts, spiders... stay tuned :)

Wa'il

Corriewf 06-08-2005 05:27 PM

What would be nice is to see query specs like whats the most run right now ect ect to troubleshoot even the queries being used.

Abe1 06-08-2005 08:01 PM

You say to add:
PHP Code:

// vBusy hack 
        
construct_nav_option('vBussy''vbusy.php''<br />'); 
// vBusy end 

Shouldn't it be:
PHP Code:

// vBusy hack 
        
construct_nav_option('vBusy''vbusy.php''<br />'); 
// vBusy end 

You spelled vBusy with 2 's'.

tamarian 06-08-2005 08:04 PM

Quote:

Originally Posted by Abe1
You say to add:
PHP Code:

// vBusy hack 
        
construct_nav_option('vBussy''vbusy.php''<br />'); 
// vBusy end 

Shouldn't it be:
PHP Code:

// vBusy hack 
        
construct_nav_option('vBusy''vbusy.php''<br />'); 
// vBusy end 

You spelled vBusy with 2 's'.

You are correct :) I'll correct the spelling, but it should still work, since the spelling error is in the title, not the script name.

Spinball 06-08-2005 08:31 PM

The most useful thing would be to see where the majority of people are coming from. Within the thread with the most views, show the referers by their frequency.

tamarian 06-08-2005 09:52 PM

Quote:

Originally Posted by Spinball
The most useful thing would be to see where the majority of people are coming from. Within the thread with the most views, show the referers by their frequency.

The referrer information is not stored in the session table. It's not that hard to add, it just requires adding a new field to the session table, and trivial code changes to the /includes/session.php file. So, it is doable. But there are a few caveats, that may make it not so desirable. The session data is not cumilative, which means when the visitor clicks on a link (say to see the next page in the thread), the record will be replaced with this activity, and the referrer will be your site/forum, so it will not give you the data you really want, unless you run the script at the righ time. This means if you run the script, a couple minutes later, you may not find the actual referrer.

The best thing to do, IMHO, is that once you identify the time when the spike occured, is to look at the server logs for that time period (you will have the exact time down to the second), and just look at the "referrer" tag in the apache log.

If you still want the referrer though, I can send you to required steps by PM, to avoid having others here do the database updates if they'd rather not have this feature. Or if there's enough demand, I can list the steps here.

Paul M 06-08-2005 11:12 PM

Referrers would be useful.

Spinball 06-09-2005 05:32 AM

tamarian, the situation which leads to the scenario I am taking about here is a link to a specific thread on your site from another site. (or sometimes if you're lucky, more than one site) when something particularly interesting has caught their attention.
Their referer information*should* in the first instance hold the site containing the link to yours.
Perhaps the referer information could only be stored if it's off site.
Although having all the referer information would allow us to show the route people take though the site. Something which may be useful in analysing how well presented and usable your site is.
However, I don't think any of this fucntionality is worth slowing down the forums significantly.
I can't actually analyse our apache logs as they are too big.

[Edit:] My moderators have asked if the thread title rather than the thread number could be shown. I agree that this would be most useful.

Freezerator 06-09-2005 10:23 AM

Nice hacks, installed en works like it should.

tamarian 06-09-2005 11:41 AM

Quote:

Originally Posted by Spinball
tamarian, the situation which leads to the scenario I am taking about here is a link to a specific thread on your site from another site. (or sometimes if you're lucky, more than one site) when something particularly interesting has caught their attention.
Their referer information*should* in the first instance hold the site containing the link to yours.
Perhaps the referer information could only be stored if it's off site.
Although having all the referer information would allow us to show the route people take though the site. Something which may be useful in analysing how well presented and usable your site is.

The session table won't be helpful in analysing the viewing patterns, or route through the site, because it replaces the activity, rather than add a new record.

There's an easier option, if you want to know when a specific site is sending referrals to you. You can add a short peice of code in showthread.php, that "if the referral is site xyz.com, then email this address that they've come". This would have the advanatage the information is not lost, and gives you an email alert. It also has the advanatage of no database access, and no added processing, unless the referral you're interested in has dropped by.

Quote:

However, I don't think any of this fucntionality is worth slowing down the forums significantly.
Exactly. The session table is heavily used, and any additional fields and processing in the session file will be executed on every single vBulletin function.

Quote:

I can't actually analyse our apache logs as they are too big.
You might want to consider adding Urchin to your server. It's very effecient in crunching the logs and making useful reports out of it. Most hosting companies can install it for a one time license fee of $20 or so.

Quote:

[Edit:] My moderators have asked if the thread title rather than the thread number could be shown. I agree that this would be most useful.
That would be easy to add.


All times are GMT. The time now is 05:34 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01076 seconds
  • Memory Usage 1,751KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete