reflar / cookie-consent
Customizable cookie consent notice
Fund package maintenance!
Website
Installs: 2 854
Dependents: 0
Suggesters: 0
Security: 0
Stars: 6
Watchers: 3
Forks: 5
Language:JavaScript
Type:flarum-extension
This package is auto-updated.
Last update: 2024-11-18 22:38:24 UTC
README
This extension adds a customizable Cookie Consent pop-up to your Flarum installation. Are you from a country where Cookie Consent laws are in place? Have no fear! We've got you covered!
Installation
composer require fof/cookie-consent
Updating
composer update fof/cookie-consent php flarum cache:clear
Configuration
Once enabled, a new modal to configure/customize your desired settings will appear.
Usage
To get to the settings modal, click the triple dots that appear when hovering your mouse cursor over the "Cookie Consent" extension text as shown below:
Once the settings modal pop-ups, configure/customize the settings like so:
Once completed, click "Save Changes" and make your way to your forum index.
You should now be presented with a one-time cookie consent notification!
Pretty simple right? Now begone heathen!
Testing
In order to get the Cookie Consent bar to pop-up again, you will have to delete the cookie data related to your site which is named "cookieconsent_status" or, you can delete ALL of the cookie data related your site (NOT THE ENTIRE BROWSER!!) (See your respected browser manuals for more information about managing cookies). Once removed, refresh your forum index page and it shall appear once more. Repeat the process anytime you wish to change any of the setting and want to see those settings live as you edit them.
Or you can just enter your forum in Incognito Mode (if supported).