Google Adsense Inside-wrapped-Around First Post

Discussion forum for MOD Writers regarding MOD Development.
Locked
construaprende
Registered User
Posts: 59
Joined: Tue May 18, 2004 7:40 pm
Location: Mexico
Contact:

Google Adsense Inside-wrapped-Around First Post

Post by construaprende » Fri Aug 01, 2008 8:10 am

I was looking how to do it, and found a way it works

Open
styles\prosilver\template\viewtopic_body.html

Find:

Code: Select all

{postrow.MESSAGE}
OPTION 1:
Before Add:

Code: Select all

<!-- IF postrow.S_FIRST_ROW -->
<div style="float: left; margin: 5px 5px 5px 5px;">
<p style="text-align: center;">
Publicity:<br>
YOUR ADSENSE CODE HERE
</p>
</div>
<!-- ENDIF -->
OPTION 2:
Before Add:

Code: Select all

<!-- IF postrow.S_FIRST_ROW -->
<div class="panel" style="float: left; margin: 2px 2px 2px 2px;">
<div class="inner"><span class="corners-top"><span></span></span>
<div class="content">
<p style="text-align: center;">
Publicity:<br>
YOUR ADSENSE CODE HERE
</p>
</div>
<span class="corners-bottom"><span></span></span></div>
</div>
<!-- ENDIF -->
Regards

rancitis
Registered User
Posts: 13
Joined: Thu Jul 31, 2008 1:55 pm

Re: Google Adsense Inside-wrapped-Around First Post

Post by rancitis » Sun Aug 03, 2008 6:41 am

Thanks a lot. Work fine. It's a good position for the ad's ;)

Locked

Return to “[3.0.x] MOD Writers Discussion”