Adsense for phpBB 3.1.X
Re: Adsense for phpBB 3.1.X
I will give a try. Thanks!
-
- BBCoder I
- Posts: 2
- Joined: 09 Jan 2015, 23:16
- BBCodes: 1
Re: Adsense for phpBB 3.1.X
Hey,
I have a question regarding this part:
"Copy the entire contents of the repository to ext/stoker/ads/ and images to images".
Is that standard practice for extensions or should they be in this?
styles/all/theme/images/
I'm curious as to know the "right" answer for 3.1.x
Thanks!
I have a question regarding this part:
"Copy the entire contents of the repository to ext/stoker/ads/ and images to images".
Is that standard practice for extensions or should they be in this?
styles/all/theme/images/
I'm curious as to know the "right" answer for 3.1.x
Thanks!
- Stoker
- Site Admin
- Posts: 3536
- Joined: 12 May 2008, 23:26
- BBCodes: 239
- Favourite BBCode: Anipro
- Favourite MOD: PrettyPhoto
- Location: Denmark
- Contact:
Re: Adsense for phpBB 3.1.X
No, it isnt standard procedure.CentaurAtlas wrote:Hey,
I have a question regarding this part:
"Copy the entire contents of the repository to ext/stoker/ads/ and images to images".
Is that standard practice for extensions or should they be in this?
styles/all/theme/images/
I'm curious as to know the "right" answer for 3.1.x
Thanks!
But if I remember correct, I include the image with inline css which isnt standard procedure either.
Board rules! No PM support
-
- BBCoder I
- Posts: 1
- Joined: 11 Jan 2015, 08:09
- BBCodes: 1
Re: Adsense for phpBB 3.1.X
can this be made so that people who donate dont have to see ads?
- Stoker
- Site Admin
- Posts: 3536
- Joined: 12 May 2008, 23:26
- BBCodes: 239
- Favourite BBCode: Anipro
- Favourite MOD: PrettyPhoto
- Location: Denmark
- Contact:
Re: Adsense for phpBB 3.1.X
Steve made a nice little installer to handle something like this. It was a permission and a template switch to display for certain groups.Deathbringer wrote:can this be made so that people who donate dont have to see ads?
Dont have the code any longer.
Board rules! No PM support
Re: Adsense for phpBB 3.1.X
Stoker, thank you very much for this simple yet awesome extension. Works beautifully on my phpBB 3.1.2.
What I did to get the responsive ads working is:
i.e. leaving only the outer div and removing the "online" class from it - looks cleaner this way.
Now I'm wondering - how to put some ads in viewforum.php? Any thoughts?
Cheers,
What I did to get the responsive ads working is:
Code: Select all
<!-- IF postrow.S_FIRST_ROW -->
<div class="panel" style="padding-top:0;padding-bottom:0;background-color:#ECF3F7;">
Your adsense code goes here
</div>
<hr class="divider" />
<!-- ENDIF -->
Now I'm wondering - how to put some ads in viewforum.php? Any thoughts?
Cheers,
- Stoker
- Site Admin
- Posts: 3536
- Joined: 12 May 2008, 23:26
- BBCodes: 239
- Favourite BBCode: Anipro
- Favourite MOD: PrettyPhoto
- Location: Denmark
- Contact:
Re: Adsense for phpBB 3.1.X
You can take a look at viewforum_body.html and create an event file to do it. Pretty much the same way as in viewtopic.
Board rules! No PM support
Re: Adsense for phpBB 3.1.X
im gonna give this a try, thanks!
quick question, can you interchange the size of ads? like if i want bigger ads (like in viewtopic) on the home page, can i do that?
quick question, can you interchange the size of ads? like if i want bigger ads (like in viewtopic) on the home page, can i do that?
- Stoker
- Site Admin
- Posts: 3536
- Joined: 12 May 2008, 23:26
- BBCodes: 239
- Favourite BBCode: Anipro
- Favourite MOD: PrettyPhoto
- Location: Denmark
- Contact:
Re: Adsense for phpBB 3.1.X
You chose size for the ads when you create them so anything that fits your design.
Board rules! No PM support
-
- BBCoder I
- Posts: 1
- Joined: 16 Feb 2015, 17:04
- BBCodes: 3
Re: Adsense for phpBB 3.1.X
Hello Can I install your mod to version 3.0.11?