The Joomla! Extensions Directory ™

EU e-Privacy Directive ModulePlugin

Comply with the EU e-Privacy law (AKA the EU Cookie Law)! Block all cookies until the user has accepted them - Session, Language, even 3rd party cookies and cookies set by JavaScript!

Those are some big claims, so I must explain that there are some caveats. 3rd party cookie blocking requires PHP 5.3 and the PHP Reflection Classes. Blocking cookies set by JavaScript requires IE8 or greater, FireFox, Chrome or Opera (probably other modern browsers as well). This plugin can prevent 3rd party cookies, but cannot remove them once they're set (due to the Javascript same-origin restriction).

This plugin and module combination aims to be the final solution to the EU cookie requirements. This plugin overrides and prevents any cookies sent by Joomla, and any JavaScript cookies from being set until the user accepts them. Many of the other extensions here in the JED don't block cookies at all - or they allow the cookies to be set and then immediately unset them with JavaScript (which is cheating and will fail when JS is disabled).

New in version 2.0 - Most of these additions are the result of user requests:
- 5 methods for display: Message, JS Confirm, Module, Modal or Ribbon.
- 1 method to just remove and prevent cookies.
- Option to decline - which shows a minimal message allowing users to reconsider.
- Option to remove cookies after they've been accepted.
- Option to display only to users visiting from EU countries.
- Option to log users who have accepted cookies (persuant to laws in certain EU countries)
- Option to block 3rd party cookies (requires PHP 5.3)
- Option to customize or omit the CSS style for certain output methods.
- 87% more awesome, bringing the total amount of awesome to 187%.

Update 1.8 - Joomla 1.5 long-term cookie test revised.
Update 2.6 - resolved bug in module when geoplugin enabled.
Update 2.7 - resolves issue with non-html pages
Update 2.8 - resolves an issue that prevented the javascript from loading in certain circumstances.
Update 2.9 - removed code that disabled geoplugin which was added for local testing
Update 2.10 - repaired bug on cookie checker code
Update 2.11 - fixes javascript load order issue
Update 2.13 - Add Joomla 3.x compatibility and jQuery/Mootools framework option.
Update 2.14 - logging bugfix - if you use logging - definitely upgrade!

Joomla 1.5 users - please be patient. I am still backporting the J2.5 version! Joomla 1.5 is so inflexible compared to 2.5, I may not be able to replicate all of the functionality...

All of my extensions are free and none of my extensions display advertisements or links to my sites or services. If you feel that I have blessed you, then you can bless me by making a contribution to fund future development. Visit the "Website" link to make a contribution.

Report Extension



Reviews: 1
It's working perfect! A lot of compliments for made such good plugins/modules. Only thing I want to ask for if it is possible te place a message at the position of an cookie-accepted modules. I would encourage the users to accept the cookies. At this moment they do not know what they are missing.

But this is, in my opinion, the last step te absolute perfection :)

Thanx for coding and sharing!
Owner's reply

Technically, I'm not sure how that could be accomplished correctly. There is another extension in this category that uses that approach - but while their plugin replaces the module content - it doesn't prevent those modules javascript from loading. So - while the module doesn't appear - the javascript loads and the cookies still arrive.

I'm thinking about it, but until I'm 100% sure that I have a method to do it successfully, it will remain on the drawing board.

Thanks for the great review!

Reviews: 41
You can rely on Richeyweb extensions. You can rely on the fact that they work, the fact they they are under continual development, the fact that Michael is always willing to help and the fact that he won't rest until they're as good as they can be. If that wasn't enough for you, check out the pricetag...

Thanks always,

Reviews: 2
As most other extensions from Michael this is an absolute premium grade extension for free!! Drops in nice and easy, and with the documentation available on the site using all of its capabilities is a breeze.

