Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Simple EU Cookie Law MOD Details »»
Simple EU Cookie Law MOD
Version: 1.10, by Robru Robru is offline
Developer Last Online: Jan 2015 Show Printable Version Email this Page

Category: Mini Mods - Version: 4.x.x Rating:
Released: 06-22-2012 Last Update: 10-22-2012 Installs: 89
Template Edits
 
No support by the author.

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

File Type: zip Simple EU Cookie Law MOD v1.10.zip (10.4 KB, 749 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
4 благодарности(ей) от:
BaldiPl, MarkusB, Taurus1, vithorius

Comments
  #32  
Old 10-21-2012, 09:58 AM
Robru Robru is offline
 
Join Date: Aug 2005
Location: Netherlands
Posts: 368
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Stefan118 View Post
attached below...
It was realy no big deal.
All the images are in that file.
I have cut out the triangle, and saved the file again.
The mod still loads the triangle, but becouse it is PNG it shows the cutout part witch is nothing, and so you can see the forum through it.

No changes made in the rest of the files, exept the language.
Stefan, can you explain how to use your added image?
Reply With Quote
  #33  
Old 10-22-2012, 11:34 AM
Stefan118 Stefan118 is offline
 
Join Date: Dec 2010
Location: Vaassen (Netherlands)
Posts: 299
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Robru View Post
Stefan, can you explain how to use your added image?
How you mean?
The zipfile you added has the same image as i attached.

The use is the same as your image...
Reply With Quote
  #34  
Old 10-22-2012, 02:56 PM
Stefan118 Stefan118 is offline
 
Join Date: Dec 2010
Location: Vaassen (Netherlands)
Posts: 299
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

1.Robru has chosen not to receive private messages or may not be allowed to receive private messages. Therefore you may not send your message to him/her.

Dat schiet niet op he
Reply With Quote
  #35  
Old 10-23-2012, 05:26 AM
Mr Anarch Mr Anarch is offline
 
Join Date: Oct 2012
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's free advertising for an ISP. I loved it ... other than for that so I removed it.
Reply With Quote
  #36  
Old 10-23-2012, 08:55 AM
Robru Robru is offline
 
Join Date: Aug 2005
Location: Netherlands
Posts: 368
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Update: V.1.10 Fixed *.png problem
Reply With Quote
  #37  
Old 11-07-2012, 07:39 PM
TheSupportForum TheSupportForum is offline
 
Join Date: Jan 2007
Posts: 1,158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@Robru

the main.css file is empty please update script and replace the file please
Reply With Quote
  #38  
Old 11-07-2012, 08:30 PM
Robru Robru is offline
 
Join Date: Aug 2005
Location: Netherlands
Posts: 368
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The main.css is not empty, please download it again
Attached Files
File Type: zip main.zip (919 Bytes, 43 views)
Reply With Quote
  #39  
Old 11-07-2012, 09:27 PM
TheSupportForum TheSupportForum is offline
 
Join Date: Jan 2007
Posts: 1,158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Robru View Post
The main.css is not empty, please download it again
thanks, for some reason main.css was empty for me, now i download it again
its ok, weird
Reply With Quote
  #40  
Old 12-20-2012, 04:46 PM
ojoj ojoj is offline
 
Join Date: Apr 2012
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

tnx guys, nice mod!

it doesn't mention in the opening post, but there are some more steps to take after updating your files.

****
2. To enforce it for server scripts, add the following to an .htaccess file in your home directory:

SetEnvIf Cookie "eu-opt-in=1" opted_in
Header always unset Set-Cookie env=!opted_in

3. To enforce it for client scripts (javascript), modify your code from (example):
document.cookie = mycookiestring;
To:
if(HI.optInCookies.allowed()) document.cookie = mycookiestring;
****
I'm not very good at this stuff, so can anyone tell me if step 3 is necessary and where to update my files? I'm running VB 4.
Reply With Quote
  #41  
Old 02-28-2013, 08:12 PM
Black Tiger's Avatar
Black Tiger Black Tiger is offline
 
Join Date: Apr 2004
Location: Netherlands
Posts: 957
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can anyone help me with this?
I can't get it to work, I'm running vb 3.8.x with VBA CMPS.
If I look in my page source, i see this:
Quote:
<link rel="stylesheet" type="text/css" href="http://www.myforum.org/cookie/main.css"/>
<script type="text/javascript" src="http://www.myforum.org/cookie/support-opt-in.js"></script>
<script type="text/javascript" src="http://www.myforum.org/cookie/require-opt-in.js"
read_more="http://www.myforum.org/privacy-policy"></script>
The files are in the http://www.myforum.org/cookie directory.
And I made the entrance in .htaccess as pointed to in number 2 above my post.

However, I don't get a popup asking me about the cookie, no png popup.
What am I doing wrong?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:56 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.11470 seconds
  • Memory Usage 2,338KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (4)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (2)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete