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.9 - removed code that disabled geoplugin which was added for local testing
Update 2.10 - repaired bug on cookie checker code
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.
Emailed Mike for assistance, which he kindly replied within a few hours. Great support for a great extension!!
FYI - That is part of the template index.php file. it is the system message area.
The code that doesn't appear in this review is for a jdoc:include statement. Since code isn't exactly allowed in reviews, I'll type it here as best I can without using the punctuation that makes it complete.
Add some quotes around message, and prefix it with a less than sign, follow it with a slash and a greater than sign - and you'll have the complete code. It should be located above/before the type=component statement.
For me, I would have liked the ability to turn off the message that appears after accepting/declining cookies. i.e I would prefer that once the user has made their choice no further messages are displayed.
I haven't yet worked out how to switch that part off - most likely due to me not reading/understanding correctly.
However functionally this extension is much better than some other EU-Directive extensions that I've seen.
This extension is fully MVC. This means that you can override the module output to omit the parts you don't want to use.
You could do this by copying /modules/mod_eprivacy/tmpl/default.php into your /templates/yourtemplate/html/mod_eprivacy/default.php
Then edit default.php to remove the divs with classes "plg_sys_eprivacy_accepted" and "plg_sys_eprivacy_declined"
Overrides are super easy and really useful once you get the hang of them.
Easy to install.
Problem with one Joomla 1.5 site that turned out to be a template problem not an extension problem. Very quick and helpful response from developer.
The template was missing the line
which hsould have been above, , once this was added the extension worked perfectly.
1. Turn off the module title bar (none of my site modules show the coloured title bar, so this one is now standing out and looks odd).
2. If 1 above isn't possible I want to change the title from mod_eprivacy to 'Cookie Info' but I can't find any language files. Where are the language strings kept?
3. As in 2, I want to amend the language string in the ribbon, but can't find the language files to change the text.
I'd appreciate some guidance on this. Thanks. Excellent coding work on this.
I wrote to Michael and he kindly send me this reply:
"Your concerns are easily addressed. I'll answer them in order.
1. The module title placement is a function of the template. I can't control that. This is how it's configured: Within the template index.php file, is a series of statements. The display of the module depends on the structure of these statements. Additionally, you can choose the title display within the module configuration, just below the module title, you can choose "Show Title" show or hide.
2. The title - you can change it to whatever you like. "mod_eprivacy" is just what the installer names it during install - it serves no purpose other than to fulfill the requirement that the module has a title.
3. The language file for that is located in /administrator/languages/en-GB/en-GB.plg_system_eprivacy.ini
I would suggest using the language manager to override the language string instead of rewriting the language file. If you rewrite the language file, then install an update later - all of your changes will be lost. Using the language manager to override the string will survive future updates. "
I had to mess around choosing which style to use (in my case the ribbon) and positioning, but that was fully explained in the documentation. If you are have trouble getting it to work, I suggest just trying different locations for the module (for me it was Position 2 which is breadcrumbs on my template) and the style. This is no refection on the extension, but more to do with your preference of location and template.
But this is, in my opinion, the last step te absolute perfection :)
Thanx for coding and sharing!
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!
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!
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.
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:
3. Thanks for the great review!
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.
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.
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 !
This plugin is under ACTIVE development. In addition to bug-reports, I take feedback and suggestions.
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!