|
Page 1 of 1
|
sunwater
Joined: January 2008
Posts: 3
|
 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.
Last edited by sunwater on Mon 07 Jan, 2008 12:10; edited 1 time in total |
#1 Sun 06 Jan, 2008 20:19 |
|
Sponsors

|
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.
|
|
Mighty Gorgon 
Luca Libralato
Joined: August 2006
Posts: 7192
Location:  Borgo San Michele
|
 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.
____________ Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
|
#2 Tue 08 Jan, 2008 22:03 |
|
Psygnosis
Joined: April 2008
Posts: 1
|
 Re: Google Adsense Style Milky Way
I have the exact same problem. Can you help us?
|
#3 Tue 01 Apr, 2008 07:28 |
|
Mighty Gorgon 
Luca Libralato
Joined: August 2006
Posts: 7192
Location:  Borgo San Michele
|
 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.
____________ Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
|
#4 Sun 06 Apr, 2008 23:09 |
|
BluffMaster
Joined: December 2007
Posts: 10
|
 Re: Google Adsense Style Milky Way
OPEN viewtopic_body.html
SEARCH FOR:
ADD BEFORE:
<!-- 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.
Be sure to backup the original file before saving changes!
@ MG, i think this could be what you were looking for: Inline Banner Ad
|
#5 Sun 28 Dec, 2008 07:17 |
|
ch4ever
Joined: October 2008
Posts: 10
|
 Re: Google Adsense Style Milky Way
That didn't work in milky way
any other idea please
OPEN viewtopic_body.html
SEARCH FOR:
ADD BEFORE:
<!-- 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.
Be sure to backup the original file before saving changes!
@ MG, i think this could be what you were looking for: Inline Banner Ad
|
#6 Mon 20 Apr, 2009 13:42 |
|
Limun 
Joined: January 2008
Posts: 1334
Location: ![[Censor] (Croatia) croatia.png](images/flags/croatia.png) [Censor]
|
 Re: Google Adsense Style Milky Way
try this made in 5 min
OPEN viewtopic_body.html
find
<!-- END postrow -->
add before
<!-- IF postrow.S_FIRST_ROW == 2 -->
<td class="row-post-body" valign="top">
<table cellspacing="4" align="center" width="150">
<tr><td class="postdetails">
<p align="center"><span style="font-family:Courier New;font-size:18pt"><span style="color:#0000FF"><b>G</span><span style="color:#FF0000">o</span><span style="color:#E6E600">o</span><span style="color:#0000FF">g</span><span style="color:#00C600">l</span><span style="color:#FF0000">e<br>
</span></b><span style="font-size:10pt;color:#000000"></span><span style="font-size:10pt"></span><span style="font-size:10pt"></span></span></p>
<tr><td><img src="images/ranks/rank_sponsor.png" alt="" /></td></tr>
<!-- <tr><td><img src="{T_THEME_PATH}/images/online.png" width="64" height="64" alt="" /></td></tr> -->
</table>
</td>
<td class="row-post-body" valign="top">
<table width="100%" cellspacing="5">
<tr>
<td>
<div class="nav"><a href="link"><img src="{T_IMAGESET_PATH}/sitelogo_small.png" alt="" /></a></div>
<table width="100%" cellspacing="0">
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr><td class="spacer" colspan="2"><img src="{T_THEME_PATH}/images/spacer.gif" width="1" height="4" alt="" /></td></tr>
<!-- ENDIF -->
google link go where you see red
u will need also upload a sponsor rank if you want in your root/images/ranks/
____________ We are the phpBBorg. Lower your Crackers. Your phpological and forumological distinctivness will be added to our own. Resistance if futile!
|
#7 Mon 20 Apr, 2009 15:31 |
|
Franc 
Joined: May 2009
Posts: 3
|
 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ć.
