這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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/.

評價

There are no reviews for this plugin.

貢獻者及開發者

“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