Flash (access control)
Access control shared by the modules that issue tickets (Booking, Shop): site accounts assigned to products scan QR codes with their phone and instantly see "valid for N people" (green background), or "expired", "already validated", "not concerned" (orange background). Live attendance tracking. Free module.
Setup
- In Modules › Module settings, enable "Flash" then click "Initialise".
- Create a "Control" page (reserved for controllers, outside the public menu) containing the
[[flash]] tag. - "Access control" block › Controllers: pick a product then assign the site accounts that may scan it (no administration right needed).
- On the day, the controller signs in to the site, opens the page, picks their product and shows the camera the QR code (HTTPS required). A field lets them type the code by hand if reading fails.
Good to know
- A controller only sees the products assigned to them.
- Every pass is logged (time, controller, result) and grouped by hour in the list.
- Live tracking (administration) refreshes every 5 seconds.
- For developers: a provider module declares
flash-hook.php with module_<m>_flash_produits(), module_<m>_flash_controler() and module_<m>_flash_stats().
Installation: Administration › Modules › Catalogue (modules and widgets), or Builder › widget library › “Widget catalogue” (widgets).