News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

EU Cookie

Started by luxsat, November 12, 2013, 12:37:46 PM

Previous topic - Next topic

luxsat

Ik heb de Modification EU Cookie geïnstalleerd op een SMF 2.0.6 bij de instellingen zou ik nu de Cookie Policy URL moeten invullen.
Wat moet ik daar invullen. ??


Enable EU Cookie
Select color
Cookie Policy Page URL ??
Groetjes van Jef 

Herman's Mixen

Zoals de mod beschrijving zegt...

Quote
The EU Cookie mod displays a floating box in the bottom of the page which informs visitors and members about the use of cookies on the site

dus heb zo het vermoeden dat de tekst notatie niet helemaal juist is... hier zal je gewoon je policy in moeten vullen en geen URL ;)
Met vriendelijke groet, The Burglar!

 House Mixes | Mixcloud | Any Intelligent fool can make things bigger, more complex, and more violent.
It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Albert Einstein

Former Godfather of our dutch community ;)

luxsat

Dat zou wel kunnen maar dan vraag ik mij wel af wat de inhoud van die policy zou moeten zijn ?
Nu begin ik het vermoeden te krijgen dat je een eigen pagina moet aanmaken waarop die policy te lezen is,  ik ga er dan vanuit dat dit een officieel opgestelde policy zou moeten zijn.
Op deze wijze zou dan het invoeren van een URL wel zin hebben.

Ook is het lastig dat de Administrator die  floating box niet te zien krijgt en eigenlijk niet kan nagaan of dit nu werkt of niet.
Groetjes van Jef 

Herman's Mixen

het gaat er vanuit dat je als gast op de site terecht komt, je een bepaalde tekst te lezen krijgt als bijvoorbeeld iets als deze

"Geachte bezoeker deze site maakt gebruik van cookies om gebruikers informatie te bepalen, wij gebruiken deze niet voor advertentie doeleinden bla..bla..bla druk op oke om deze te accepteren".

pak een tweede browser erbij en en surf naar je site als gast ;) om te zien of dit inderdaad werkt.
Met vriendelijke groet, The Burglar!

 House Mixes | Mixcloud | Any Intelligent fool can make things bigger, more complex, and more violent.
It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Albert Einstein

Former Godfather of our dutch community ;)

luxsat

Ik krijg hem ook in een andere browser als gast niet te zien , zal hem later eens door iemand anders moeten laten testen maar volgens mij werkt die gewoon niet.
Groetjes van Jef 

Herman's Mixen

Ik merk op dat je forum met de 1.1.x branche draait, je zult handmatig de index.template.php moeten aanpassen....
voor het theme wat je gebruikt welke anders is dan het "default" ;)

Code (zoek) Select

function template_main_below()
{
global $context, $settings, $options, $scripturl, $txt;


Code (er na toevoegen) Select

// EU Cookie mod
global $modSettings;
if (!$context['user']['is_admin'] && !empty($modSettings['enable_euc']))
echo '
<div class="cookie_wrap"><div class="cookie_info" style="' . ($modSettings['euc_select_color'] == 'black' ? 'background: #000; background-color: rgba(0,0,0,0.80); color: #fff;' : 'background: #fff; background-color: rgba(255,255,255,0.80); color: #000;') . '">', $txt['euc_info'], '
<button id="cookie_btn" type="button">OK</button>
' . (!empty($modSettings['euc_policy']) ?  '<a style="' . ($modSettings['euc_select_color'] == 'black' ? 'color: #fff;' : 'color: #000;') . '" href="' . $modSettings['euc_policy'] . '">' . $txt['euc_more'] . '</a>' : '') . '
</div></div>';


plus een stukje CSS toevoegen aan je style.css of index.css

Code (zoek) Select

end of file


Code (toevoegen) Select


.cookie_wrap
{
position: fixed;
width: 100%;
bottom: 20px;
text-align: center;
z-index: 9999;
}
.cookie_wrap a:link, .cookie_wrap a:visited
{
text-decoration: none;
}
.cookie_wrap a:hover
{
text-decoration: underline;
cursor: pointer;
}
.cookie_info
{
display: inline-block;
margin: 0 auto;
padding: 10px;
border-radius: 5px;
font-size: 12px;
}
#cookie_btn
{
background: #346;
color: #fff;
font: bold 11px arial;
padding: 3px 12px;
border-radius: 3px;
}




Met vriendelijke groet, The Burglar!

 House Mixes | Mixcloud | Any Intelligent fool can make things bigger, more complex, and more violent.
It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Albert Einstein

Former Godfather of our dutch community ;)

luxsat

