• Welcome to PHPVIBE Forums. Please log in.

[ Video Sharing CMS v4 ] trying to add cookie consent

Started by ampstar,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ampstarTopic starter

Hi im trying to add cookie consent to my site as its a requirement now for adsense and eu law.
the code ive got is
<script type="text/javascript">
    window.cookieconsent_options = {"message":"website uses cookies to ensure you get the best experience on our website. This allows us to personalize content and ads. By using using website you agree to these terms.","dismiss":"Got it!","learnMore":"More info","link":null,"theme":"dark-bottom"};
</script>

<script type="text/javascript" src="//s3.amazonaws.com/cc.silktide.com/cookieconsent.latest.min.js"></script>
<!-- End Cookie Consent plugin -->

i've added the code to the index.html in tpl main, before the head tag but it doesnt work.

any help is apreciated. thanks.
  •  

ampstarTopic starter

Ok ive done it.
If any one is looking to do the same.
use the wizard on https://silktide.com/tools/cookie-consent/download/
then add the generated code from <script> ... </script> in tpl.globals.php found in tpl/main.
It works very well in my opinion.
  •  

 

Similar topics (7)

Important Announcement: PHPVibe Video Sharing CMS End of Life

Started by Marius P.


Replies: 1
Views: 48606

The problem of video viewing PHPVibe 5.0

Started by Nayn


Replies: 25
Views: 77499

embed video does not work on v5

Started by neospider69


Replies: 6
Views: 60311

when slecting to unpublish music mp3 - next page says unpublished video ?

Started by spirog


Replies: 2
Views: 5575

insite ads issue when selecting above/below video player location

Started by georgepanaitescu


Replies: 3
Views: 29374

Video that I've uploaded needs to have that value in admin to upload

Started by spirog


Replies: 4
Views: 12739

video,playlist,images, etc. (frontend) select all deselect all reselect all

Started by spirog


Replies: 3
Views: 12090