Adsense for phpBB 3.1.X

Extensions & Styles for phpBB 3.1.X maintained and supported by Stoker
michael8t6
BBCoder I
BBCoder I
Posts: 3
Joined: 18 Jan 2016, 22:10
BBCodes: 6

Re: Adsense for phpBB 3.1.X

Post by michael8t6 »

Stoker wrote:
michael8t6 wrote:are you still developing this ext? If so will it support responsive ads and other ad sizes (responsive + 300x250 mainly)? I know it supports responsive on the index.
Its you that decide which adsense code you want to use. The ext supports all kinds of ads.
michael8t6 wrote:Also I want to place an ad just below a social login ext highlighted in the image below. Is this something you'd be able to help me with?
Go to the social login ext styles/prosilver/event folder Find the correct file to add your code
Cheers for the quick reply. I managed to sort out the social login ad (thank you for the help), however! The extension only supports the banner ads (same as ones on your site). The second I try to add any other sized ad including responsive, I get the "this site is supported by ads" message show.
User avatar
Stoker
Site Admin
Site Admin
Posts: 3540
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Re: Adsense for phpBB 3.1.X

Post by Stoker »

Your right. It doesnt work with responsive ads, problably because of the styling I use.
You can use this instead. It will remove the adblock warning:

Code: Select all

<div class="panel online" style="padding-top:0;padding-bottom:0;background-color:#ECF3F7;">
		adsense code here
</div>
<hr class="divider" />>
Board rules! No PM support
michael8t6
BBCoder I
BBCoder I
Posts: 3
Joined: 18 Jan 2016, 22:10
BBCodes: 6

Re: Adsense for phpBB 3.1.X

Post by michael8t6 »

Perfect :) Cheers buddy :)
User avatar
Stoker
Site Admin
Site Admin
Posts: 3540
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Re: Adsense for phpBB 3.1.X

Post by Stoker »

A better extension with all the config you want: viewtopic.php?f=61&t=2666
Board rules! No PM support
Tony B
BBCoder I
BBCoder I
Posts: 3
Joined: 05 Feb 2016, 06:28
BBCodes: 1

Re: Adsense for phpBB 3.1.X

Post by Tony B »

I'm running an existing board that is an older version of phpBB and using the Advertisement Manager mod and that works great but of course as we all know it hasn't been updated to work with the latest versions of phpBB.

I'm starting a new forum and installed the latest version of phpBB and installed the AdSense ext. I'm not familiar with Google AdSense, but is there a way to ad my own banners not using Google and how would I make them rotate?

Would I be able to accomplish this in Google AdSense?
User avatar
Stoker
Site Admin
Site Admin
Posts: 3540
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Re: Adsense for phpBB 3.1.X

Post by Stoker »

You can use any kind of html instead of Adsense.
If you want them to rotate, you just need some kind of script to do it.
Board rules! No PM support
Tony B
BBCoder I
BBCoder I
Posts: 3
Joined: 05 Feb 2016, 06:28
BBCodes: 1

Re: Adsense for phpBB 3.1.X

Post by Tony B »

Got it installed and works great!

I'm using a custom style and the background behind my banner ad is white. How do I change the color of the box that the banner appears in?

Example here:
http://www.sportsmentalk.com/STForum/in ... 92e3d049ee
User avatar
Stoker
Site Admin
Site Admin
Posts: 3540
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Re: Adsense for phpBB 3.1.X

Post by Stoker »

In this file: /ext/stoker/adsenseads/styles/prosilver/theme/adsenseads.css
Change background-color: #f4f4f4; for the classes you want.
Board rules! No PM support
AseanPagesAsia
BBCoder I
BBCoder I
Posts: 1
Joined: 08 Mar 2016, 14:16
BBCodes: 2

Re: Adsense for phpBB 3.1.X

Post by AseanPagesAsia »

Stoker wrote:Its the exact same as I use here. So use this site as demo :)
You also have an Adsense ad at the bottom on frontpage
However, this option is not available in the plugin/mod
So, how to include a bottom ad on our forum
http://aseanpages.asia
User avatar
Stoker
Site Admin
Site Admin
Posts: 3540
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Re: Adsense for phpBB 3.1.X

Post by Stoker »

AseanPagesAsia wrote:
Stoker wrote:Its the exact same as I use here. So use this site as demo :)
You also have an Adsense ad at the bottom on frontpage
However, this option is not available in the plugin/mod
So, how to include a bottom ad on our forum
http://aseanpages.asia
You probably want to use this version instead: Adsense & Ads for phpBB
Board rules! No PM support
Post Reply