Cookie Consent by FriendsOfFlarum
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!
composer require fof/cookie-consent
composer update fof/cookie-consent php flarum cache:clear
Once enabled, a new modal to configure/customize your desired settings will appear.
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!
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).