[ABD] Adsense & Ads for phpBB

Any abandoned Extensions will be moved to this forum.

WARNING: Extensions in this forum are not currently being supported or maintained by the original Extension author. Proceed at your own risk.
Forum rules
IMPORTANT: Extension Development Forum rules

WARNING: Extensions in this forum are not currently being supported nor updated by the original Extension author. Proceed at your own risk.
witvisser
Registered User
Posts: 71
Joined: Wed Nov 25, 2009 9:08 am

Re: [RC] Adsense & Ads for phpBB

Post by witvisser »

Try this ;)

Code: Select all

<div align="center"><a href="https://www.forumelettrico.it/" target="_top">
<style>
.fixed-ratio-resize { /* basic responsive img */
	max-width: 100%;
	height: auto;
	width: auto\9; /* IE8 */
}
</style>

<img class="fixed-ratio-resize" src="https://www.forumelettrico.it/banner_prova_jeep.jpg"></a> 
</div>
Harrison76
Registered User
Posts: 96
Joined: Wed Jul 12, 2017 7:25 am

Re: [RC] Adsense & Ads for phpBB

Post by Harrison76 »

OK, it works perfectly, thank you.
I would like to take advantage of two other questions:

if instead of inserting a single banner, I wanted to put two smaller banners side by side, so that from desktops they are side by side and from mobile devices they are one on top of the other, is it possible?

Second question: can you put different banners depending on the section?

Thank you very much, you are great: -)
witvisser
Registered User
Posts: 71
Joined: Wed Nov 25, 2009 9:08 am

Re: [RC] Adsense & Ads for phpBB

Post by witvisser »

Here we go :)
In this code i use for example 2 banners of 400*150 pixels

Code: Select all

<div align="center"><a href="https://www.forumelettrico.it/" target="_top">
<style>
.fixed-ratio-resize { /* basic responsive img */
	max-width: 100%;
	height: auto;
	width: auto\9; /* IE8 */
}
</style>
<img class="fixed-ratio-resize" src="http://www.mopardealer.com/shop_banner5.png"></a>&nbsp;

<a href="https://www.forumelettrico.it/" target="_top"> 
<img class="fixed-ratio-resize" src="http://www.mopardealer.com/shop_banner10.png"></a></div>
Change in the code 2 times the url scr="" with the url of your banner and also the 2 destination urls <a href="" if needed ;)
Harrison76
Registered User
Posts: 96
Joined: Wed Jul 12, 2017 7:25 am

Re: [RC] Adsense & Ads for phpBB

Post by Harrison76 »

You're too good, thank you!
For the second question, I asked you if you can put a different banner depending on the sections.
Ideally, it would be ideal to place generic banners for the respective space, and then, for example, to make two more banners that overwrite them, which appear for example only in the https://www.forumelettrico.it/forum/aut ... he-f1.html section, and in all the discussions contained therein. Is that possible? graces
witvisser
Registered User
Posts: 71
Joined: Wed Nov 25, 2009 9:08 am

Re: [RC] Adsense & Ads for phpBB

Post by witvisser »

That's not possible with this extension.
Yo can only use code for:
Banner in header, display on all pages except UCP
Banner in footer, display on all pages except UCP
3 Banners in viewtopic
Banner in all search results
You can't use code which is only based on one or more specific forums.
User avatar
pino4et67
Registered User
Posts: 2
Joined: Fri Feb 16, 2018 6:08 pm
Contact:

Re: [RC] Adsense & Ads for phpBB

Post by pino4et67 »

Good evening. How to do the same as you have on the forum. I can not put the screen here. I posted it here https://ibb.co/f7AXWS Thank you.
User avatar
pino4et67
Registered User
Posts: 2
Joined: Fri Feb 16, 2018 6:08 pm
Contact:

Re: [RC] Adsense & Ads for phpBB

Post by pino4et67 »

Many thanks.
Harrison76
Registered User
Posts: 96
Joined: Wed Jul 12, 2017 7:25 am

Re: [RC] Adsense & Ads for phpBB

Post by Harrison76 »

witvisser wrote:
Thu Feb 15, 2018 9:24 am
Here we go :)
hello, I was looking at the banners from my mobile phone, but it remains white space beside. Is it possible to make it full-width screen from a mobile phone? Thanks

Image
User avatar
Stoker 4.0
Registered User
Posts: 1487
Joined: Sun Feb 13, 2011 1:33 pm
Location: Funen, Denmark
Name: Ulrik Christensen
Contact:

Re: [RC] Adsense & Ads for phpBB

Post by Stoker 4.0 »

Harrison76 wrote:
Thu Jul 26, 2018 11:36 am
witvisser wrote:
Thu Feb 15, 2018 9:24 am
Here we go :)
hello, I was looking at the banners from my mobile phone, but it remains white space beside. Is it possible to make it full-width screen from a mobile phone? Thanks

Image
Google sets the width. Just makeup sure to use responsive ADS.
fabioganga
Registered User
Posts: 15
Joined: Mon May 28, 2018 12:10 pm

Re: [RC] Adsense & Ads for phpBB

Post by fabioganga »

Hi everyone!

I am using this extension too and I have an Adsense account that is in good standing and approved, so I can start displaying ads on my forum.

I have used the search feature but I haven't found much at all to answer my questions as follows:
  • Are there banner ads on Adsense that also pay by impressions or only when users click on them?
  • I would like to have just standard banner size adverts only at the top, middle and bottom of each post page. Which option of ads do I need to choose in Adsense as there are loads? I would appreciate it loads if someone could tell me step-by-step which section of Adsense I need to use to set it up.
Thank you so much indeed for your kind help.
User avatar
alhitary
Registered User
Posts: 868
Joined: Wed Jan 17, 2007 7:51 am
Location: ROY
Name: Basil Taha Alhitary
Contact:

Re: [RC] Adsense & Ads for phpBB

Post by alhitary »

Dear,

How to not display ads in some specific pages ?
is there a way to exclude some pages ? like an option to add link/number of pages
enter a valid email
Registered User
Posts: 322
Joined: Mon May 30, 2016 4:50 pm
Location: VIE
Contact:

Re: [RC] Adsense & Ads for phpBB

Post by enter a valid email »

Are there banner ads on Adsense that also pay by impressions or only when users click on them?
I use other Companys and and serious Company give you an Reward when the Customer Buy something.
In my Case when the User click the Link and buy a Flight I get 1,5% Cash Back. :?
Just View or Click bring nothing.
nudels64
Registered User
Posts: 53
Joined: Mon Oct 24, 2016 9:17 pm
Contact:

Re: [RC] Adsense & Ads for phpBB

Post by nudels64 »

Hello Stoker, I have a strange problem. The Adblock Detector runs in the index and in the topic overview. If I call but see a post, the Detector says nothing. What could be the reason?
I raised the forum to 3.2.3 and PHP 7.0.3, but don't know how long the Detector hasn't been working.
phpbb 3.2.9 # PHP-Version: 7.0 # Themes: Prosilver and Basic
ngaia
Registered User
Posts: 310
Joined: Sat Apr 23, 2016 4:28 am

Re: [RC] Adsense & Ads for phpBB

Post by ngaia »

ad blocker doesnt work on uc browser anymore :(
Locked

Return to “Abandoned Extensions”