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