vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 5.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=259)
-   -   Mini Mods - Simple EU Cookie Law MOD (https://vborg.vbsupport.ru/showthread.php?t=289275)

Robru 10-17-2012 10:00 PM

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"/>
<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>


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

Robru 10-18-2012 03:21 PM

Changelog:
  • V.1.10 Fixed *.png problem

TheSupportForum 10-18-2012 08:44 PM

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

Robru 10-19-2012 03:56 PM

Thanks Simon, for your explanation :)

TheSupportForum 10-19-2012 04:11 PM

Quote:

Originally Posted by Robru (Post 2374279)
Thanks Simon, for your explanation :)

for your next release i hope that you implement this yourself :)

Robru 10-19-2012 04:25 PM

Ofcourse ;)

Brandon Sheley 10-19-2012 07:33 PM

Wouldn't it be better to upload the .js files on our server, and link to them that way?

Robru 10-20-2012 07:54 AM

Yes, that's possible, and don't forget to change the names of the code ;)

Robru 10-20-2012 08:06 AM

Update: zip file added

drummaster 10-21-2012 01:09 AM

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/


All times are GMT. The time now is 11:19 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01527 seconds
  • Memory Usage 1,728KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete