Search Forums
Forums
Kiwitrees on Twitter
    Tags

    edit interface, prefix, random_media, php 5.6, image, advanced, I18N, permissions, fancy tree view, formatting, 3.0.0. setup, charts, family facts, research tasks, fixing errors, Support/Bug Reporting, kiwitrees, add, 3.3.1, css, message contactform, Themes change, translation, github, spouse, 3.3.1 Notes, click, cookie, advent, MAC, bug reporting, calendar.php issue, prison, family fact, CREM, updates, census assistant, index, 3.3.0, surname, webtrees, duplicates, survey, locked out, Fancy imagebar, slideshow, googlemap. modified, family, immigration, access level, address, Georgian, name, HTML block, simpl_research, Google Maps, 7.0, .mo, MYSQL, IE11

    Topic:   Cookies Content  

    This topic contains 10 replies, has 4 voices, and was last updated by pab pab 3 weeks ago.

    Viewing 11 posts - 1 through 11 (of 11 total)
    • Author
      Posts
    • #6339

      ole
      Participant

      7 posts

      On http://www.our-families.info/ Nigel use a Cookies Content script, i have tried to use the same script on my side http://www.melfar.dk/kiwitrees but it doesn’t seems to work, I have put the code in the “Custom JavaScript” page. Any ideas what is wrong.
      Best Regards
      Ole H Madsen

      #6340
      kiwi
      kiwi
      Keymaster

      1595 posts

      Ole

      I didn’t use custom js for this myself.

      I’m not sure it can be done that way because it needs to load a js file from the SilkTide web site.

      So I created instead a custom header file (myheader.php, as described in the FAQ pages on this site) and included the details silktide provide in that, within the head tags.

      Nigel
      My personal kiwitrees site is www.our-families.info
      #6342
      kiwi
      kiwi
      Keymaster

      1595 posts

      Further to my last reply…

      I also added this in a custom css file (mystyle.css), for the kiwitrees theme

      /* silktide.com CookieConsent */
      .cc_container .cc_btn, .cc_container .cc_btn:visited {
      	color: #fff !important;
      	background-color: #aaa !important;
      }
      Nigel
      My personal kiwitrees site is www.our-families.info
      #6344
      pab
      pab
      Participant

      139 posts

      Might this be important enough to become a standard part of kiwitrees?

      Penguins Are Boss

      Apache 2.4.25; MariaDB 10.1.22; PHP 7.0.18

      http://bootesgowland.info

      #6345
      kiwi
      kiwi
      Keymaster

      1595 posts

      Might this be important enough to become a standard part of kiwitrees?

      To be honest, I really hope not. In my (personal) opinion it is a pointless bit of EU bureaucratic nonsense. I only put it on my site to see if a “pre-packaged” solution such as SilkTide’s would work. It does, so I’m happy we can leave it for those who feel they want it to install using the customisation tools already provided.

      If I have to spend all my available time developing solutions just for every regions differing bureaucracies I’m not sure I’d want to bother any more.

      What confuses most people about this and similar state legislation, in pretty much any country, is that they rarely, if ever, are required or enforced for non-commercial sites. (though if as some do you start adding Google Ads to your family history site, perhaps you are bordering on “commercial”).

      Frankly, in this day, anyone who uses the web and doesn’t know that 99.99% of sites use perfectly harmless* cookies probably shouldn’t be on the web at all. And just clicking a button that tells you a site uses them achieves nothing useful for anyone.

      (*… harmless as in non-3rd party cookies. 3rd party cookies can and should be blocked by your browser)

      Nigel
      My personal kiwitrees site is www.our-families.info
      #6346
      pab
      pab
      Participant

      139 posts

      I totally agree!

      Penguins Are Boss

      Apache 2.4.25; MariaDB 10.1.22; PHP 7.0.18

      http://bootesgowland.info

      #6358

      jacoline
      Participant

      479 posts

      The fun part will also be ruined! And if any who wants to have this. I will suggest to use the page menu and add the cookie rules for own country and make a clickable “cookie” link in the custom jv module!

      Regards,
      Jamie Jaconelli

      admin and owner of:
      www.jaconelli.dk/webtrees, www.jaconelli.dk/history, www.familien-johnsen.dk(submenu) and danish support at www.host-siden.dk/sandbox and facebook

      #9445
      pab
      pab
      Participant

      139 posts

      18 months down the line I tried complying to this piece of nonsense and looked at SilkTide and many other such ‘solutions’. All claim simplicity yet are beyond the technologically-feeble-minded like myself. I’ve tried the mystyle.css and myheader.php approach but the kiwitrees FAQ is cryptic. I just want a simple REALLY SIMPLE way to include this. Not a debate on the stupidity of EU law (good god there is enough debate on that here in the UK at the moment) – just a COPY this file to here solution ….

      pab

      Penguins Are Boss

      Apache 2.4.25; MariaDB 10.1.22; PHP 7.0.18

      http://bootesgowland.info

      #9446
      kiwi
      kiwi
      Keymaster

      1595 posts

      looked at SilkTide and many other such ‘solutions’.

      Step 1 – decide which solution to use.

      There is no “really simple” solution that I am aware of, but once you get step 1 done, I may be able to help you interpret their instructions.

      Nigel
      My personal kiwitrees site is www.our-families.info
      #9447
      kiwi
      kiwi
      Keymaster

      1595 posts

      To add to my earlier reply……

      Whichever solution you pick you are likely to need:

      1. A JavaScript file the solution will provide. It won’t matter where you put it, but inside your preferred theme file is probably going to be easiest.
      2. A piece of JavaScript code to run that file (or a link to one). It will probably need to go in your themes’ header.php file. Hence the recommendation to create a myheader.php file to avoid over-writing at upgrades.
      3. The above two will work, but may not look good, so you might like to tweak the appearance with some custom CSS (in a mystyles.css file).
      4. It is common, but not essential, to include a link to a web page that explains “cookies”. If your chosen one doesn’t include this there are some to be found through Google you can use.
      Nigel
      My personal kiwitrees site is www.our-families.info
      #9448
      pab
      pab
      Participant

      139 posts

      I was going to dismiss my last post since I have got the thing working now.
      Purely a typo / wrong paste.
      I was pasting the script BEFORE the ‘ in the line echo ‘</head> instead of AFTER the ‘
      i.e. “just before the </head> tag as you clearly state. I shall write 100 lines:
      “I must read the instructions carefully: echo <THESCRIPT>'</head> is wrong, echo ‘<THESCRIPT></head> is right”

      Paul (eating humble pie)

      Penguins Are Boss

      Apache 2.4.25; MariaDB 10.1.22; PHP 7.0.18

      http://bootesgowland.info

    Viewing 11 posts - 1 through 11 (of 11 total)

    You must be logged in to reply to this topic.