|
#8 Wed 27 May, 2009 16:47 |
|
Limun 
Joined: January 2008
Posts: 1334
Location: ![[Censor] (Croatia) croatia.png](images/flags/croatia.png) [Censor]
|
 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ć. 
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
<!-- INCLUDE overall_header.html -->
<!-- INCLUDE breadcrumbs.html -->
<br />
<!-- IF S_FORUM_RULES -->
<div class="forumrules">
<!-- IF U_FORUM_RULES -->
<h3>{L_FORUM_RULES}</h3><br />
<a href="{U_FORUM_RULES}"><b>{L_FORUM_RULES_LINK}</b></a>
<!-- ELSE -->
<h3>{L_FORUM_RULES}</h3><br />
{FORUM_RULES}
<!-- ENDIF -->
</div>
<br clear="all" />
<!-- ENDIF -->
<div id="pageheader">
<h2><a class="titles" href="{U_VIEW_TOPIC}">{TOPIC_TITLE}</a></h2>
<!-- IF MODERATORS -->
<p class="moderators"><!-- IF S_SINGLE_MODERATOR -->{L_MODERATOR}<!-- ELSE -->{L_MODERATORS}<!-- ENDIF -->: {MODERATORS}</p>
<!-- ENDIF -->
<!-- IF U_MCP -->
<p class="linkmcp">[ <a href="{U_MCP}">{L_MCP}</a> ]</p>
<!-- ENDIF -->
</div>
<br clear="all" /><br />
<div id="pagecontent">
<table width="100%" cellspacing="1">
<tr>
<td align="{S_CONTENT_FLOW_BEGIN}" valign="middle" nowrap="nowrap">
<!-- IF not S_IS_BOT -->
<!-- IF S_DISPLAY_POST_INFO --><a href="{U_POST_NEW_TOPIC}">{POST_IMG}</a> <!-- ENDIF -->
<!-- IF S_DISPLAY_REPLY_INFO --><a href="{U_POST_REPLY_TOPIC}">{REPLY_IMG}</a><!-- ENDIF -->
<!-- ENDIF -->
</td>
<!-- IF TOTAL_POSTS -->
<td class="nav" valign="middle" nowrap="nowrap"> {PAGE_NUMBER}<br /></td>
<td class="gensmall" nowrap="nowrap"> [ {TOTAL_POSTS} ] </td>
<td class="gensmall" width="100%" align="{S_CONTENT_FLOW_END}" nowrap="nowrap"><!-- INCLUDE pagination.html --></td>
<!-- ENDIF -->
</tr>
</table>
<div><div class="tbl-h-l"><div class="tbl-h-r"><div class="tbl-h-c"><div class="tbl-title"><h4><a href="{U_VIEW_TOPIC}">{TOPIC_TITLE}</a></h4></div></div></div></div>
<table class="tablebg" width="100%" cellpadding="0" cellspacing="0">
<tr>
<td class="cat">
<table width="100%" cellspacing="0">
<tr>
<td class="nav" nowrap="nowrap">
<!-- IF not S_IS_BOT -->
<!-- IF U_WATCH_TOPIC --><img src="{T_IMAGESET_PATH}/post_page_find.png" alt="{L_WATCH_TOPIC}" style="vertical-align:middle;" /> <a href="{U_WATCH_TOPIC}" title="{L_WATCH_TOPIC}">{L_WATCH_TOPIC}</a><!-- IF U_PRINT_TOPIC or U_EMAIL_TOPIC or U_BUMP_TOPIC or U_BOOKMARK_TOPIC --> | <!-- ENDIF --><!-- ENDIF -->
<!-- IF U_BOOKMARK_TOPIC --><img src="{T_IMAGESET_PATH}/post_book.png" alt="{L_BOOKMARK_TOPIC}" style="vertical-align:middle;" /> <a href="{U_BOOKMARK_TOPIC}" title="{L_BOOKMARK_TOPIC}">{L_BOOKMARK_TOPIC}</a><!-- IF U_PRINT_TOPIC or U_EMAIL_TOPIC or U_BUMP_TOPIC --> | <!-- ENDIF --><!-- ENDIF -->
<!-- IF U_PRINT_TOPIC --><img src="{T_IMAGESET_PATH}/post_print.png" alt="{L_PRINT_TOPIC}" style="vertical-align:middle;" /> <a href="{U_PRINT_TOPIC}" title="{L_PRINT_TOPIC}">{L_PRINT_TOPIC}</a><!-- IF U_EMAIL_TOPIC or U_BUMP_TOPIC --> | <!-- ENDIF --><!-- ENDIF -->
<!-- IF U_EMAIL_TOPIC --><img src="{T_IMAGESET_PATH}/post_email.png" alt="{L_EMAIL_TOPIC}" style="vertical-align:middle;" /> <a href="{U_EMAIL_TOPIC}" title="{L_EMAIL_TOPIC}">{L_EMAIL_TOPIC}</a><!-- IF U_BUMP_TOPIC --> | <!-- ENDIF --><!-- ENDIF -->
<!-- IF U_BUMP_TOPIC --><img src="{T_IMAGESET_PATH}/post_asterisk.png" alt="{L_BUMP_TOPIC}" style="vertical-align:middle;" /> <a href="{U_BUMP_TOPIC}" title="{L_BUMP_TOPIC}">{L_BUMP_TOPIC}</a><!-- ENDIF -->
<!-- ENDIF -->
</td>
<td class="nav" align="{S_CONTENT_FLOW_END}" nowrap="nowrap"><img src="{T_IMAGESET_PATH}/post_previous.png" alt="{L_VIEW_PREVIOUS_TOPIC}" style="vertical-align:middle;" /> <a href="{U_VIEW_OLDER_TOPIC}">{L_VIEW_PREVIOUS_TOPIC}</a><!-- IF U_VIEW_UNREAD_POST and not S_IS_BOT --> | <img src="{T_IMAGESET_PATH}/post_new.png" alt="{L_VIEW_UNREAD_POST}" style="vertical-align:middle;" /> <a href="{U_VIEW_UNREAD_POST}">{L_VIEW_UNREAD_POST}</a><!-- ENDIF --> | <a href="{U_VIEW_NEWER_TOPIC}">{L_VIEW_NEXT_TOPIC}</a> <img src="{T_IMAGESET_PATH}/post_next.png" alt="{L_VIEW_NEXT_TOPIC}" style="vertical-align:middle;" /></td>
</tr>
</table>
</td>
</tr>
<!-- IF S_HAS_POLL -->
<tr>
<td class="row2" align="center"><br clear="all" />
<form method="post" action="{S_POLL_ACTION}">
<table align="center" cellpadding="4" cellspacing="0" border="0">
<tr><td align="center"><span class="gen"><b>{POLL_QUESTION}</b></span><br /><span class="gensmall">{L_POLL_LENGTH}</span></td></tr>
<tr>
<td align="{S_CONTENT_FLOW_BEGIN}">
<table cellpadding="2" cellspacing="0" border="0">
<!-- BEGIN poll_option -->
<tr>
<!-- IF S_CAN_VOTE -->
<td>
<!-- IF S_IS_MULTI_CHOICE -->
<input type="checkbox" class="radio" name="vote_id[]" value="{poll_option.POLL_OPTION_ID}"<!-- IF poll_option.POLL_OPTION_VOTED --> checked="checked"<!-- ENDIF --> />
<!-- ELSE -->
<input type="radio" class="radio" name="vote_id[]" value="{poll_option.POLL_OPTION_ID}"<!-- IF poll_option.POLL_OPTION_VOTED --> checked="checked"<!-- ENDIF --> />
<!-- ENDIF -->
</td>
<!-- ENDIF -->
<td><span class="gen">{poll_option.POLL_OPTION_CAPTION}</span></td>
<!-- IF S_DISPLAY_RESULTS -->
<td dir="ltr">{POLL_LEFT_CAP_IMG}{poll_option.POLL_OPTION_IMG}{POLL_RIGHT_CAP_IMG}</td>
<td class="gen" align="{S_CONTENT_FLOW_END}"><b> {poll_option.POLL_OPTION_PERCENT} </b></td>
<td class="gen" align="center">[ {poll_option.POLL_OPTION_RESULT} ]</td>
<!-- IF poll_option.POLL_OPTION_VOTED -->
<td class="gensmall" valign="top"><b title="{L_POLL_VOTED_OPTION}">x</b></td>
<!-- ENDIF -->
<!-- ENDIF -->
</tr>
<!-- END poll_option -->
</table>
</td>
</tr>
<!-- IF S_CAN_VOTE -->
<tr><td align="center"><span class="gensmall">{L_MAX_VOTES}</span><br /><br /><input type="submit" name="update" value="{L_SUBMIT_VOTE}" class="btnlite" /></td></tr>
<!-- ENDIF -->
<!-- IF S_DISPLAY_RESULTS -->
<tr><td class="gensmall" colspan="4" align="center"><b>{L_TOTAL_VOTES} : {TOTAL_VOTES}</b></td></tr>
<!-- ELSE -->
<tr><td align="center"><span class="gensmall"><b><a href="{U_VIEW_RESULTS}">{L_VIEW_RESULTS}</a></b></span></td></tr>
<!-- ENDIF -->
</table>
{S_HIDDEN_FIELDS}
</form>
</td>
</tr>
<!-- ENDIF -->
</table>
<div class="tbl-f-l"><div class="tbl-f-r"><div class="tbl-f-c"> </div></div></div></div>
<!-- BEGIN postrow -->
<!-- IF postrow.S_FIRST_ROW -->
<div><div class="tbl-h-l"><div class="tbl-h-r"><div class="tbl-h-c"><div class="tbl-title"><h4><a href="{U_VIEW_TOPIC}">{TOPIC_TITLE}</a></h4></div></div></div></div>
<table class="tablebg" width="100%" cellpadding="0" cellspacing="0">
<tr>
<th>{L_AUTHOR}</th>
<th>{L_MESSAGE}</th>
</tr>
<!-- ENDIF -->
<tr>
<!-- IF postrow.S_IGNORE_POST -->
<td class="row-post-top" valign="top" colspan="2" align="center"><span class="gensmall"><!-- IF postrow.S_FIRST_UNREAD --><a name="unread"></a><!-- ENDIF --><a name="p{postrow.POST_ID}"></a>{postrow.L_IGNORE_POST}</span></td>
<!-- ELSE -->
<td class="row-post-top" align="center" valign="middle">
<!-- IF postrow.S_FIRST_UNREAD --><a name="unread"></a><!-- ENDIF --><a name="p{postrow.POST_ID}"></a>
<b class="postauthor"<!-- IF postrow.POST_AUTHOR_COLOUR --> style="color:{postrow.POST_AUTHOR_COLOUR}"<!-- ENDIF -->>{postrow.POST_AUTHOR}</b>
</td>
<td class="row-post-top" width="100%">
<table width="100%" cellspacing="0">
<tr>
<!-- IF postrow.POST_ICON_IMG -->
<td><img src="{T_ICONS_PATH}{postrow.POST_ICON_IMG}" width="{postrow.POST_ICON_IMG_WIDTH}" height="{postrow.POST_ICON_IMG_HEIGHT}" alt="" title="" /></td>
<!-- ENDIF -->
<td class="gensmall" width="100%"><div style="float:{S_CONTENT_FLOW_BEGIN};"> <b>{L_POST_SUBJECT}:</b> {postrow.POST_SUBJECT}</div><div style="float:{S_CONTENT_FLOW_END};"><!-- IF S_IS_BOT --> {postrow.MINI_POST_IMG} <!-- ELSE --> <a href="{postrow.U_MINI_POST}">{postrow.MINI_POST_IMG}</a> <!-- ENDIF --><b>{L_POSTED}:</b> {postrow.POST_DATE} </div></td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="row-post-body" valign="top">
<table cellspacing="4" align="center" width="150">
<!-- IF postrow.ONLINE_IMG -->
<tr><td>{postrow.ONLINE_IMG}</td></tr>
<!-- ENDIF -->
<!-- IF postrow.RANK_TITLE -->
<tr><td class="postdetails">{postrow.RANK_TITLE}</td></tr>
<!-- ENDIF -->
<!-- IF postrow.RANK_IMG -->
<tr><td>{postrow.RANK_IMG}</td></tr>
<!-- ENDIF -->
<!-- IF postrow.POSTER_AVATAR -->
<tr><td>{postrow.POSTER_AVATAR}</td></tr>
<!-- ENDIF -->
</table>
<span class="postdetails">
<!-- IF postrow.POSTER_JOINED --><br /><b>{L_JOINED}:</b> {postrow.POSTER_JOINED}<!-- ENDIF -->
<!-- IF postrow.POSTER_POSTS != '' --><br /><b>{L_POSTS}:</b> {postrow.POSTER_POSTS}<!-- ENDIF -->
<!-- IF postrow.POSTER_FROM --><br /><b>{L_LOCATION}:</b> {postrow.POSTER_FROM}<!-- ENDIF -->
<!-- IF postrow.S_PROFILE_FIELD1 -->
<!-- Use a construct like this to include admin defined profile fields. Replace FIELD1 with the name of your field. -->
<br /><b>{postrow.PROFILE_FIELD1_NAME}:</b> {postrow.PROFILE_FIELD1_VALUE}
<!-- ENDIF -->
<!-- BEGIN custom_fields -->
<br /><b>{postrow.custom_fields.PROFILE_FIELD_NAME}:</b> {postrow.custom_fields.PROFILE_FIELD_VALUE}
<!-- END custom_fields -->
</span>
</td>
<td class="row-post-body" valign="top">
<table width="100%" cellspacing="5">
<tr>
<td>
<!-- IF postrow.S_POST_UNAPPROVED or postrow.S_POST_REPORTED -->
<table width="100%" cellspacing="0">
<tr>
<td class="gensmall"><!-- IF postrow.S_POST_UNAPPROVED --><span class="postapprove">{UNAPPROVED_IMG} <a href="{postrow.U_MCP_APPROVE}">{L_POST_UNAPPROVED}</a></span> <!-- ENDIF --> <!-- IF postrow.S_POST_REPORTED --><span class="postreported">{REPORTED_IMG} <a href="{postrow.U_MCP_REPORT}">{L_POST_REPORTED}</a></span><!-- ENDIF --></td>
</tr>
</table>
<br clear="all" />
<!-- ENDIF -->
<div class="postbody">{postrow.MESSAGE}</div>
<!-- IF postrow.S_HAS_ATTACHMENTS -->
<br clear="all" /><br />
<table class="tablebg" width="100%" cellpadding="0" cellspacing="0">
<tr><td class="row3"><b class="genmed">{L_ATTACHMENTS}: </b></td></tr>
<!-- BEGIN attachment -->
<tr>
<!-- IF postrow.attachment.S_ROW_COUNT is even --><td class="row2"><!-- ELSE --><td class="row1"><!-- ENDIF -->{postrow.attachment.DISPLAY_ATTACHMENT}</td>
</tr>
<!-- END attachment -->
</table>
<!-- ENDIF -->
<!-- IF postrow.S_DISPLAY_NOTICE -->
<span class="gensmall error"><br /><br />{L_DOWNLOAD_NOTICE}</span>
<!-- ENDIF -->
<!-- IF postrow.SIGNATURE -->
<div class="postbody"><br />_________________<br />{postrow.SIGNATURE}</div>
<!-- ENDIF -->
<!-- IF postrow.EDITED_MESSAGE or postrow.EDIT_REASON -->
<!-- IF postrow.EDIT_REASON -->
<br /><br />
<table class="tablebg" width="100%" cellpadding="0" cellspacing="0">
<tr><td class="row3"><span class="gensmall">{postrow.EDITED_MESSAGE}</span></td></tr>
<tr><td class="row2"><span class="genmed">{postrow.EDIT_REASON}</span></td></tr>
</table>
<!-- ELSE -->
<br /><br />
<span class="gensmall">{postrow.EDITED_MESSAGE}</span>
<!-- ENDIF -->
<!-- ENDIF -->
<!-- IF postrow.BUMPED_MESSAGE -->
<span class="gensmall">{postrow.BUMPED_MESSAGE}</span>
<!-- ENDIF -->
<!-- IF not postrow.S_HAS_ATTACHMENTS --><br clear="all" /><br /><!-- ENDIF -->
<table width="100%" cellspacing="0">
<tr valign="middle">
<td class="gensmall" align="{S_CONTENT_FLOW_END}">
<!-- IF not S_IS_BOT -->
<!-- IF postrow.U_REPORT --><a href="{postrow.U_REPORT}"><img src="{T_IMAGESET_PATH}/post_exclamation.png" alt="{L_REPORT_POST}" title="{L_REPORT_POST}" /></a> <!-- ENDIF -->
<!-- IF postrow.U_INFO --><a href="{postrow.U_INFO}"><img src="{T_IMAGESET_PATH}/post_information.png" alt="{L_VIEW_INFO}" title="{L_VIEW_INFO}" /></a> <!-- ENDIF -->
<!-- IF postrow.U_WARN --><a href="{postrow.U_WARN}"><img src="{T_IMAGESET_PATH}/post_warning.png" alt="{L_WARN_USER}" title="{L_WARN_USER}" /></a> <!-- ENDIF -->
<!-- ENDIF -->
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="row-post-bottom" align="center"><a href="#top"><img src="{T_IMAGESET_PATH}/arrow_up.{$MG_BUTTONS_EXTENSION}" alt="{L_BACK_TO_TOP}" title="{L_BACK_TO_TOP}" /></a> <a href="#bottom"><img src="{T_IMAGESET_PATH}/arrow_down.{$MG_BUTTONS_EXTENSION}" alt="" title="" /></a></td>
<td class="row-post-bottom"><div class="gensmall" style="float:{S_CONTENT_FLOW_BEGIN};"> <!-- IF postrow.U_PROFILE --><a href="{postrow.U_PROFILE}">{PROFILE_IMG}</a> <!-- ENDIF --> <!-- IF postrow.U_PM --><a href="{postrow.U_PM}">{PM_IMG}</a> <!-- ENDIF --> <!-- IF postrow.U_EMAIL --><a href="{postrow.U_EMAIL}">{EMAIL_IMG}</a> <!-- ENDIF --> </div> <div class="gensmall" style="float: {S_CONTENT_FLOW_END};"><!-- IF not S_IS_BOT --><!-- IF postrow.U_DELETE --><a href="{postrow.U_DELETE}">{DELETE_IMG}</a> <!-- ENDIF --><!-- IF postrow.U_EDIT --><a href="{postrow.U_EDIT}">{EDIT_IMG}</a> <!-- ENDIF --> <!-- IF postrow.U_QUOTE --><a href="{postrow.U_QUOTE}">{QUOTE_IMG}</a> <!-- ENDIF --> <!-- ENDIF --> </div></td>
</tr>
<!-- ENDIF -->
<tr><td class="spacer" colspan="2"><img src="{T_THEME_PATH}/images/spacer.gif" width="1" height="4" alt="" /></td></tr>
<!-- IF postrow.S_FIRST_ROW == 2 -->
<td class="row-post-body" valign="top">
<table cellspacing="4" align="center" width="150">
<tr><td class="postdetails">
<p align="center"><span style="font-family:Courier New;font-size:18pt"><span style="color:#0000FF"><b>G</span><span style="color:#FF0000">o</span><span style="color:#E6E600">o</span><span style="color:#0000FF">g</span><span style="color:#00C600">l</span><span style="color:#FF0000">e<br>
</span></b><span style="font-size:10pt;color:#000000"></span><span style="font-size:10pt"></span><span style="font-size:10pt"></span></span></p>
<tr><td><img src="images/ranks/rank_sponsor.png" alt="" /></td></tr>
<!-- <tr><td><img src="{T_THEME_PATH}/images/online.png" width="64" height="64" alt="" /></td></tr> -->
</table>
</td>
<td class="row-post-body" valign="top">
<table width="100%" cellspacing="5">
<tr>
<td>
<div class="nav"><script type="text/javascript"><!--
google_ad_client = "pub-1713752550567073";
/* 728x90, created 04/03/09 */
google_ad_slot = "4559235076";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>
<table width="100%" cellspacing="0">
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr><td class="spacer" colspan="2"><img src="{T_THEME_PATH}/images/spacer.gif" width="1" height="4" alt="" /></td></tr>
<!-- ENDIF -->
<!-- END postrow -->
<tr><td class="cat-bottom" colspan="2"><form name="viewtopic" method="post" action="{S_TOPIC_ACTION}"><span class="gensmall">{L_DISPLAY_POSTS}:</span> {S_SELECT_SORT_DAYS} <span class="gensmall">{L_SORT_BY}</span> {S_SELECT_SORT_KEY} {S_SELECT_SORT_DIR} <input class="btnlite" type="submit" value="{L_GO}" name="sort" /></form></td></tr>
</table>
<div class="tbl-f-l"><div class="tbl-f-r"><div class="tbl-f-c"> </div></div></div></div>
<table width="100%" cellspacing="1">
<tr>
<td align="{S_CONTENT_FLOW_BEGIN}" valign="middle" nowrap="nowrap">
<!-- IF not S_IS_BOT -->
<!-- IF S_DISPLAY_POST_INFO --><a href="{U_POST_NEW_TOPIC}">{POST_IMG}</a> <!-- ENDIF -->
<!-- IF S_DISPLAY_REPLY_INFO --><a href="{U_POST_REPLY_TOPIC}">{REPLY_IMG}</a><!-- ENDIF -->
<!-- ENDIF -->
</td>
<!-- IF TOTAL_POSTS -->
<td class="nav" valign="middle" nowrap="nowrap"> {PAGE_NUMBER}<br /></td>
<td class="gensmall" nowrap="nowrap"> [ {TOTAL_POSTS} ] </td>
<td class="gensmall" width="100%" align="{S_CONTENT_FLOW_END}" nowrap="nowrap"><!-- INCLUDE pagination.html --></td>
<!-- ENDIF -->
</tr>
</table>
</div>
<div id="pagefooter"></div>
<br clear="all" />
<!-- INCLUDE breadcrumbs.html -->
<!-- IF S_DISPLAY_ONLINE_LIST -->
<br clear="all" />
<div><div class="tbl-h-l"><div class="tbl-h-r"><div class="tbl-h-c"><div class="tbl-title"><h4>{L_WHO_IS_ONLINE}</h4></div></div></div></div>
<table class="tablebg" width="100%" cellpadding="0" cellspacing="0">
<tr><td class="row1"><p class="gensmall">{LOGGED_IN_USER_LIST}</p></td></tr>
<tr><td class="cat-bottom"> </td></tr>
</table>
<div class="tbl-f-l"><div class="tbl-f-r"><div class="tbl-f-c"> </div></div></div></div>
<!-- ENDIF -->
<br clear="all" />
<table width="100%" cellspacing="1">
<tr>
<td width="45%" align="{S_CONTENT_FLOW_BEGIN}" valign="top" nowrap="nowrap"><!-- IF S_TOPIC_MOD --><form method="post" action="{S_MOD_ACTION}"><span class="gensmall">{L_QUICK_MOD}:</span> {S_TOPIC_MOD} <input class="btnlite" type="submit" value="{L_GO}" /></form><!-- ENDIF --></td>
<td width="20%" align="{S_CONTENT_FLOW_END}"><span class="gensmall"> </span></td>
<td width="35%" align="{S_CONTENT_FLOW_END}" valign="top" nowrap="nowrap"><div class="tablebg" style="padding-right:5px;"><span class="gensmall"><!-- BEGIN rules -->{rules.RULE}<br /><!-- END rules --></span></div></td>
</tr>
</table>
<br clear="all" />
<table width="100%" cellspacing="0">
<tr>
<td><!-- IF S_DISPLAY_SEARCHBOX --><!-- INCLUDE searchbox.html --><!-- ENDIF --></td>
<td align="{S_CONTENT_FLOW_END}"><!-- INCLUDE jumpbox.html --></td>
</tr>
</table>
<!-- INCLUDE overall_footer.html -->
____________ We are the phpBBorg. Lower your Crackers. Your phpological and forumological distinctivness will be added to our own. Resistance if futile!
|
#9 Wed 27 May, 2009 18:46 |
|
Franc 
Joined: May 2009
Posts: 3
|
 Re: Google Adsense Style Milky Way
Limun, thank you.
Yes, not working for me on boZuntu style.
Anyway, thanks!
|
#10 Wed 27 May, 2009 23:50 |
|
Daggers 
Joined: November 2006
Posts: 87
Location:  Manchester
|
 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.
____________ MY BRAIN HURTS
|
#11 Thu 25 Jun, 2009 08:29 |
|
spydie 
Joined: December 2008
Posts: 1796
Location:  In the Boxes
|
 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.
____________ Out of Order
|
#12 Thu 25 Jun, 2009 15:18 |
|
|
Page 1 of 1
|
Was this topic useful?
Was this topic useful?
Link this topic |
URL |
|
BBCode |
|
HTML |
|
Similar Topics
Similar Topics
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
|
|
|
|