does phpBB support altervista ads?

Need some custom code changes to the phpBB core simple enough that you feel doesn't require an extension? Then post your request here so that community members can provide some assistance.

NOTE: NO OFFICIAL SUPPORT IS PROVIDED IN THIS SUB-FORUM
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTE: NO OFFICIAL SUPPORT IS PROVIDED IN THIS SUB-FORUM
Post Reply
User avatar
oakhearted
Registered User
Posts: 112
Joined: Tue Apr 16, 2019 10:10 am
Location: Queensland, Australia
Name: Cheyne Mayfield
Contact:

does phpBB support altervista ads?

Post by oakhearted »

I am trying to add Altervista ads but they arent working
https://www.hewan.org/

Code: Select all

<script>!function(d,l,e,s,c){e=d.createElement("script");e.src="//en.ad.altervista.org/js.ad/size=728X90/?ref="+encodeURIComponent(l.hostname+l.pathname)+"&r="+Date.now();s=d.scripts;c=d.currentScript||s[s.length-1];c.parentNode.insertBefore(e,c)}(document,location)</script>
There's a blank white space but ads arent displaying.
I tried doing this method:
viewtopic.php?f=64&t=2417316
I've tried adding it into the /forum/styles/prosilver/template/overall_header.html file too
Image
Image
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26502
Joined: Fri Aug 29, 2008 9:49 am

Re: does phpBB support altervista ads?

Post by Mick »

As long as the code is good there shouldn’t be an issue. Exactly where are you adding the code in overall_header? An extension would probably be the best way to go to save any aggravation come update/upgrade time. Presumably you purged both the phpBB and browser caches after you made the edits?
  • "The more connected we get the more alone we become" - Kyle Broflovski©
  • "The good news is hell is just the product of a morbid human imagination.
    The bad news is, whatever humans can imagine, they can usually create.
    " - Harmony Cobel
User avatar
Kailey
Community Team Leader
Community Team Leader
Posts: 3730
Joined: Mon Sep 01, 2014 1:00 am
Location: sudo rm -rf /
Name: Kailey Snay
Contact:

Re: does phpBB support altervista ads?

Post by Kailey »

Hi oakhearted, please make sure you are posting in the correct forum. I've moved this topic for you.

You may want to look at Advertisement Management to see if that will serve your needs.
Kailey Snay - Community Team Leader
Knowledge Base | Documentation | Community rules

If you have any questions about the rules/customs of this website, feel free to send me a PM.
User avatar
thecoalman
Community Team Member
Community Team Member
Posts: 5871
Joined: Wed Dec 22, 2004 3:52 am
Location: Pennsylvania, U.S.A.
Contact:

Re: does phpBB support altervista ads?

Post by thecoalman »

You have error about consent, see this but it's in Italian.

http://it.help.altervista.org/w/Erogazi ... aria_e_TCF

You'll need to deal with altervista for support.
“Results! Why, man, I have gotten a lot of results! I have found several thousand things that won’t work.”

Attributed - Thomas Edison
User avatar
oakhearted
Registered User
Posts: 112
Joined: Tue Apr 16, 2019 10:10 am
Location: Queensland, Australia
Name: Cheyne Mayfield
Contact:

Re: does phpBB support altervista ads?

Post by oakhearted »

Alright, thank you everyone!
Post Reply

Return to “phpBB Custom Coding”