Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vBusy: Last minute session stats analyzer for admins Details »»
vBusy: Last minute session stats analyzer for admins
Version: 1.00, by tamarian tamarian is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.0.7 Rating:
Released: 06-07-2005 Last Update: 06-22-2005 Installs: 15
 
No support by the author.

There's also a vB 3.5 version: https://vborg.vbsupport.ru/showthrea...threadid=82788

What this hack does: This hack will allow you to have a quick glance at what's going on in the forum, based on the session table. The session table contains short-term information, that can be useful in finding out if things are more busy than usual. This idea come from this thread: How to view the busiest threads? You will have the option to view the bussiest threads, or all activities, in the last 1, 5 or 10 minutes. You can enter addiitonal minute values in the URL.

Features:
Lists is descending order busiets/most active:
  • Threads
  • Forums
  • PHP Scripts
  • Hosts IP's
  • Resolved IP's
  • Useragents and bots
Lists all session data, with sort options based on (time, user, host, useragent, location.

Per minute chart of sessions table activities.

Installation: : Just copy the file vbusy.php into your admincp directory.

Optional: If you want to have it integrated in the admin panel menu, just do this simple edit:

In ./admincp/index.php:

Find:
PHP Code:
construct_nav_option($vbphrase['scheduled_task_log'], 'cronlog.php?do=choose''<br />'); 
Add after it:
PHP Code:
// vBusy hack
        
construct_nav_option('vBusy''vbusy.php''<br />');
// vBusy end 
Click install to receive auto updates about new features/bugs.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 06-23-2005, 01:58 AM
Moparx Moparx is offline
 
Join Date: Jul 2004
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Code:
Invalid SQL: 
		SELECT count(inthread) as viewers, inthread, thread.title FROM vb3_session 
                LEFT JOIN  vb3_thread ON thread.threadid=session.inthread
                WHERE inthread > 0
                AND lastactivity >= 1119493313
                GROUP BY inthread ORDER BY viewers DESC
mysql error: Unknown table 'thread' in field list

mysql error number: 1109
there is no thread.title (or forum.title) in the sessions table. (i'm running 3.0.7)
Reply With Quote
  #33  
Old 06-23-2005, 02:11 AM
tamarian tamarian is offline
 
Join Date: Oct 2001
Location: Canada
Posts: 1,205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Moparx
Code:
Invalid SQL: 
		SELECT count(inthread) as viewers, inthread, thread.title FROM vb3_session 
                LEFT JOIN  vb3_thread ON thread.threadid=session.inthread
                WHERE inthread > 0
                AND lastactivity >= 1119493313
                GROUP BY inthread ORDER BY viewers DESC
mysql error: Unknown table 'thread' in field list

mysql error number: 1109
there is no thread.title (or forum.title) in the sessions table. (i'm running 3.0.7)
Those are to read from the thread and forum tables for the tile.

I just updated the file, please re-download, and let me know if it fixes the problem.
Reply With Quote
  #34  
Old 06-23-2005, 02:14 AM
Moparx Moparx is offline
 
Join Date: Jul 2004
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Code:
Database error in vBulletin 3.0.7:

Invalid SQL: 
		SELECT count(inthread) as viewers, inthread, thread.title FROM vb3_session 
                LEFT JOIN  vb3_thread as thread ON thread.threadid=session.inthread
                WHERE inthread > 0
                AND lastactivity >= 1119495417
                GROUP BY inthread ORDER BY viewers DESC
mysql error: Unknown table 'session' in on clause

mysql error number: 1109
works with . TABLE_PREFIX . added to to session.inforum
Reply With Quote
  #35  
Old 06-23-2005, 02:20 AM
tamarian tamarian is offline
 
Join Date: Oct 2001
Location: Canada
Posts: 1,205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Moparx
works with . TABLE_PREFIX . added to to session.inforum
Well, while we're at it, try the new version I just re-uploaded. It was missing one "as" alias. Let me know if it fixes it.
Reply With Quote
  #36  
Old 06-23-2005, 02:24 AM
Moparx Moparx is offline
 
Join Date: Jul 2004
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

working perfectly
Reply With Quote
  #37  
Old 06-23-2005, 02:27 AM
tamarian tamarian is offline
 
Join Date: Oct 2001
Location: Canada
Posts: 1,205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Moparx
working perfectly
Great. I need to have a table prefix on my test server, so I don't forget those aliases
Reply With Quote
  #38  
Old 09-23-2005, 10:50 AM
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Location: Australia
Posts: 2,469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

tamarian, im going to pm you....but im very interested to know anything you can share on finding the IP of a person who is ddossing my site.

Secondly if i find the ip of the person, they are most likely using a proxy, could there be a way to detect if that ip is a proxy, and if yes reveal the true ip.

and lastly, will blocking that ip address from my site, stop the ddosing, or are most ddosing programs going to hide the ip anyway.

Anything on this would be really good.

Another question because you seem smart ^^ someone was mentioning something about find out where they came from, im also interested to find out where people are coming from b4 they get to my site, e.g other sites or google etc.

Thanks for any info you can help me with.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:15 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05142 seconds
  • Memory Usage 2,283KB
  • Queries Executed 22 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (2)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • 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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete