- Go to the forum control panel, Templates.
- If want to modify the ForumView, click on it and insert your Adsense code after the very first [BREADCRUMB], ie:
<%@ Register TagPrefix="am" TagName="ForumJump" Src="~/DesktopModules/NTForums/controls/af_forumjump.ascx"%>
<%@ Register TagPrefix="am" TagName="Stats" Src="~/DesktopModules/NTForums/controls/af_stats.ascx"%>
<%@ Register TagPrefix="am" TagName="WhosOnline" Src="~/DesktopModules/NTForums/controls/af_whosonline.ascx"%>
[BREADCRUMB]
<p align="center">
<script type="text/javascript"><!--
google_ad_client = "pub-8897283981585073";
/* RTC-ImgTxtMiddleContent 728x90, created 6/29/09 */
google_ad_slot = "0335233866";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</p>
[GROUPSECTION]
- If you want to modify the TopicView, click on it and insert your Adsense code in a new table row just before the end of the [TOPIC] section, ie:
<tr><td colspan="2" style="border: 1px solid #ccc;text-align:center">
<script type="text/javascript"><!--
google_ad_client = "pub-8897283981585073";
/* RTC-ImgTxtMiddleContent 728x90, created 6/29/09 */
google_ad_slot = "0335233866";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</td></tr>
[/TOPIC]
- If you want to modify the TopicsView, you’re on your own. Just follow the above examples.
Note: I did this with ActiveForums v3.7.0.12761.