The Arcive of vBulletin Modifications Site. |
|
Simple EU Cookie Law MOD Details »»
|
|||||||||||||||||||||||||||
Simple EU Cookie Law MOD
Works also on vBulletin 3.8.X and 5.X.X Thanks to Stefan118 One template edit in the footer: Go to the footer of the standard style, and put on the end: 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> <script type="text/javascript" src="http://www.heartinternet.co.uk/eu-cookie/require-opt-in.js" read_more="http://www.your-site.com/privacy-policy"></script> 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 Download Now
Show Your Support
|
|||||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
Changelog:
|
|
#3
|
|||
|
|||
|
Thanks, I will have a go with it in the next few day's.
|
|
#4
|
||||
|
||||
|
Thanks, tagged for now as all I need to do now is create a privacy policy.
|
|
#5
|
||||
|
||||
|
So this leaves the tick in the corner for good?
|
|
#6
|
|||
|
|||
|
Is it recommended to put the .js files on my own server?
|
|
#7
|
|||
|
|||
|
Yes!
That's not nessesary. |
|
#8
|
||||
|
||||
|
I decided to stick with just using the vBulletin notification function as I'd rather not have images left on my site.
|
|
#9
|
||||
|
||||
|
Rather than direct them to google on clicking the x i'd like to direct them to my cookie explanation page, can you allow us the possibility of a custom redirection?
|
|
#10
|
|||
|
|||
|
To enforce it for server scripts, add the following to an .htaccess file in your home directory:
Code:
SetEnvIf Cookie "eu-opt-in=1" opted_in Header always unset Set-Cookie env=!opted_in Code:
document.cookie = mycookiestring; To: if(HI.optInCookies.allowed()) document.cookie = mycookiestring; To change Google to an explanatory page, privacy policy or another URL, use the following code: Code:
<script type='text/javascript'> HI.optInCookies.disagreeURL = "/some-page-on-my-site"; </script> Code:
<script type='text/javascript'> HI.optInCookies.l10n.disagreeCaption = "No thanks, see privacy policy"; </script> |
| Благодарность от: | ||
| Simon Lloyd | ||
![]() |
|
|