This component/theme does NOT work with the latest OSSN version.
Current Version: 6.2
Requirements: Ossn >= 6.0
GDPR affected: Yes. This component saves a cookie when the first-time visitor has confirmed that they have read the privacy policy and agree to the terms, so that the cookie banner does not appear repeatedly on future visits to the site. This fact should be mentioned in the privacy policy.
License: GNU General Public License v2
This component will display a confirmation dialog box on the frontpage preventing the visitor from logging in and registering as long as he doesn't accept the usage of cookies.
A showcase inspired by https://www.opensource-socialnetwork.org/discussion/view/5381/search-a-cookie-indicator
Figure 1
Included comes a clickable Read more ... which is linked to your site's privacy page by default.
Since the banner usually no longer appears after clicking the Accept button once, there is an extra page for administrators that always displays the banner for styling and correction purposes. This page can be reached via the Url https://YOURSITE/cookiebannertest.
V 6.2
V 6.1
Outdated Ossn 5.x releases
V 5.1 shows how to
ossn-halt
and ossn-message-box
)Ossn.Print()
in order to display a localized banner textlocalStorage
feature to store the state (clicked or not) of the Accept buttonjquery
to change attributes of CSS classes