This section allows you to view all posts where this member received or gave a like to.
1
Who is the troll now ???
You just got yourself a post-ban. And I'm being nice.
2
I suppose for google analytic's you could also just put this before it in the head.
Code: [Select] if (!ecl_authorized_cookies())
// Google Analytics Integration
function ob_google_analytics($buffer)
{
global $modSettings, $boardurl;
if (ecl_authorized_cookies())
{
/*
if (!empty($modSettings['googleAnalyticsCode']) && !isset($_REQUEST['xml'])) {
$google_code = '
<script type="text/javascript"><!-- // -->' . chr(60) . '![CDATA[' . '
var _gaq = _gaq || [];
_gaq.push([\'_setAccount\', \'' . $modSettings['googleAnalyticsCode'] . '\']);
_gaq.push([\'_trackPageview\']);
(function() {
var ga = document.createElement(\'script\'); ga.type = \'text/javascript\'; ga.async = true;
ga.src = (\'https:\' == document.location.protocol ? \'https://ssl\' : \'http://www\') \'.google-analytics.com/ga.js\';
var s = document.getElementsByTagName(\'script\')[0]; s.parentNode.insertBefore(ga, s);
})();
// ]]' . chr(62) . '</script>';
*/
// add in the analytics code at the very end of the head section
$buffer = substr_replace($buffer, $google_code . "\n" . '</head>', stripos($buffer,
'</head>'), 7);
}
}
// All done
return $buffer;
}
Also reading a lot of discussion about it. It does seem like these big company's might not be taking this serious.
Maybe its my hoping in chance that it will get challenged and thrown out.
I mean who wants to be throwing alerts at people to accept, lol..
I'm not saying I don't agree with the new law, but I certainly think its should be looked at again and properly, probably in my favour LOL.
Edit: I would just like to add.. The cookie that is set from the mod is only supposed to last for that "session" I don't think there is a need to keep throwing it at the users face every time they revisit.
If my understanding is correct, they only have to agree to it once.
setcookie('ecl_auth', 1, 0, '/');
setcookie('ecl_auth', 'EU Cookie Law - LiPF cookies authorised- ' . strftime('%d-%b-%Y %H.%M.%S', time()), time() 189345600, '/'); // Set a 6 year cookie, the same as a "Forever" cookie in SMF
1. | That information string contains HTML entities and I'm not sure if (a) that is safe and (b) how to overcome it. |