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)

TheSupportForum 10-21-2012 11:05 AM

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

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>

create a hook for header_head

ensure you but the template name in, then its done

drummaster 10-21-2012 01:25 PM

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

TheSupportForum 10-21-2012 01:28 PM

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://vborg.vbsupport.ru/

Thank You

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

TheSupportForum 10-21-2012 01:36 PM

1 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 10-21-2012 02:56 PM

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.

jaffaman 10-21-2012 07:59 PM

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.

TheSupportForum 10-21-2012 09:39 PM

Quote:

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

did you edit the css and .js files to match the urls of the images ?
not many people know this much you will need to change the .css and .js files to match where the images are

drummaster 10-21-2012 11:53 PM

yes i changed all the code to direct to my site

TheSupportForum 10-22-2012 01:38 AM

Quote:

Originally Posted by drummaster (Post 2374920)
yes i changed all the code to direct to my site

ok, so i think you shoudl uninstall the mod as its not needed and just try my method

it worked for 100%

Robru 10-23-2012 09:27 AM

Update: V.1.10 Fixed *.png problem


All times are GMT. The time now is 02:14 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
  • Page Generation 0.01055 seconds
  • Memory Usage 1,739KB
  • 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
  • (5)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