Questions and help on editing scripts manually - Opt-In Cookie Manager
Questions and help on editing scripts manually
Here you can ask if you have problems with the scripts that have to be adjusted manually.
-
- Jr. Extension Validator
- Posts: 493
- Joined: Thu Mar 14, 2019 6:07 pm
Re: Questions and help on editing scripts manually
First of all: thanks for the ext. Looks and works great! But next please allow me the following questions: I'd like to use your extension for Google AdSense and Webfonts. How do I integrate what scripts? I'd be happy for any hint, thx
-
- Registered User
- Posts: 11
- Joined: Sun Feb 13, 2022 10:46 am
Re: Questions and help on editing scripts manually
Yes is no Problem fpr webfonts look here:
https://www.phpbb.com/customise/db/exte ... 51#p843751
Here I explained how to embed scripts. For this it is necessary to edit the style files yourself. Since this is not intended by phpbb itself. This must always be taken into account when updating the style.
This affects the google webfont history. Other scripts like google adsense can change them in the same format as google fonts. You can then specify the switch name that you address in the ACP.
In the one topic I explained how to adapt the scripts so that they can also be controlled by the klaro script.
You can then put the script code for Adsense that you get from google in one of the files that I have attached to the extension:
/ext/chris1278/styles/all/template/own_scipts_header.html
or
/forum/ext/chris1278/styles/all/template/own_scipts_footer.html
depending on whether the code has to be loaded at the very beginning or at the end.
If you have problems with the integration then you are welcome to write and send me the adsense code from google (also via PM since there is probably confidential data in there) and I can then adapt your code and tell you where you have to use it.
https://www.phpbb.com/customise/db/exte ... 51#p843751
Here I explained how to embed scripts. For this it is necessary to edit the style files yourself. Since this is not intended by phpbb itself. This must always be taken into account when updating the style.
This affects the google webfont history. Other scripts like google adsense can change them in the same format as google fonts. You can then specify the switch name that you address in the ACP.
In the one topic I explained how to adapt the scripts so that they can also be controlled by the klaro script.
You can then put the script code for Adsense that you get from google in one of the files that I have attached to the extension:
/ext/chris1278/styles/all/template/own_scipts_header.html
or
/forum/ext/chris1278/styles/all/template/own_scipts_footer.html
depending on whether the code has to be loaded at the very beginning or at the end.
If you have problems with the integration then you are welcome to write and send me the adsense code from google (also via PM since there is probably confidential data in there) and I can then adapt your code and tell you where you have to use it.
-
- Jr. Extension Validator
- Posts: 493
- Joined: Thu Mar 14, 2019 6:07 pm
Re: Questions and help on editing scripts manually
Thanks, Chris1278, I'll try my luck! If things won't work out as expected I'll get in touch with you
-
- Registered User
- Posts: 11
- Joined: Sun Feb 13, 2022 10:46 am
Re: Questions and help on editing scripts manually
Hey Chris, is it possible to explain to me how I integrate consent for a Meta Pixel cookie from a third party in your extension?
-
- Registered User
- Posts: 37
- Joined: Thu May 18, 2017 7:03 pm
Re: Questions and help on editing scripts manually
If you can send me the script I can install a switch for it in the next version.
Meta is facebook right?
You can also PM me the script code if you don't want to post it publicly.
Meta is facebook right?
You can also PM me the script code if you don't want to post it publicly.
-
- Jr. Extension Validator
- Posts: 493
- Joined: Thu Mar 14, 2019 6:07 pm