🍪 Cookie Consent Manager

Avatar
Posts 116

✨ Demo

Check out the live demo of Cookie Consent Manager here.

🔨 Added

  • GDPR-compliant cookie consent banner with customizable positioning:
    • Top, bottom, left, right positions
    • Corner positions (top-left, top-right, bottom-left, bottom-right)
    • Centered left/right positions
  • Multiple banner styles:
    • Box style (modal window)
    • Bar style (banner strip)
  • Cookie category management:
    • Essential cookies (always active, cannot be disabled - GDPR compliant)
    • Analytics cookies (optional, user-controlled)
    • Marketing cookies (optional, user-controlled)
    • Functional cookies (optional, user-controlled)
  • User preference management with granular control:
    • Accept all cookies button
    • Decline all cookies button
    • Preferences button for detailed settings
  • Consent storage system with revision tracking:
    • Stores user consent preferences securely
    • Revision system to force users to review preferences when configuration changes
    • Consent history tracking with IP addresses and timestamps
  • Automatic cookie clearing when preferences change (requires autoClear configuration)
  • Bot detection to hide banner from crawlers (SEO-friendly)
  • Lazy HTML generation for improved initial page load performance
  • Privacy policy and cookie policy pages with full GDPR compliance information
  • Multi-language support: English, French, German, Dutch, Portuguese
  • Dark mode support with automatic theme detection
  • Admin dashboard with:
    • Consent history (last 10 consents)
    • Cookie category configuration
    • Technical settings management
    • Cookie clearing functionality
  • Page interaction blocking option (blocks scrolling/clicks until consent is given)
  • Auto-show functionality (displays banner automatically on page load if no consent)

⚡ Improved

  • Enhanced banner visibility with multiple positioning options
  • Better user experience with clear accept/decline options
  • Optimized performance with lazy loading and efficient asset management
  • Improved SEO by hiding banner from bots and crawlers
  • Better accessibility with keyboard navigation support
  • Enhanced admin interface for managing cookie categories and settings
  • Automatic theme detection for dark mode compatibility
  • Better translation system with fallback support

🐛 Fixed

  • Resolved issues with consent storage in SQLite database
  • Fixed banner display in dark mode with proper CSS classes
  • Corrected translation loading for plugin description in admin panel
  • Fixed cookie clearing functionality for administrators
  • Resolved issues with banner positioning in different screen sizes

🚀 Updating

Stay tuned for upcoming features and improvements in future releases!

🔗 Links

📝 License

Copyright © 2025 Flatboard Team
This project is GPL3 licensed.

Edited on Dec 22, 2025 By Fred .

  • cookie gdpr
Avatar
Posts 116

[1.0.2] - 2025-12-24

Fixed

  • Major fix: Consent data is now properly saved
    • Fixed JavaScript script execution order
    • Fixed onConsent and onChange callback configuration for vanilla-cookieconsent library
    • Fixed cookie data extraction (handling { cookie: {...} } format)
    • Fixed callback injection in JavaScript configuration (using IIFE instead of direct JSON injection)
    • Added global window.recordCookieConsent() function called by callbacks
    • Improved error handling and debug logging

Changed

  • Enhanced debug logging to facilitate problem diagnosis
  • Refactored getInitJs() method to build JavaScript more safely
  • Improved cookie object format handling (support for both possible formats)

Technical Details

  • Callbacks are now properly injected into configuration via JavaScript IIFE
  • recordCookieConsent function is defined before CookieConsent initialization to ensure availability
  • Data is correctly extracted and sent to server via /cookieconsent/record-consent API
  • Consents are now properly recorded in plugins/CookieConsent/data/consents.json
Avatar
Posts 56

Hi :)

the download link on the resource display a 404 page

Avatar
Posts 116

Fixed! 👍

Edited on Jan 05, 2026 By Fred .

Visitor, reply to this topic…
Log in to reply
Navigation
4Posts
post #1
19 Dec 2025
ByUtilisateur