vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=289275

Simple EU Cookie Law MOD
by Robru
18 Oct 2012 16:18

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:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


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 18 Oct 2012 16:21

Changelog:
  • V.1.10 Fixed *.png problem

TheSupportForum 18 Oct 2012 21:44

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 19 Oct 2012 16:56

Thanks Simon, for your explanation :)

TheSupportForum 19 Oct 2012 17:11

Quote:

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

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

Robru 19 Oct 2012 17:25

Ofcourse ;)

Brandon Sheley 19 Oct 2012 20:33

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

Robru 20 Oct 2012 08:54

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

Robru 20 Oct 2012 09:06

Update: zip file added

drummaster 21 Oct 2012 02:09

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://www.vbulletin.org/forum/

TheSupportForum 21 Oct 2012 12:05

Quote:

Originally Posted by drummaster (Post 2374683)
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

http://www.scriptmania.co.uk/image.png

create a template with just the content below


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

create a hook for header_head

ensure you but the template name in, then its done

drummaster 21 Oct 2012 14:25

Ok got it but the image is displaying wrong get get it to display right
any thoughts of why would be helpfull

https://www.vbulletin.org/forum/

Thank You

TheSupportForum 21 Oct 2012 14:28

Quote:

Originally Posted by drummaster (Post 2374773)
Ok got it but the image is displaying wrong get get it to display right
any thoughts of why would be helpfull

https://www.vbulletin.org/forum/

Thank You

if you installed this mod, remove it and create the hooks etc manually
it should work

TheSupportForum 21 Oct 2012 14:36

2 Attachment(s)
Quote:

Originally Posted by drummaster (Post 2374773)
Ok got it but the image is displaying wrong get get it to display right
any thoughts of why would be helpfull

http://www.scriptmania.co.uk/Image.jpg

Thank You


the screenshots provided is all you need to do

drummaster 21 Oct 2012 15:56

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.


All times are GMT. The time now is 12:58.

Powered by vBulletin® Version 3.8.12
Copyright © 2019, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.