Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 31-05-2009
Member
 
Join Date: May 2009
Posts: 4
how to put adsense code (Vertical Banner 120*160) in phpbb3

Hello To all,
I am new to this forum. I have recently launched PHPBB3 forum to share PC,Internet Broadband problem.Now I want to put Google Adsense vertical 120*160 banner to right hand side of Index page of my forum. I have already put Adsense code horizontally, but unable to do it vertically. Please help me.

Thanks in Advance.
Reply With Quote
  #2  
Old 01-06-2009
Member
 
Join Date: Mar 2008
Posts: 227
Re: how to put adsense code (Vertical Banner 120*160) in phpbb3

Here i will provide you the adsense code for your vertical banner.

<script type="text/javascript"> <! --
google_ad_client = "pub-xxxxxxxxxxxxxxxx";
google_ad_width = 160;
google_ad_height = 120;
google_ad_format = "160x120_as";
google_ad_type = "text_image";
google_ad_channel = "";
google_color_border = "d6e9ff";
google_color_bg = "FFFFFF";
google_color_link = "0000FF";
google_color_text = "999999";
google_color_url = "0000FF";
google_ui_features = "rc:6";
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
Reply With Quote
  #3  
Old 01-06-2009
Member
 
Join Date: May 2009
Posts: 4
Re: how to put adsense code (Vertical Banner 120*160) in phpbb3

I have code but don't know where to place it..

Last edited by abhishek : 01-06-2009 at 08:24 PM. Reason: External link removed
Reply With Quote
  #4  
Old 02-06-2009
Member
 
Join Date: Jun 2006
Posts: 620
Re: how to put adsense code (Vertical Banner 120*160) in phpbb3

To insert the adsense code into the fist post of a topic:

open viewtopic_body.html file in your styles/yourStyle folder and search for the following line:


After the following line:

<div class="content">{postrow.MESSAGE}</div>



Add the following:

<!-- IF postrow.S_FIRST_ROW -->

Your-Ad-Code-Here

<!-- ENDIF -->




After following Line:

title="{L_JABBER}"><span>{L_JABBER}</span></a></li><!-- ENDIF -->

</ul>



Add the following:

<!-- IF postrow.S_FIRST_ROW -->

Your-Ad-Code-Here

<!-- ENDIF -->
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "how to put adsense code (Vertical Banner 120*160) in phpbb3"
Thread Thread Starter Forum Replies Last Post
Need to know how secure phpBB3 is? Tramba-keshwar Technology & Internet 6 09-07-2011 10:47 PM
Monitor Google AdSense Account With Shock AdSense Fleming Technology & Internet 1 21-05-2009 09:49 PM
phpbb3 Forum in Wordpress Ron1 Technology & Internet 1 14-04-2009 07:11 PM
Where to get PHPBB3 Templates KaramChand Software Development 4 10-02-2009 07:38 PM
PHPBB3 permissions Gap meer Software Development 5 27-12-2008 07:05 PM


All times are GMT +5.5. The time now is 03:59 AM.