![]() |
Simple EU Cookie Law MOD
1 Attachment(s)
Simple EU Cookie Law MOD
Works also on vBulletin 3.8.X and 4.X.X Thanks to simonhind and Stefan118 1) Create Template with this code e.g cookie_law 2) Create a hook : in Header_head Template Name : cookie_law Code: Code:
<link rel="stylesheet" type="text/css" href="http://www.heartinternet.co.uk/eu-cookie/main.css"/> http://www.heartinternet.co.uk/image...ie-step_1a.png http://www.heartinternet.co.uk/image...ie-step_2a.png Another way is: Download the files, rename the code, and put them on your server. For more information see: http://www.heartinternet.co.uk/eu-cookie-law.html Changelog: V.1.10 Fixed *.png problem |
Changelog:
|
Suggestion :
1) Create Template with this code e.g cookie_law 2) create a hook : in Header_head Template Name : cookie_law then there is no need to edit the template with VB5 alot of use will be aiming towards using template hooks to do all the tasks for use |
Thanks Simon, for your explanation :)
|
Quote:
|
Ofcourse ;)
|
Wouldn't it be better to upload the .js files on our server, and link to them that way?
|
Yes, that's possible, and don't forget to change the names of the code ;)
|
Update: zip file added
|
Hi Robru I have installed this but the image isn't working right
I uploaded the files and changed the names a hook wouldn't work so I went into the footer and pasted the code their, but the image is not lining up right can you please advise Thank you https://vborg.vbsupport.ru/ |
Quote:
Code:
<link rel="stylesheet" type="text/css" href="http://www.heartinternet.co.uk/eu-cookie/main.css"/> ensure you but the template name in, then its done |
Ok got it but the image is displaying wrong get get it to display right
any thoughts of why would be helpfull https://vborg.vbsupport.ru/ Thank You |
Quote:
it should work |
1 Attachment(s)
Quote:
the screenshots provided is all you need to do |
thanks for you help I have it working only if I don't change the first 2 lines of code
<link rel="stylesheet" type="text/css" href="http://www.heartinternet.co.uk/eu-cookie/main.css"/> <script type="text/javascript" src="http://www.heartinternet.co.uk/eu-cookie/support-opt-in.js"></script> But if I put my own domain the image don't show right. |
I had the same issue on the VB 4.2.0 version but when i used the image in post #22 with the cut out the triangle it worked fine.
|
Quote:
not many people know this much you will need to change the .css and .js files to match where the images are |
yes i changed all the code to direct to my site
|
Quote:
it worked for 100% |
Update: V.1.10 Fixed *.png problem
|
I dont have "Header_head" in my "hook location" list
header_redirect its the same? edit: dont working :( |
Done.
Can i translate this to spainsh? |
All times are GMT. The time now is 04:57 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|