Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
June 4, 20168 yr 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
June 4, 20168 yr @-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.
June 4, 20168 yr Author Hmm I really don't know what light grey circle you are talking about, maybe post a screenshot? Edited June 4, 20168 yr by -FP
June 4, 20168 yr *Facepalm.... I've posted in the wrong support topic. LOL It's been a long day... Sorry!
June 7, 20168 yr Doesn't seem to work on my site with 4.1.12.1 with the default theme. Any new updates?
June 7, 20168 yr Author 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, 20168 yr by -FP
June 7, 20168 yr Ah, ok. I got it working by clearing the cache. Does it only appear once a day, or once a session? Thanks.
June 7, 20168 yr Author 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.
July 7, 20168 yr 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, 20168 yr by ququruku
July 7, 20168 yr Author 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.
July 7, 20168 yr 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.
July 7, 20168 yr Author 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.
July 7, 20168 yr 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
July 7, 20168 yr Author Updated this file, this should be working now. Added a setting to choose which usergroups see the message
August 19, 20168 yr 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
November 23, 20168 yr Goodmorning -FP Any plans for updating it to the new version released (3.0.3) ? https://cookieconsent.insites.com/ Keep up the good work
November 29, 20168 yr 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?
February 16, 20177 yr 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!
March 17, 20177 yr 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."
March 23, 20177 yr 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, 20177 yr by Tomasz Konopka
April 12, 20177 yr @-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?
April 12, 20177 yr Author I will take a look but I have no clue now, I mean all this is doing is inserting the javascript from silktide, unmodified.