VersionLicenseFlatboard

Flatboard Pro Plugin - This plugin is part of Flatboard Pro edition.




Forum Monitoring Plugin

Monitoring and analysis plugin for Flatboard 5.

Description

This plugin provides a complete forum monitoring system including:

  • Real-time statistics
  • Top users and discussions
  • Detection of problematic users
  • Identification of unanswered discussions
  • Widget in the admin dashboard

Installation

  1. The plugin is already located in plugins/ForumMonitoring/
  2. Activate the plugin from Administration > Plugins
  3. The widget will automatically appear in the admin dashboard

Features

Dashboard Widget

The widget is displayed on the admin dashboard (/admin) and shows:

  • Quick statistics: Active users, discussions, posts, reports
  • Top 5 users: Most active users with number of discussions and posts created
  • Top 5 discussions: Most active threads with number of posts and views
  • Alerts: Problematic users and unanswered discussions

Full Monitoring Page

Access it at /admin/monitoring to view:

  • Detailed statistics
  • Activity charts (over the last 30 days by default)
  • Top 20 users and discussions
  • In-depth analyses

Permissions

The plugin creates a permission called monitoring.view, which is automatically granted to:

  • Administrators
  • Moderators

Configuration

Plugin settings are available in plugin.json:

  • checkbox_enable_anomaly_detection: Enable anomaly detection (default: 1)
  • checkbox_enable_email_alerts: Enable email alerts (default: 0)
  • number_days_activity_chart: Number of days for the activity chart (default: 30)
  • number_top_users_limit: Number of users shown in the top list (default: 10)
  • number_top_discussions_limit: Number of discussions shown in the top list (default: 10)
  • number_spam_score_threshold: Spam score threshold (default: 3)

Problematic User Detection

The plugin automatically detects suspicious users based on:

  • High percentage of very short posts (>70%)
  • High number of discussions created (>20)
  • Duplicated posts (>5)

A spam score is calculated, and users with a score ≥ 3 are flagged.

File Structure

TEXT

ForumMonitoring/
├── plugin.json                    # Plugin configuration
├── ForumMonitoringPlugin.php      # Main plugin class
├── ForumMonitoringService.php     # Analysis service
├── ForumMonitoringController.php  # Controller (full monitoring page)
├── langs/
│   ├── fr.json                    # French translations
│   └── en.json                    # English translations
└── views/
    └── admin.php                  # Dashboard widget view

Hooks Used

  • permissions.init: Registers permissions
  • router.plugins.register: Registers routes
  • view.admin.sidebar.items: Adds link to admin menu
  • admin.dashboard.widgets: Adds the widget to the dashboard

Support

For any questions or issues, consult the Flatboard documentation or open an issue on the official repository.

License

GPL-3.0

Edited on Jan 25, 2026 By Fred .