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)

Moparx 06-23-2005 01:58 AM

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)

tamarian 06-23-2005 02:11 AM

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. :)

Moparx 06-23-2005 02:14 AM

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 ;)

tamarian 06-23-2005 02:20 AM

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.

Moparx 06-23-2005 02:24 AM

working perfectly :D

tamarian 06-23-2005 02:27 AM

Quote:

Originally Posted by Moparx
working perfectly :D

Great. I need to have a table prefix on my test server, so I don't forget those aliases :)

Hornstar 09-23-2005 10:50 AM

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.


All times are GMT. The time now is 03:22 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.01008 seconds
  • Memory Usage 1,733KB
  • 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
  • (3)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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