reflar/cookie-consent

Installs: 807

Dependents: 0

Suggesters: 0

Stars: 4

Watchers: 1

Forks: 6

Language:JavaScript

Type:flarum-extension

0.2.0 2019-04-13 15:05 UTC

README

MIT license Latest Stable Version Total Downloads

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

Use Bazaar or install manually:

composer require reflar/cookie-consent

Updating

composer update reflar/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