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: 3511
Joined: 12 May 2008, 21:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark

Re: Adsense for phpBB 3.1.X

Post by Stoker » 16 Feb 2015, 18:27

No, but you can grap the code from the template event folder and insert it manually.
Board rules! No PM support
Sure, I can install the Mod for you ;)
Like the site? Then buy me a bear


FrankPereiro
BBCoder I
BBCoder I
Posts: 2
Joined: 23 Feb 2015, 14:14
BBCodes: 1

Re: Adsense for phpBB 3.1.X

Post by FrankPereiro » 23 Feb 2015, 14:17

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: 3511
Joined: 12 May 2008, 21:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark

Re: Adsense for phpBB 3.1.X

Post by Stoker » 23 Feb 2015, 14:52

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
Sure, I can install the Mod for you ;)
Like the site? Then buy me a bear

FrankPereiro
BBCoder I
BBCoder I
Posts: 2
Joined: 23 Feb 2015, 14:14
BBCodes: 1

Re: Adsense for phpBB 3.1.X

Post by FrankPereiro » 23 Feb 2015, 21:04

Thanks, man. Great ext!!! I found it...

Omenicus
BBCoder I
BBCoder I
Posts: 1
Joined: 28 Feb 2015, 06:15
BBCodes: 0

Re: Adsense for phpBB 3.1.X

Post by Omenicus » 28 Feb 2015, 06:18

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: 3511
Joined: 12 May 2008, 21:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark

Re: Adsense for phpBB 3.1.X

Post by Stoker » 28 Feb 2015, 07:49

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
Sure, I can install the Mod for you ;)
Like the site? Then buy me a bear

erkange
BBCoder I
BBCoder I
Posts: 1
Joined: 02 Mar 2015, 15:43
BBCodes: 5

Re: Adsense for phpBB 3.1.X

Post by erkange » 02 Mar 2015, 15:49

Is it possible to put ads in the post

example
adsense_in_first_post.JPG
You do not have the required permissions to view the files attached to this post.

User avatar
Stoker
Site Admin
Site Admin
Posts: 3511
Joined: 12 May 2008, 21:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark

Re: Adsense for phpBB 3.1.X

Post by Stoker » 02 Mar 2015, 19:49

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
Sure, I can install the Mod for you ;)
Like the site? Then buy me a bear

User avatar
Dragosvr92
BBCoder II
BBCoder II
Posts: 21
Joined: 28 May 2011, 14:53
BBCodes: 4
Favourite MOD: Please Wait
Location: Romania

Re: Adsense for phpBB 3.1.X

Post by Dragosvr92 » 04 Mar 2015, 13:09

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
You do not have the required permissions to view the files attached to this post.

User avatar
Dragosvr92
BBCoder II
BBCoder II
Posts: 21
Joined: 28 May 2011, 14:53
BBCodes: 4
Favourite MOD: Please Wait
Location: Romania

Re: Adsense for phpBB 3.1.X

Post by Dragosvr92 » 03 Apr 2015, 06:44

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. ;)
You do not have the required permissions to view the files attached to this post.