https://www.icyphoenix.com/viewtopic.php?f=32&t=3403 ----------------------------------- sunwater Sun 06 Jan, 2008 20:19 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: ----------------------------------- Mighty Gorgon Tue 08 Jan, 2008 22:03 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: ----------------------------------- Psygnosis Tue 01 Apr, 2008 07:28 Re: Google Adsense Style Milky Way ----------------------------------- I have the exact same problem. Can you help us? ----------------------------------- Mighty Gorgon Sun 06 Apr, 2008 23:09 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. ----------------------------------- BluffMaster Sun 28 Dec, 2008 07:17 Re: Google Adsense Style Milky Way ----------------------------------- OPEN viewtopic_body.html SEARCH FOR: [code linenumbers=false][/code] ADD BEFORE: [code linenumbers=false]
GOOGLE ADSENSE CODE GOES HERE
[/code] Replace "GOOGLE ADSENSE CODE GOES HERE" with your ad code. I think the 728*90 Horizontal ad works best. :v: [b]Be sure to backup the original file before saving changes![/b] @MG, i think this could be what you were looking for: [url=http://www.phpbb.com/community/viewtopic.php?f=15&t=306680]Inline Banner Ad ----------------------------------- ch4ever Mon 20 Apr, 2009 13:42 Re: Google Adsense Style Milky Way ----------------------------------- That didn't work in milky way any other idea please [quote user="BluffMaster" post="35167"]OPEN viewtopic_body.html SEARCH FOR: [code linenumbers=false][/code] ADD BEFORE: [code linenumbers=false]
GOOGLE ADSENSE CODE GOES HERE
[/code] Replace "GOOGLE ADSENSE CODE GOES HERE" with your ad code. I think the 728*90 Horizontal ad works best. :v: [b]Be sure to backup the original file before saving changes![/b] @MG, i think this could be what you were looking for: [url=http://www.phpbb.com/community/viewtopic.php?f=15&t=306680]Inline Banner Ad[/quote] ----------------------------------- Limun Mon 20 Apr, 2009 15:31 Re: Google Adsense Style Milky Way ----------------------------------- try this made in 5 min OPEN viewtopic_body.html find add [b]before[/b] [spoiler]

Google

[color=red][/color]
[/spoiler] google link go where you see red u will need also upload a sponsor rank if you want in your root/images/ranks/ [img]http://www.icyphoenix.com/files/images/3336/20_4.png[/img] :wink: ----------------------------------- Franc Wed 27 May, 2009 16:47 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: ----------------------------------- Limun Wed 27 May, 2009 18:46 Re: Google Adsense Style Milky Way ----------------------------------- [quote user="Franc" post="39873"]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:[/quote] open your [b]viewtopic_body.html[/b] of style milky way (PS. if you use diferent style this code is not ok) and replace all with this [spoiler]

{L_FORUM_RULES}


{L_FORUM_RULES_LINK}

{L_FORUM_RULES}


{FORUM_RULES}



{POST_IMG}  {REPLY_IMG}  {PAGE_NUMBER}
  [ {TOTAL_POSTS} ] 

{TOPIC_TITLE}

  {L_WATCH_TOPIC} {L_WATCH_TOPIC} |  {L_BOOKMARK_TOPIC} {L_BOOKMARK_TOPIC} |  {L_PRINT_TOPIC} {L_PRINT_TOPIC} |  {L_EMAIL_TOPIC} {L_EMAIL_TOPIC} |  {L_BUMP_TOPIC} {L_BUMP_TOPIC} {L_VIEW_PREVIOUS_TOPIC} {L_VIEW_PREVIOUS_TOPIC} | {L_VIEW_UNREAD_POST} {L_VIEW_UNREAD_POST} | {L_VIEW_NEXT_TOPIC} {L_VIEW_NEXT_TOPIC}

{POLL_QUESTION}
{L_POLL_LENGTH}
checked="checked" /> checked="checked" /> {poll_option.POLL_OPTION_CAPTION} {POLL_LEFT_CAP_IMG}{poll_option.POLL_OPTION_IMG}{POLL_RIGHT_CAP_IMG}  {poll_option.POLL_OPTION_PERCENT}  [ {poll_option.POLL_OPTION_RESULT} ] x
{L_MAX_VOTES}

{L_TOTAL_VOTES} : {TOTAL_VOTES}
{L_VIEW_RESULTS}
{S_HIDDEN_FIELDS}
 

{TOPIC_TITLE}

{L_AUTHOR} {L_MESSAGE}
{postrow.L_IGNORE_POST} style="color:{postrow.POST_AUTHOR_COLOUR}">{postrow.POST_AUTHOR}
 {L_POST_SUBJECT}: {postrow.POST_SUBJECT}
 {postrow.MINI_POST_IMG}  {postrow.MINI_POST_IMG} {L_POSTED}: {postrow.POST_DATE} 
{postrow.ONLINE_IMG}
{postrow.RANK_TITLE}
{postrow.RANK_IMG}
{postrow.POSTER_AVATAR}

{L_JOINED}: {postrow.POSTER_JOINED}
{L_POSTS}: {postrow.POSTER_POSTS}
{L_LOCATION}: {postrow.POSTER_FROM}
{postrow.PROFILE_FIELD1_NAME}: {postrow.PROFILE_FIELD1_VALUE}
{postrow.custom_fields.PROFILE_FIELD_NAME}: {postrow.custom_fields.PROFILE_FIELD_VALUE}
{UNAPPROVED_IMG} {L_POST_UNAPPROVED} {REPORTED_IMG} {L_POST_REPORTED}

{postrow.MESSAGE}


{L_ATTACHMENTS}:
{postrow.attachment.DISPLAY_ATTACHMENT}


{L_DOWNLOAD_NOTICE}

_________________
{postrow.SIGNATURE}


{postrow.EDITED_MESSAGE}
{postrow.EDIT_REASON}


{postrow.EDITED_MESSAGE} {postrow.BUMPED_MESSAGE}

{L_REPORT_POST} {L_VIEW_INFO} {L_WARN_USER}
{L_BACK_TO_TOP} 
 {PROFILE_IMG} {PM_IMG} {EMAIL_IMG}  
{DELETE_IMG} {EDIT_IMG} {QUOTE_IMG}  

Google
{L_DISPLAY_POSTS}: {S_SELECT_SORT_DAYS} {L_SORT_BY} {S_SELECT_SORT_KEY} {S_SELECT_SORT_DIR} 
 
{POST_IMG}  {REPLY_IMG}  {PAGE_NUMBER}
  [ {TOTAL_POSTS} ] 


{L_WHO_IS_ONLINE}

{LOGGED_IN_USER_LIST}

 
 

{L_QUICK_MOD}: {S_TOPIC_MOD}
 
{rules.RULE}

[/spoiler] [img]http://www.icyphoenix.com/files/images/3336/googleadsese.png[/img] ----------------------------------- Franc Wed 27 May, 2009 23:50 Re: Google Adsense Style Milky Way ----------------------------------- Limun, thank you. Yes, not working for me on boZuntu style. Anyway, thanks! ----------------------------------- Daggers Thu 25 Jun, 2009 08:29 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 add before [/quote] 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. ----------------------------------- spydie Thu 25 Jun, 2009 15:18 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.