
TK bbPress Stats
v2.0.0TKServer · 2016年3月20日 上架
Modern, secure bbPress statistics widget with PHP 8.5 support. Display forum stats with caching and security enhancements.
- 正在使用
- 10+
- 评分
- 暂无
- 累计下载
- 2,143
- 最近更新
- 2026年1月30日
需要 WordPress 5.0+已测试到 6.7.12PHP 8.0+
贡献者
截图
TK bbPress Stats provides useful statistics about your bbPress forum with modern security and performance features. Fully compatible with PHP 8.5 while maintaining backward compatibility to PHP 7.4.
Key Features:
- Display forum statistics in widgets or via shortcode
- Intelligent caching for optimal performance
- Secure database queries with prepared statements
- Full internationalization support
- Modern PHP 8.5 code with type safety
- Conditional asset loading for better performance
Available Statistics:
- Total Users
- Total Topics
- Total Replies
- Total Posts (topics + replies)
- Total Forums
Each statistic can be individually enabled/disabled, and the widget title is fully customizable.
Security Features:
- SQL injection protection with prepared statements
- XSS prevention with proper output escaping
- Input sanitization on all user data
- Capability checks for admin access
- Path traversal protection
Performance Optimizations:
- Smart caching (1-hour default, auto-invalidates on changes)
- Conditional script/style loading
- Optimized database queries
- Minimal resource footprint

