Cookie Banner

This component/theme doesn't work with the latest OSSN version.
5.0
German ~Z~ Man 2 weeks ago

Cookie Banner

A showcase inspired by https://www.opensource-socialnetwork.org/discussion/view/5381/search-a-cookie-indicator

Actually, this component will show 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


enter image description here


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
YOURSITE/cookiebannertest.

[ Download ]


Version 5.1 shows how to

  • make use of Ossn's available standard divs (here: ossn-halt and
    ossn-message-box)
  • use Ossn.Print() in order to display a localized banner text
  • use Javascript's localStorage feature to store the state (clicked or
    not) of the Accept button
  • add a new page to your site available to administrators only
  • use jquery to change attributes of CSS classes
Comments
lk Evindu Shavinda Replied 1 week ago

It's working perfect Sir. Thank you very much.

Component

Developer: ~Z~
License GPL v2
Type: Site admin
Minimum Requirement:
Latest Version:
Last Updated
Repository Url View Repository

Versions