Lecteur Markdown
SPONSORS_DOCUMENTATION_EN
Feature: Sponsors #
Sponsor directory with logos, links and description. Full admin management (CRUD), display ordered by priority.
---
Installation and Configuration #
Via FTP: Upload the `sponsors/` directory into `/plugins/`.
Via package manager: Select `sponsors` from the available plugins list.
Paths:
- Main plugin: `/plugins/sponsors/sponsors.php`
- Configuration: `/plugins/sponsors/conf/sponsors.conf.inc.php`
- Locales: `/plugins/sponsors/locale/`
Security parameter: `secure('SPONSORS_LEVEL_ADMIN')` for CRUD operations.
Required SQL table: `sponsors`
Logo directory: `$cfg[6]/sponsors/`
---
Usage #
Public Browsing #
List of sponsors with logo, name and link to their website.
Administration #
- Create a sponsor: name, URL, logo (upload), display priority
- Edit information
- Delete a sponsor (also deletes the logo)
Display order is managed by the priority value.
---
Hooks and Entry Points #
?obj=sponsors.php — Sponsor list
?obj=sponsors.php&id=ID — Sponsor detail
?obj=sponsors.php&action=add — Add (POST, admin)
?obj=sponsors.php&action=edit&id=ID — Edit (admin)
?obj=sponsors.php&action=del&id=ID — Delete (admin)
---
Dependencies #
- `Beamreactor\Database\SQL`
- `Beamreactor\Sanitizer\Parser`
- Internal graphics library — logo resizing