Lecteur Markdown
HISTORIC_DOCUMENTATION_EN
Feature: Historic #
Displays and manages the chronological system change log. Administrators add entries; moderators browse them with a search bar.
---
Installation and Configuration #
Via FTP: Upload the `historic/` directory into `/plugins/`.
Via package manager: Select `historic` from the available plugins list.
Paths:
- Main plugin: `/plugins/historic/historic.php`
- Configuration: `/plugins/historic/conf/historic.conf.inc.php`
- JavaScript: `/plugins/historic/js/historic.js`
Configuration parameters (`historic.conf.inc.php`):
| Variable | Default | Description |
|---|---|---|
| `$basedisplevel` | `BASE_LEVEL_MODERATOR` | Level required to view |
| `$ftype` | `3` | Plugin type (system) |
| `HIST` | `$cfg[20]/hist.txt` | Log file path |
---
Usage #
Browsing #
- Displays 10+ latest entries in reverse chronological order
- Client-side search bar (JavaScript)
Adding an entry (admin) #
- Input form (maximum 450 characters)
- The entry is timestamped and appended to `var/hist.txt`
---
Hooks and Entry Points #
?obj=historic.php — Log and entry form
New entry submitted via POST.
---
Dependencies #
- Read/write access to `var/hist.txt`