Adsense for phpBB 3.1.X

Extensions & Styles for phpBB 3.1.X maintained and supported by Stoker
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 »

No, but you can grap the code from the template event folder and insert it manually.
Board rules! No PM support
FrankPereiro
BBCoder I
BBCoder I
Posts: 2
Joined: 23 Feb 2015, 16:14
BBCodes: 1

Re: Adsense for phpBB 3.1.X

Post by FrankPereiro »

Where can I edit the text that says "This site is supported by ads and donations. If you see this text you are blocking our ads. Please consider a Donation to support the site."?

I'm looking through all the files and can't find it.

Thanks, great ext :lol:
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 »

FrankPereiro wrote:Where can I edit the text that says "This site is supported by ads and donations. If you see this text you are blocking our ads. Please consider a Donation to support the site."?

I'm looking through all the files and can't find it.

Thanks, great ext :lol:
Its in the extensions template event folder. The file for viewtopic.
Board rules! No PM support
FrankPereiro
BBCoder I
BBCoder I
Posts: 2
Joined: 23 Feb 2015, 16:14
BBCodes: 1

Re: Adsense for phpBB 3.1.X

Post by FrankPereiro »

Thanks, man. Great ext!!! I found it...
Omenicus
BBCoder I
BBCoder I
Posts: 1
Joined: 28 Feb 2015, 08:15
BBCodes: 0

Re: Adsense for phpBB 3.1.X

Post by Omenicus »

Hi

Is there any code that works to center the ad within the forum topic.
The header works, but not the forum topic ads.
They are all pulled to the left.

Thank you
Robyn
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 »

Omenicus wrote:Hi

Is there any code that works to center the ad within the forum topic.
The header works, but not the forum topic ads.
They are all pulled to the left.

Thank you
Robyn
Sure, you can edit the viewtopic file in the extensions template events folder.
Board rules! No PM support
erkange
BBCoder I
BBCoder I
Posts: 1
Joined: 02 Mar 2015, 17:43
BBCodes: 5

Re: Adsense for phpBB 3.1.X

Post by erkange »

Is it possible to put ads in the post

example
adsense_in_first_post.JPG
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 »

erkange wrote:Is it possible to put ads in the post

example
adsense_in_first_post.JPG
There is no event for this. But you can do it manually.
Find

Code: Select all

{postrow.MESSAGE}
in viewtopic_body.html and insert your adcode BEFORE.
Board rules! No PM support
User avatar
Dragosvr92
BBCoder II
BBCoder II
Posts: 21
Joined: 28 May 2011, 16:53
BBCodes: 4
Favourite MOD: Please Wait
Location: Romania
Contact:

Re: Adsense for phpBB 3.1.X

Post by Dragosvr92 »

This is how i added my ads in view topic for a while now... It makes use of the entire user reply row.
Dont suppose you can make the profile ads to be responsive? :D
Capture.PNG
Edit:nvm. ive got it working perfectly. :D
User avatar
Dragosvr92
BBCoder II
BBCoder II
Posts: 21
Joined: 28 May 2011, 16:53
BBCodes: 4
Favourite MOD: Please Wait
Location: Romania
Contact:

Re: Adsense for phpBB 3.1.X

Post by Dragosvr92 »

And today i got two forum ads on the same row :D
twoforumads.PNG
@Stoker, you should do the same in the extension. There is so much empty space on the same ad row that could be better used by extra ads. ;)
Post Reply