Customizing SMF > SMF Coding Discussion
[WIP/BETA] EU cookie law
fma965:
--- Quote from: emanuele on June 17, 2012, 01:34:16 PM ---In the middle of Subs-EclWarning.php :)
--- End quote ---
yep as stated above found it :D.
heres what i have done
EDIT: ok now i am more confused. the action; bug thing has just came back :( no idea why. still think it is prettyurls though
It is however only doing it when cookies have not been accepted. once they are accepted it all works fine. except for having to manually type the cookie acceptance url in the address bar.
emanuele:
Okay, try this:
--- Code: (find) --- $context['ecl_accept_cookies'] = $scripturl . '?' . http_build_query(array_merge($_GET, array('cookieaccept' => '1')));
--- End code ---
--- Code: (replace with) --- $context['ecl_accept_cookies'] = $scripturl . '?' . http_build_query(array_merge($_GET, array('cookieaccept' => '1')),null, ';');
--- End code ---
The line is at the end of the file.
fma965:
--- Quote from: emanuele on June 17, 2012, 02:58:41 PM ---Okay, try this:
--- Code: (find) --- $context['ecl_accept_cookies'] = $scripturl . '?' . http_build_query(array_merge($_GET, array('cookieaccept' => '1')));
--- End code ---
--- Code: (replace with) --- $context['ecl_accept_cookies'] = $scripturl . '?' . http_build_query(array_merge($_GET, array('cookieaccept' => '1')),null, ';');
--- End code ---
The line is at the end of the file.
--- End quote ---
i so hope this works :D i have tried everything i can think of from code edits, settings, htaccess and nothing worked. just came on here to say i give up :( but then read your latest post :)
-------------------------------------------------------
DAM it didnt work :( this is the url i am getting http://forgottencoders.co.uk/index.php?cookieaccept;=1 and when clicked it goes to a blank page (im guessing a 404 page?) just to confirm shouldn't the url be http://forgottencoders.co.uk/index.php?cookieaccept=1 (without the ;)? oh and also the same happens for index.php?action;=login and index.php?action;=login2 and more.
emanuele:
Since it is happening with all the URLs I'd suggest you to ask in the pretty URL topic support...the author should know better what the problem could be. ;)
fma965:
--- Quote from: emanuele on June 17, 2012, 04:24:43 PM ---Since it is happening with all the URLs I'd suggest you to ask in the pretty URL topic support...the author should know better what the problem could be. ;)
--- End quote ---
um ok thanks. that thread has 335 pages :o
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version