Google ads code placement help

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Scam Warning
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Locked
micsta
Registered User
Posts: 126
Joined: Tue Apr 22, 2008 11:11 am

Google ads code placement help

Post by micsta » Sun Oct 24, 2010 7:48 am

Can someone give me a quick hand to implement this code in to the following.

This is a recent post mod that I have on the main index page of my forum. I want to implement this skyscraper ad to align to the right hand side of the recent post mod in it's own table.


Here's a quick screenie of the mod and where I want the adsense code to display (the blue slashes on the right);
http://img225.imageshack.us/img225/24/86383974.jpg


Here's the original code for the recent post html file;

Code: Select all

<table class="tablebg" width="100%" cellspacing="1">
	<tr>
		<td class="cat" colspan="<!-- IF S_TOPIC_ICONS -->7<!-- ELSE -->6<!-- ENDIF -->"><span class="nav"><h4>{L_LP_TITLE}</h4></span></td>
	 
      </tr>

      <!-- <tr>
            <td class="cat" colspan="2"><h4>{L_LP_TITLE}</h4></td>
		<td class="catdiv" colspan="3">&nbsp;</td>
      </tr> -->
  
	<tr>
    	<!-- IF S_TOPIC_ICONS -->
			<th colspan="3">&nbsp;{L_TOPICS}&nbsp;</th>
		<!-- ELSE -->
			<th colspan="2">&nbsp;{L_TOPICS}&nbsp;</th>
		<!-- ENDIF -->
    	<th>&nbsp;{L_AUTHOR}&nbsp;</th>
		<th>{L_REPLIES}</th>
		<th>&nbsp;{L_VIEWS}&nbsp;</th>
		<th>&nbsp;{L_LP_REPLY_TITLE}&nbsp;</th>
	</tr>

	<!-- BEGIN latest_topics -->

		<tr>
			<td class="row1" width="46" align="center"><img src="./styles/subsilver2/imageset/recent_post.gif" /></td>
			<td class="row1 width="100%">
            <a title="{L_POSTED}: {latest_topics.LP_TOPIC_POSTTIME}" href="{latest_topics.LP_U_VIEW_TOPIC}" class="topictitle">{latest_topics.LP_FULL_TITLE}</a>
            </td>
            <td class="row1" width="130" align="center"><p class="topicauthor">{latest_topics.LP_TOPIC_STARTER}</td>
			<td class="row5" width="50" align="center"><p class="topicdetails">{latest_topics.LP_T_REPLIES}</p></td>
			<td class="row2" width="50" align="center"><p class="topicdetails">{latest_topics.LP_T_VIEWS}</p></td>
			<td class="row2" width="215" align="center">
				<p class="topicdetails" style="white-space: nowrap;">{latest_topics.LP_TOPIC_LASTPOSTTIME}</p>
				<p class="topicdetails">by&nbsp;{latest_topics.LP_TOPIC_LASTPOSTBY}
					<a href="{latest_topics.LP_U_VIEW_TOPIC}">{LAST_POST_IMG}</a>
				</p>
			</td>
		</tr>
		
        
     <!-- END latest_topics -->
     
	
</table>
Here's the google script;

Code: Select all

		<script type="text/javascript"><!--
google_ad_client = "pub-**********";
/* 120x600, created 10/24/10 */
google_ad_slot = "**********";
google_ad_width = 120;
google_ad_height = 600;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
My html skills are limited and your help would be greatly appreciated...

Pit$Bull
Former Team Member
Posts: 23099
Joined: Sat Dec 02, 2006 4:08 pm
Name: Can't Remember

Re: Google ads code placement help

Post by Pit$Bull » Sun Oct 24, 2010 8:51 am

There is no MOD support in this forum, you should seek help in the support topic for the MOD.

Locked

Return to “[3.0.x] Support Forum”