By FTP: Drop the bans_sync/ directory into /plugins/.
By package manager: Select bans_sync from the list of available plugins.
Prerequisite on devarea side: An entry for this site in the fleet_peers table (managed by the fleet_peers plugin on devarea), with a cipher matching this site's $cfg[23].
Paths:
- Main plugin:
/plugins/bans_sync/bans_sync.php (admin panel) - Configuration:
/plugins/bans_sync/conf/bans_sync.conf.inc.php - Sync library:
/plugins/bans_sync/lib/sync.lib.php - Cron handler:
/plugins/bans_sync/handlers/bans_sync.cron.mod.php
Configuration parameters (bans_sync.conf.inc.php):
| Variable | Default value | Description |
|---|---|---|
| $basedatadisplay | 'yes' | Show in the management interface |
| $basedisplevel | BASE_LEVEL_ADMIN | Minimum level to view |
| $ftype | 10 | Security category |
| BANS_SYNC_SERVER | https://devarea.beamreactor.com | Feed source |
Authentication:
$site_id = $cfg[1]$auth_token = hash('sha256', $cfg[23] . $site_id)
Recommended scheduled task (insert into system_scheduler):
| Field | Value |
|---|---|
| crontime | /30 * |
| task_name | bans_sync_pull |
| task_class | plugins/bans_sync/handlers/bans_sync.cron.mod.php |
| enabled | 1 |