Quantcast
Channel: phpBB.com
Viewing all articles
Browse latest Browse all 1753

phpBB Custom Coding • Privacy policy/GDPR info code

$
0
0
Hey Guys.
I installed my phpBB and i wanted to customize privacy / GDPR info under "ucp.php?mode=privacy". I read that i have to find 'PRIVACY_POLICY' code in /language/pl/ucp.php and pase my custom policy cod there.

I want to use automatic privacy policy / GDPR info generated in tool: https://my.oodo.pl. I generate with this tool my snippet code, but after pasting this code into 'PRIVACY_POLICY' i got HTTP ERROR 500. My custom code is:

Code:

$lang = array_merge($lang, array('TERMS_OF_USE_CONTENT' => '','PRIVACY_POLICY' => "<div id="myOodoPl-32-19-GQXc">Ładuję...</div><script>(function() { window.OodoPl = window.OodoPl || {}; OodoPl.config = OodoPl.config || []; OodoPl.config.push( { uid: 32, klauzid: 19, rand: 'GQXc', lang: 'pl', css: true } ); var script = document.createElement('script'); script.src = 'https://my.oodo.pl/pl/klauzula/32-19-GQXc'; script.async = true; var entry = document.getElementsByTagName('script')[0]; entry.parentNode.insertBefore(script, entry); })();</script>",));
Can someone help me? Can i paste this script code there? How to make this work?

Statistics: Posted by Gawrion — Thu Feb 22, 2024 4:23 pm



Viewing all articles
Browse latest Browse all 1753

Trending Articles