Overview
LegalNotice adds a legal consent banner to the login and registration forms, along with two fully editable public pages — Terms of Use and Privacy Policy — available in all five forum languages.
The public pages are fully integrated into the Flatboard UX: they display the site banner (title, icon and breadcrumbs) through the native view.banner.data hook, exactly like EasyPages, without any core modification.
Features
- Consent checkboxes injected into the login and/or registration forms
- Server-side validation: submission is blocked if the user has not ticked both boxes
- Public pages at
/legal/termsand/legal/privacywith native banner integration (title + breadcrumbs) - Per-language content editor in the admin panel (fr, en, de, pt, zh)
- Default content pre-filled with real forum data (name, URL, contact email) — ready to use out of the box
- Optional footer links to the legal pages
- Four dynamic placeholders usable anywhere in the content:
%forum_name%— forum name from site configuration%site_url%— public URL of the forum%contact_email%— plugin contact email, falls back tosite_email(General Settings), then SMTP sender%last_updated%— date the page was last saved, or the plugin activation date for default content
- Reset any page to its default content with one click
- Live placeholder preview in the admin editor (shows actual current values)
