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
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.
Must say, that there are some commercial plugins which look nicer. But this one really does what is promised, and if not Mike takes care of it. Of course you have to customise some text if you are critical about how you present your website's content .... who's talking...
Importantly, visitors are able to reconsider their choice on cookie acceptance at all times. This is visitor friendly, of course, and shows you are serious about e-privacy/cookie use. A job well done and ongoing progress if you run into issues.
Do unto others as you would have them do unto you. I apply that to the support I give, as well as the promises I make. I provide good support because I expect good support.
Thanks for your great review!
And if someone click on the Accept button, the page refresh it self, so the user visit is also log to analytics...
This extension is built with the MVC pattern, which allows a site owner to override the output of the module. Simply copy /modules/mod_eprivacy/tmpl/default.php into /templates/YOURTEMPLATE/html/mod_eprivacy/default.php and modify it to your satisfaction. To keep the extension operational in IE6 and IE7, you must leave the div with ID "plg_system_eprivacy"
And (for the very reason you gave) as of version 2.3, the plugin auto-refreshes the page when a user accepts cookies.
So, if you've already spent money on a 'Commercial' option, you're seriously missing out as so far, nothing I have tried even comes close to this. Also, remember guys, if you like the product leave a review or even better, make a donation and buy Mike a beer!
Normally I like Guinness, but lately I've enjoyed an ale called Land Shark.
Took a little playing around to figure the best position for the module.
I did find that trying to hide the post acceptance message worked to a point but although the message was hidden as far as the template was concerned the space for it was still allocated causing an unwanted blank area on my site.
I solved this by placing the module in a "bottom" area so it did not affect other content
The plugin worked best in the "Page Ribbon" mode which gives a hard to miss warning across the top of the website
A little CSS sorted out alignments and now I am quite happy with the result.
Thanks for providing a quality addition.
I like the page ribbon too! The JS Confirm option demands that a user make a choice before they can continue - so it's a very unique option. I tried to come up with many options for display, so the site administrator had a choice - as well as styling options.
Thanks for the great review!
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.