vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Mini Mods - Cookie Consent (https://vborg.vbsupport.ru/showthread.php?t=325880)

yilmaz 12-13-2017 10:00 PM

Cookie Consent
 
1 Attachment(s)
User must approve cookie one time
-----------------
Delete the old product, reinstall it

TTayfun 01-04-2018 11:53 AM

Thanks yilmaz.

djbaxter 01-08-2018 08:44 PM

Quote:

However, if you would like, you can change your cookie settings at any time.
I wanted to change the display to tell members HOW to change their cookie settings, or to add a link to a thread explaining how to do that.

However, this mod doesn't appear to be phrased.

Can you add an option to edit the displayed text?

Seven Skins 01-08-2018 09:00 PM

Search for this phrase "cookie_consent_message"

Paolitus 03-26-2018 05:31 PM

Thank you
beautiful mod, but don't work
I have vb 4.2.5
it only worked the first time

scottkoz20 03-26-2018 06:43 PM

Quote:

Originally Posted by Paolitus (Post 2593756)
Thank you
beautiful mod, but don't work
I have vb 4.2.5
it only worked the first time

correct me if I am wrong, but it should only work 1-time unless you clear out your cookies.

Paolitus 03-27-2018 04:18 AM

what you say is correct
from further testing, I noticed that it does not work when I change the language of the "cookie_consent_message"

Stratis 03-28-2018 04:30 AM

Quote:

Originally Posted by Paolitus (Post 2593777)
what you say is correct
from further testing, I noticed that it does not work when I change the language of the "cookie_consent_message"

It works in my language, as i see you must not have a second line using "ENTER" :)

ramesh_umk3 03-28-2018 02:35 PM

Good mod but when we are concern about SEO , and Cross Browsers support i would prefer Below Small mod. Works with almost any vBulletin Version.

Paste below code in Style Manager --> Edit Template --> headinclude
at end of template.

HTML Code:

<script type="text/javascript">
    window.cookieconsent_options = {"message":"Best Hosting Forums uses cookies to ensure you get the best experience on our website","dismiss":"Got it!","learnMore":"More info","link":"http://www.besthostingforums.com/privacy.php","theme":"light-bottom"};
</script>

<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/cookieconsent2/1.0.10/cookieconsent.min.js"></script>

Note: Don't forget to change your message, link and theme can be changed from "light" or "dark"

Demo:
http://www.besthostingforums.com/

Paolitus 03-28-2018 03:56 PM

Quote:

Originally Posted by Stratis (Post 2593799)
It works in my language, as i see you must not have a second line using "ENTER" :)

it's work!!!! Thank you for your support

Quote:

Originally Posted by ramesh_umk3 (Post 2593807)
Good mod but when we are concern about SEO , and Cross Browsers support i would prefer Below Small mod. Works with almost any vBulletin Version.

Paste below code in Style Manager --> Edit Template --> headinclude
at end of template.

HTML Code:

<script type="text/javascript">
    window.cookieconsent_options = {"message":"Best Hosting Forums uses cookies to ensure you get the best experience on our website","dismiss":"Got it!","learnMore":"More info","link":"http://www.besthostingforums.com/privacy.php","theme":"light-bottom"};
</script>

<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/cookieconsent2/1.0.10/cookieconsent.min.js"></script>

Note: Don't forget to change your message, link and theme can be changed from "light" or "dark"

Demo:
http://www.besthostingforums.com/

Thank you


All times are GMT. The time now is 03:51 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.01241 seconds
  • Memory Usage 1,741KB
  • 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
  • (2)bbcode_html_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