Google Adsense Style Milky Way


Subject: Google Adsense Style Milky Way
I tried to implement Google Adsense in my Milky Way Style, so the second post per topic is a Google Adsense post (like in the Forum here), but can`t figure it out.
Any ideas?
Thanks in advance. :wink:

Last edited by sunwater on Mon 07 Jan, 2008 12:10; edited 1 time in total
Subject: Re: Google Adsense Style Milky Way
If you find something similar for subSilver 2, the code is almost identical.

Otherwise I will try to make some tests for you when I have free time. :mricy:

Subject: Re: Google Adsense Style Milky Way
I have the exact same problem. Can you help us?

Subject: Re: Google Adsense Style Milky Way
Do you have a link for a working mod with phpBB 2 and subSilver?

Otherwise I can only tell how to hardcode it in viewtopic_body.html, because I have no time to code a mod for that.

Subject: Re: Google Adsense Style Milky Way
OPEN viewtopic_body.html

SEARCH FOR:

Code: [Download] [Hide] [Select]
<!-- END postrow -->




ADD BEFORE:

Code: [Download] [Hide] [Select]
<!-- IF postrow.S_FIRST_ROW == 2 -->
<div class="post bg3">
<div class="inner"><span class="corners-top"><span></span></span>

<div align="center">
GOOGLE ADSENSE CODE GOES HERE
</div>

<span class="corners-bottom"><span></span></span></div>
</div>
<!-- ENDIF -->



Replace "GOOGLE ADSENSE CODE GOES HERE" with your ad code.


I think the 728*90 Horizontal ad works best.

:v: Be sure to backup the original file before saving changes!


@MG, i think this could be what you were looking for: Inline Banner Ad

Profile PM  
Subject: Re: Google Adsense Style Milky Way
That didn't work in milky way

any other idea please

BluffMaster wrote: [View Post]
OPEN viewtopic_body.html

SEARCH FOR:

Code: [Download] [Hide] [Select]
<!-- END postrow -->




ADD BEFORE:

Code: [Download] [Hide] [Select]
<!-- IF postrow.S_FIRST_ROW == 2 -->
<div class="post bg3">
<div class="inner"><span class="corners-top"><span></span></span>

<div align="center">
GOOGLE ADSENSE CODE GOES HERE
</div>

<span class="corners-bottom"><span></span></span></div>
</div>
<!-- ENDIF -->



Replace "GOOGLE ADSENSE CODE GOES HERE" with your ad code.


I think the 728*90 Horizontal ad works best.

:v: Be sure to backup the original file before saving changes!


@MG, i think this could be what you were looking for: Inline Banner Ad

Profile PM  
Subject: Re: Google Adsense Style Milky Way
try this made in 5 min

OPEN viewtopic_body.html

find
<!-- END postrow -->

add before
Spoiler: [ Show ]


google link go where you see red
u will need also upload a sponsor rank if you want in your root/images/ranks/

20_4

:wink:

Subject: Re: Google Adsense Style Milky Way
Hi there, this imy first post, rgds for everybody.

Is there a way to put google adsense after first post like someone post topic in phpbb3.
I have mod for phpbb2 for that, but not working on phpbb3.04.
I don't undeerstand topic from Limun, where to put adsense code?
Like on the picture posted by Limun.

Also, i see that user is from Croatia, like me. So, Limun molio bih za pomoć. :mrgreen:

Subject: Re: Google Adsense Style Milky Way
Franc wrote: [View Post]
Hi there, this imy first post, rgds for everybody.

Is there a way to put google adsense after first post like someone post topic in phpbb3.
I have mod for phpbb2 for that, but not working on phpbb3.04.
I don't undeerstand topic from Limun, where to put adsense code?
Like on the picture posted by Limun.

Also, i see that user is from Croatia, like me. So, Limun molio bih za pomoć. :mrgreen:


open your viewtopic_body.html of style milky way (PS. if you use diferent style this code is not ok)
and replace all with this
Spoiler: [ Show ]


googleadsese

Subject: Re: Google Adsense Style Milky Way
Limun, thank you.
Yes, not working for me on boZuntu style.
Anyway, thanks!

Subject: Re: Google Adsense Style Milky Way
I want to do exactly the same thing as discribed here but I want to use the Icy Phoenix template and not the Milky Way template, I am using the 1.2.24.51 RC2 version of the board.

Quote:
try this made in 5 min

OPEN viewtopic_body.html

find
<!-- END postrow -->

add before


I have tried looking on my board for this file but I cannot find it, the only file I can find is viewtopic_body.tpl which is located in the templates/default folder, have you any idea what I can do.

Subject: Re: Google Adsense Style Milky Way
On rc 2 it´s much more easier.

In cms you´ve got a banner mod.

It allows you to place banners just everywhere you want.

Give it a try.

And look in the DOC section in HOW TO. I think CHAOTIC postet something there that tells you exactly how to archieve what you want.


Page 1 of 1


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.0837s (PHP: 27% SQL: 73%)
SQL queries: 11 - Debug Off - GZIP Enabled