fof/cookie-consent

Customizable cookie consent notice

Fund package maintenance!
Website

Installs: 14 556

Dependents: 1

Suggesters: 0

Security: 0

Stars: 6

Watchers: 3

Forks: 5

Language:JavaScript

Type:flarum-extension

1.1.3 2024-02-15 08:44 UTC

README

MIT license Latest Stable Version Total Downloads OpenCollective

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:

Cookie Consent Extension Settings

Once the settings modal pop-ups, configure/customize the settings like so:

Cookie Consent Extension Configuration

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!

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).

Links