该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Cookie OK

描述

This very simple plugins places a notification above each page about cookie usage on your site through the CookieOK script by Digital Morphosis.

Stricly speaking, this might not be seen as a full compliance with the EU law ‘to the letter’ because that would mean either disabling large parts of your WordPress site or simply blocking visitors from browsing your site until they approve cookie usage. In both cases, your site will become very user unfriendly.

Therefore, this plugin is designed to be less obtrusive than others. Visitors will see a small band above each page with a notice about cookies being used which they can accept, after which they will not see the notification any more. But even if they ignore the message, they will still be able to browse your site. Nobody will be blocked at any time.

Videos by Silktide

NOTES

This plugin does not create a possibility for users to disapprove of cookies and continue browsing your site without them. It simply is impossible to create a generic server side method to prevent cookies. Besides WordPress’s own cookies (left when a visitor comments or logs in), there are just too many plugins out there that all place their specific cookies. Visitor stats, social media buttons, embedded Youtube or other media, Gravatar hover cards, chat widgets or buttons, fancy sliders, big menus or other web 2.0 effects, multi-language plugins, adverts… The list goes on and on so even if it is possible in particlular cases, it would be just silly to attempt this for all sites.

Currently, there are no configuration options. The cookie notification is a fixed generic message in English only. The notification bar appears at the top with a green background color. Future versions will get a configurable message, multi-lingual support and some styling options.

屏幕截图

  • Example of the cookie notice bar on http://cookieok.eu

安装

WordPress

Quick installation: Install now !

… OR …

Go to that slick Plugins > Add New back-end page and search for “cookie ok”.

… OR …

Follow these steps:

  1. Download archive.

  2. Upload the zip file via the Plugins > Add New > Upload page … OR … unpack and upload with your favourite FTP client to the /plugins/ folder.

  3. Activate the plugin on the Plug-ins page.

Done!

WordPress MU / WordPress 3+ in Multi Site mode

Same as above but do a Network Activate to activate the cookie notification on each site on your network. No database tables are created or manipulated and no activation hook needs to be run for it to function with default settings. The plugin can also work from the /mu-plugins/ folder where it runs quietly in the background without bothering any blog owner with new options pages or the need for special knowledge about it. Just upload the complete package content under the /cookie-ok/ directory to /mu-plugins/.

评价

此插件暂无评价。

贡献者及开发者

「Cookie OK」是开源软件。 以下人员对此插件做出了贡献。

贡献者

帮助将「Cookie OK」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

0.6

Date: 05 Sept 2014
Dev time: 3 hours

  • Update jQuery Cookie script to 1.4.1
  • Local stylesheet (adapted for Twenty Fourteen)
  • Slide effect, no reloading of page

0.4

  • Appended div with eu_cookie_notify ID

0.2

  • use WordPress internal jQuery library
  • seperate jQuery Cookie extension

0.1

  • initial plugin as created by Digital Morphosis and hosted on http://cookieok.eu