ipbfuck Posted June 4, 2016 Posted June 4, 2016 i've customized xml with this: /* !Hook Data - DO NOT REMOVE */ public static function hookData() { return array_merge_recursive( array ( 'globalTemplate' => array ( 0 => array ( 'selector' => 'html > head', 'type' => 'add_inside_end', 'content' => ' {{if \IPS\Member::loggedIn()->member_id === NULL}} {{if settings.cookieNotice_js == 1}} <script src="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/1.0.9/cookieconsent.min.js"></script> {{else}} <script src="{resource=\'plugins/cookieNotice.js\' app=\'core\' location=\'global\'}"></script> {{endif}} <script> .... </script> {{endif}}', ), ), ), parent::hookData() ); } /* End Hook Data */ now is only for guest -FP 1
Joey_M Posted June 4, 2016 Posted June 4, 2016 @-FP How do I change the colour? Both active and inactive? I've looked in the CSS and I can't see how to do it myself, however it clashes with my background - so you can't actually see it.
Joey_M Posted June 4, 2016 Posted June 4, 2016 The circle (as default it's light grey and almost transparent)
-FP Posted June 4, 2016 Author Posted June 4, 2016 (edited) Hmm I really don't know what light grey circle you are talking about, maybe post a screenshot? Edited June 4, 2016 by -FP
Joey_M Posted June 4, 2016 Posted June 4, 2016 *Facepalm.... I've posted in the wrong support topic. LOL It's been a long day... Sorry! -FP 1
Mike Gholson Posted June 7, 2016 Posted June 7, 2016 Doesn't seem to work on my site with 4.1.12.1 with the default theme. Any new updates?
-FP Posted June 7, 2016 Author Posted June 7, 2016 (edited) 36 minutes ago, Mike Gholson said: Doesn't seem to work on my site with 4.1.12.1 with the default theme. Any new updates? It should work, working both on my live and dev sites running that version. Try clearing the cache with the support tools and / or re-installing. If that doesn't work, I can take I look if you send me access to your ACP, (themes and plugins section). Edited June 7, 2016 by -FP
Mike Gholson Posted June 7, 2016 Posted June 7, 2016 Ah, ok. I got it working by clearing the cache. Does it only appear once a day, or once a session? Thanks.
-FP Posted June 7, 2016 Author Posted June 7, 2016 It appears as long as the user has not clicked the consent button. Once clicked it won't show again, unless they clear the cookies.
Qubabos Posted July 7, 2016 Posted July 7, 2016 (edited) on 4.1.13.1 doesnt show More Information Page URL and no Got it button text, cache clared before and after reinstall :/ checked in firefox private mode and chrome incognito same thing on 2 different sites powered by IPS 4.1.13.1 Edited July 7, 2016 by ququruku
-FP Posted July 7, 2016 Author Posted July 7, 2016 I just released a new version, it shouldn't make any difference though for that error, it's working fine on my sites. If you want me to take a look, provide me access to your ACP with permission for the themes and plugins areas.
Square Wheels Posted July 7, 2016 Posted July 7, 2016 8 minutes ago, ququruku said: on 4.1.13.1 doesnt show More Information Page URL and no Got it button text, cache clared before and after reinstall :/ checked in firefox private mode and chrome incognito same thing on 2 different sites powered by IPS 4.1.13.1 I just installed it as a new plugin and had the same issues. I uninstalled it.
-FP Posted July 7, 2016 Author Posted July 7, 2016 It's working just fine on my sites :/ I'm at work now, but I'll take a look later see if I'm missing something.
Qubabos Posted July 7, 2016 Posted July 7, 2016 12 minutes ago, -FP said: If you want me to take a look, provide me access to your ACP with permission for the themes and plugins areas. I send you all needed login info by PM, you have limited acces to things that you asked
-FP Posted July 7, 2016 Author Posted July 7, 2016 Updated this file, this should be working now. Added a setting to choose which usergroups see the message Qubabos 1
JiigSaaw Posted August 19, 2016 Posted August 19, 2016 Hello ! It seems that strings are not escaped, result is a buggy javascript file as: window.cookieconsent_options = { message: ''+message+'', learnMore: 'Plus d'infos', link: 'https://www.cookielaw.org/the-cookie-law/', dismiss: 'J'ai compris!', theme: ''+theme+'', }; Error shown: (index):188 Uncaught SyntaxError: Unexpected identifier Thanks you
PCHelpforumBE Posted November 23, 2016 Posted November 23, 2016 Goodmorning -FP Any plans for updating it to the new version released (3.0.3) ? https://cookieconsent.insites.com/ Keep up the good work
Cyboman Posted November 29, 2016 Posted November 29, 2016 Hi, nice plugin, but I can't edit the "More Information" and "Got it" Language string. Even if I go to the Language translation manager in ACP, I find the relevant strings, but it doesn't save... (it says "saved" but doesn't) All other translations for other modules and plugins are saveable... I use this plugin for ~1year and updated some times to the latest version. You have any idea?
Donkerrood Posted February 16, 2017 Posted February 16, 2017 Would it be possible to defer the javascript to just before the </body> tag, if this setting is enabled in the theme settings? Right now, this is my only render-blocking javascript with google pagespeed. Thanks!
MeMaBlue Posted March 17, 2017 Posted March 17, 2017 Hello @-FP ! unfortunately this appears when dragging the file to the plugin upload "This XML file does not appear to have any style information associated with it. The document tree is shown below."
Tomasz Konopka Posted March 23, 2017 Posted March 23, 2017 (edited) The plugin works fine. But I cannot get two separate links for More Info to work. Where should I put these links? Also, cookie consent link, can I disable it somehow? EDIT: Got it to work, but in EN I have a link "More Info" as a redirect, but in another language I have the whole URL. How can I solve this? Edited March 23, 2017 by Tomasz Konopka
RevengeFNF Posted April 12, 2017 Posted April 12, 2017 @-FP after i opened a ticket with Invision abou a issue i was having, we got to the conclusing it was Cookie Notice plugin causing it. Disabling it solves the issue. The notifications on my site were slow, so i opened the ticket with them. Basically, the notification was showing the last 25 notifications, but then it was showing them in a loop, till it reaches more or less 500 notifications in the box. Disabling your plugin, solved the issue. Can you check if you are able to replicate it?
-FP Posted April 12, 2017 Author Posted April 12, 2017 I will take a look but I have no clue now, I mean all this is doing is inserting the javascript from silktide, unmodified.
Recommended Posts