- Compatible XF 2.x versions
- 2.2 / 2.3
Advanced Traffic Statistics: From Insight to Active Defense
Transform your forum statistics into a security fortress.Advanced Traffic Statistics is not just a "Who's Online" widget anymore. It is a comprehensive Traffic Intelligence & Active Defense System that tracks visits, categorizes bot traffic with surgical precision, and actively protects your server from resource-draining scrapers and AI crawlers.Supports XenForo, Bob’s Article Management System (AMS), and Quiz System PRO.
Why just count bots when you can control them? We have introduced a firewall-grade protection layer that intercepts traffic before it loads XenForo, saving massive amounts of CPU and RAM.
Changelog 1.7.4:
- Major Performance Overhaul: Moved heavy database tasks (such as pruning old logs and aggregating yesterday's traffic data) out of the real-time Widget.
- New Dedicated Cron Entry: Maintenance operations are now handled by a lightweight, dedicated background Cron process (Statistiche - Manutenzione Giornaliera). It runs silently once a day, completely eliminating database bottlenecks during peak traffic hours.
- Fixed System Cron Stalling: Resolved the issue where heavy DELETE queries under high traffic could lock the database tables and stall XenForo's native cron queue.
- Ultra-Light Widget: The sidebar widget now only performs fast SELECT operations, drastically reducing the overall load on your server.
- NEW: Top Blocked Bots Chart: Added a new horizontal bar chart to the main report page. It displays today's "Top 10 Blocked Bots," giving you immediate visual feedback on exactly who is attacking your forum and being stopped by the AI/Junk Shields.
- PERFORMANCE: Core Optimization: Implemented an optimized version of the core file (Listener.php) featuring a smart cache limiting system. This reduces database write operations by approximately 90% without losing tracking precision.
- OPTION: Navigation Link: Added a new setting to enable a public statistics link positioned under the "Members" tab (useful if you prefer not to use the sidebar widget). The link location can be fully customized and moved anywhere via the XenForo Admin Panel (Public Navigation).
- DESIGN: Visual Overhaul: The report page graphics have been completely rewritten to provide a cleaner, more modern, and easier-to-read visualization of your data.
- With version 1.7.1, we've introduced a new section dedicated entirely to the "Cyber-Geography" of your traffic. Leveraging GeoIP integration (MaxMind or Cloudflare), the add-on now maps not just human users, but the exact origin of Bots as well.
AI Shield: Blocks Large Language Model scrapers (ChatGPT, GPTBot, Claude, CommonCrawl) from training on your community's unique content.
Junk Shield: Automatically identifies and blocks aggressive commercial crawlers (Ahrefs, Semrush, MJ12) and script-kiddie tools (Python requests, Curl, Wget) that consume your bandwidth for zero return.
Emergency Mode: A "Panic Button" to block ALL unknown bots instantly during a DDoS attempt or high-load anomaly.- Community Pulse (New): Added a new historical chart comparing Attachment Size (MB) and Attachment Count. This replaces the reactions chart to provide a more technical overview of server resource usage.
- Unified Security Core: Synchronized the detection lists between the Firewall and the Report. The system now consistently recognizes and handles hundreds of User Agents, including Applebot (which is now correctly classified as "Good").
- Hacker Tools Block: Added specific signatures to block vulnerability scanning tools such as SQLMap, Nikto, Hydra, and Nmap (classified as "Junk/Bad").
- UI/UX "Cyber" Upgrade: Introduced CSS animations to the report (Radar Pulse on health indicators, scanning effects on the Vitality bars, and fluid movements in the header) to provide immediate visual feedback on the system's status.
- Database Fix: Fixed compatibility issues with the native XenForo historical table (xf_stats_daily).
- Graphics improvements, Server CPU and RAM usage bar (Linux systems only) Bot Analysis graph (24h)
- Bug Fixes and Missing Phrases
We rewrote the detection engine from scratch to distinguish between friend and foe:
- Authorized Crawlers (Green): Essential traffic like Google, Bing, Yahoo is whitelisted.
- Social & Tech Bots (Allowed): We now recognize WhatsApp, Telegram, Facebook, and Cloudflare bots to ensure link previews and services work perfectly.
- AI & LLM Scrapers (Purple): Identifies bots stealing data for AI training.
- Aggressive/Unknown Bots (Red): Unclassified traffic or known bad actors are flagged and can be blocked.
The report page has been redesigned into a Security Center:
- Real-Time Threat Counter: A prominent red indicator shows exactly how many malicious requests were blocked today.
- Health Score (A/B/C): An immediate grade based on the ratio between real humans and aggressive bots.
- Visual Badges: New tags (AI, BAD, UNK) make it easy to spot threats in seconds.
- Active Shields Status: See immediately which protections are engaged.
- Scrollable Bot Lists: Keep your data clean and readable even with hundreds of tracked bots.
For Administrators & Security:
- IP Whitelist: Define trusted IPs (comma-separated or list) that bypass all security checks. Perfect for uptime monitors or admin access.
- Human-Friendly Block Page: If a user is blocked (e.g., during Emergency Mode), they see a polite, branded "Security Check" HTML page instead of a raw server error.
- GeoIP Integration: Automatically detects and displays flags of visiting nations directly in the widget.
- Glass Mode & Dark Theme: Charts support transparency effects and adapt labels for perfect readability on dark backgrounds.
- Real-Time Data: No waiting for cron jobs. Today's trend line is accurate up to the second.
- Smart Grid Layout: Charts automatically adapt to 2x2 grids on smaller screens.
- [NEW] Quiz System Integration: Tracks activity on the Quiz System PRO add-on.
- AMS Integration: Native support for Bob's Article Management System.
This add-on is free to use for basic statistics.By purchasing a PRO License (via the link in options), you unlock the full power of the Active Defense:
Enable Active Defense Shields (AI, Junk, Emergency)
Unlock "Blur" stats (Device, OS, Browser charts)
Full Traffic Insight Health Score details
- Database: Optimized table structure for high-performance logging.
- Setup: Improved upgrade routine.
- Important: After upgrading, please check your User Group Permissions to enable "View full statistics report" for Administrators.
- Enable the widget "Advanced Statistics (Widget)