I also found Michael very responsive to questions and bug reports! The fixes were in my mailbox just a few hours after I submitted them. This is customer support you have to pay for at other sites (and don't receive .... )

Keep up the great work!
Reviews: 4
Many thanks for this extension.

It works. Is easy to install (and customise).

A couple of small suggestions for future would be to:

1. allow back-end configuration of some of the front-end language strings, especially "PLG_SYS_EPRIVACY_MESSAGE"
2. and to be able to turn off the post-acceptance messages and buttons.

Those are only niggles really, thanks again for a very useful and nicely crafted Joomla! extension.
Owner's reply

1. I've built this to be a multi-lingual extension - so adding a text field to allow editing of that string would be great - except that I would need to include one for every possible language. The language manager has a facility to override individual language strings. It's easy and fast and the recommended method.

2. You could add:
div.plg_system_eprivacy_accepted {
to your template css and those messages would go away...well, they would still be there and fulfill the requirements of the javascript, but they wouldn't be visible. It would work for every display method except the "System Message" method.

3. Thanks for the great review!

Reviews: 3
Exactly what I was searching for:

We have two different websites. One needs cookies for using shopping cart etc. Now the cookie is only set if the user agrees. Very good!

The other website doesn't need cookies at all. But joomla sets a session cookie all the time. Now this cookie is blocked. And because I didn't activate the modal message plugin and my template doesn't have a system message area, our visitors are not asked for agreeing in cookies - they just don't see it - and the session cookie isn't set at all - it's just don't needed.

Thanks for this great and non-commercial solution to all my problems. Keep up the good work.
Owner's reply

I'm glad you described the way you're using it on your second site. The new version is coming soon, and I didn't design it to be used that way - but I will now make some modifications so it can be configured for use as a cookie blocker only.

Reviews: 6
The ePrivacy Directive is very new and rather a pain, but as a web designer feel I have to set an example to my customers - and this great plugin does a good job. Best of all is the great support. I received a reply from Michael within hours and his response was spot on - problem solved - cannot praise highly enough! Excellent contribution to the JED.
Reviews: 6
Installed and activated the plugin. Worked straight away.

At last I now comply with this (stupid) law !!!
Reviews: 2
This plugin is interesting, but has a problem: when the "System - Cache" plugin is enabled, the message is not always shown to new visitors.
Owner's reply

Version 2 will solve that problem. Expect to see it by Wednesday next week.

Reviews: 2
This Module does exactly what it says on the tin, it perfectly sorts out this cookie law making your website abidable. Defiantly recommend you download this its free and easy to use too!
Reviews: 1
Plugin works great(now).

At first there was a little problem with it, so I mailed Michael, and within the shortest period of time, he replied with an updated version of the plugin attached to the e-mail, which works perfectly.

Keep up the excellent work and support !
Owner's reply

This plugin is under ACTIVE development. In addition to bug-reports, I take feedback and suggestions.

Reviews: 16
A great plugin for free. It does work as it claims. Please install the recommended plugin to show the message properly.

Please keep it up.
Reviews: 2
In the Netherlands there is a new law about cookies, that is why I needed a plugin. This one absolutely fits the job. I always read the reviews before even contemplating installing an extension. This plugin is everything is says and does. I had some issues regarding long-term cookies and also if cookies were actually placed on the computer, I received quick and great support resolving the few issues I came across.
Reviews: 8
this plugin (in combination with Modal System Messages) works miracles in complying to the EU e-Privacy cookie law.
A must have!
Just had one issue: when using a cronjob that uses an url to kickoff a script (eg j!mailalerts) this doesn't work anymore because of the popup hitting the wget command. I found out that you need to append "&eprivacy=1" to the url to make it work again, just a tip for anybody running into this.
Keep up the good work!
Regards, Ruud.
Reviews: 1
Absolutely gold so simple to install and use top marks for a great plugin :)
Reviews: 1
The plugin does what it says. Easy to install and configure.

I had a minor issue which the dev fixed within hours (on a weekend).

Highly recommended on all counts.
Reviews: 2
Michael Richey did an excellent job with developing this plugin. I did a lot of testing on Explorer, Firefox, Safari and Chrome. Did not come across any problems. Support, assistance is superb. Thanks!
Owner's reply

The public will never see 90% of my work, as I generally work on internal tools for my customers. When I can, I turn those tools into free extensions.

My reputation is built with free extensions for Joomla, so it's very important to me that I protect that reputation. I think I'm doing a good job.

Reviews: 7
A great plugin that is easy to instal.
A pitty that I have to change language files to change the message.
And it would be realy great when the visitor is acccepting cookies to set a cookie for this. The status is now not remebered for ever.
Owner's reply

Starting with version 1.6, a cookie is set to prevent display after cookies have been accepted. It is a 30 day self-renewing cookie.

As far as the language files go, I'm offering this as a multi-lingual extension. I can't very well have an editable text field for every language - so I went with the language files. I wish I could please everyone...

Using the language manager and overriding the English strings is really the way to go. It's easy and reliable! Best of all - it survives upgrades!

Reviews: 1
Does exactly what it says it will do. Currently the only non-commercial cookie warning available on the JED.

Had a slight issue with installation, due to the particular configuration of my site but a quick e-mail to the author and he resolved it the same afternoon. It doesn't get better than that!
Reviews: 4
This is a great plugin! The most popular plugin didn't work on none of my sites, this one works perfect. There was a small problem with the language cookie and Michael fixed that in a few hours. Also the fact that it works with language files for the text makes it very easy to use it for a multi-language site. And last but not least: this is the only non-commercial cookie plugin at this moment.
Owner's reply

Bug reports work! This is a prime example of a user who had a configuration that I hadn't tested. Once the report was made, I set out to fix it straight away. Thanks for the great review!

Reviews: 11
This is a very useful plugin. I had to contact the designer because I had a problem with my template which meant the plugin didn't show up and he got back to me very quickly and explained what I needed to do to fix my template and get the plugin to work.

After that it was all plain sailing and easy to use.
Page 4 of 5