Neen dat is ons goed lopend forum en daar is die niet geïnstalleerd.
Ik ben nu testen aan het doen met de 2.0.6 voor dat alles van de 1.1.x branche over gaat.

Hier het testforum
http://www.luxsat.eu/newforum/index.php
Groetjes van Jef 

Herman's Mixen

Dan alsnog zal je het theme moeten aanvinken tijdens de installatie waar je deze optie extra geinstalleerd wil hebben anders dan het default....

V   "default" - standaard aangevinkt
0   "Theme name" - zul je handmatig moeten aanvinken
0   "theme core" - zul je handmatig moeten aanvinken

tijdens de installatie van de betreffende mod !!
Met vriendelijke groet, The Burglar!

 House Mixes | Mixcloud | Any Intelligent fool can make things bigger, more complex, and more violent.
It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Albert Einstein

Former Godfather of our dutch community ;)

luxsat

#8
Nu lijkt het wel te lukken na toevoeging in het Theme bij index.css
Dit zal ik dan ook bij elk Theme moeten doen.
Test het eens uit en dan zie je de floating tekst op het forum.


{
   position: fixed;
   width: 100%;
   bottom: 20px;
   text-align: center;
}
.cookie_wrap a:link, .cookie_wrap a:visited
{
   text-decoration: none;
}
.cookie_wrap a:hover
{
   text-decoration: underline;
   cursor: pointer;
}
.cookie_info
{
   display: inline-block;
   margin: 0 auto;
   padding: 10px;
   border-radius: 5px;
   font-size: 12px;
   z-index: 9999;
}
#cookie_btn
{
   background: #346;
   color: #fff;
   font: bold 11px arial;
   padding: 3px 12px;
   border-radius: 3px;
}
Groetjes van Jef 

luxsat

Alvast bedankt voor de hulp The Burglar!

Ik denk niet dat ik het echt ga gebruiken zolang niemand mij er toe verplicht want ik vind heel eerlijk gezegd het toch maar niets.
Maar het voornaamste is dat ik nu weet hoe het kan.
Groetjes van Jef 

NanoSector

Quote from: The Burglar! on November 12, 2013, 02:18:47 PM
Zoals de mod beschrijving zegt...

Quote
The EU Cookie mod displays a floating box in the bottom of the page which informs visitors and members about the use of cookies on the site

dus heb zo het vermoeden dat de tekst notatie niet helemaal juist is... hier zal je gewoon je policy in moeten vullen en geen URL ;)
Umm... De optie is niet voor niets "Cookie Policy URL" genoemd...
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

Herman's Mixen

URl is gewoon http://bla.bla en geen lap tekst :P
Met vriendelijke groet, The Burglar!

 House Mixes | Mixcloud | Any Intelligent fool can make things bigger, more complex, and more violent.
It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Albert Einstein

Former Godfather of our dutch community ;)

luxsat

#12
Klopt de Bla Bla moet daar via een URL

Ik heb het getest en heb gewoon de URL van onze website geplaatst en als je dan naast OK op learn More klikt kom je ook op onze website , dus is het gewoon de bedoeling hier een pagina met verklarende policy onder te brengen.

Hier kun je even testen als gast
http://www.luxsat.eu/newforum/index.php
Groetjes van Jef 

luxsat

Wel vind ik die floating tekst niet zo mooi en gewoon hinderlijk voor gasten die gewoon even een kijkje willen nemen zonder meer.
Daar hadden zij best wel iets anders kunnen van maken.  ;)
Groetjes van Jef 

NanoSector

Quote from: The Burglar!
URl is gewoon http://bla.bla en geen lap tekst :P
En daarom moet je er geen URL invullen? ???

Quotehier zal je gewoon je policy in moeten vullen en geen URL
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

luxsat


Als je nu op de learn More klikt zie je hoe het ook kan

http://www.luxsat.eu/newforum/index.php

Deze tekst is opgemaakt via een cookie policy generator
http://cookiepolicygenerator.com/
Groetjes van Jef 

NanoSector

Mijn punt is, The Burglar! maakt eerst het punt dat je er geen URL in moet voeren (terwijl er toch duidelijk staat *URL*) en dan gaat ie verder dat er toch wel een URL in moet.. Ga eerst eens onderzoeken wat de optie doet voordat je dingen gaat roepen, in plaats van gebruikers in de war te brengen.
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

Herman's Mixen

Duh en jij bent een robot zeker.... mensen bestaan niet ??
Met vriendelijke groet, The Burglar!

 House Mixes | Mixcloud | Any Intelligent fool can make things bigger, more complex, and more violent.
It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Albert Einstein

Former Godfather of our dutch community ;)

Advertisement: