WAHM Forums

The WAHM community forum was created to be a place for work at home moms to share their ideas and stories. In the forum you can find information about work at home jobs, starting home businesses, avoiding scams, and surviving the WAHM lifestyle. In support of the WAHM community, WAHM.com also features instructional articles, easy recipes, as well as job and business listings tailored specifically to work at home opportunities.




View Full Version : how to put adsense on forum


rhondaklewis
01-16-2012, 03:02 PM
Does anyone know how to put adsense on smf forums? I have tried admod and maunually but ot did not work.
Can't find any of this code on my index.template.php
<body>';

// The logo, user information, news, and menu.
echo '
......

<table cellspacing=\"0\" cellpadding=\"0\" border=\"0\" align=\"center\" width=\"95%\" class=\"tborder\">

<br />', $context, '
</td>
</tr>


keeee691
01-17-2012, 10:41 AM
1. Go to Administration Control Panel. Click on STYLES, then
on Themes and then click on Edit, near the prosilver template.
At the bottom paste:

a body {
max-width: 1024px;
margin: 0px auto;
}
ul.forums1 {
background-color: #cddeee;
}
li.row1 {
border-top: 1px solid #FFFFFF;
}
dd.mali span {
display: block;
padding-left: 10px;
}
dd.veliki span {
display: block;
padding-left: 10px;
}


2. Go to Administration Control Panel. Click on STYLES, then
on Templates, and then click on Edit, near the prosilver
template.
3. Choose index_body.html Template file.

4. In the template editor find
<!-- INCLUDE forumlist_body.html -->

4.1. Before <!-- INCLUDE forumlist_body.html --> insert code:

<div class="forabg">
<div class="inner"><span class="corners-top"><span></span></span>
<ul class="topiclist">
<li class="header">
<dl class="icon">
<dt><a href="http://www.adsense4phpbb3.com/" title="adsense"
target="_blank">Ads</a></dt>
</dl>
</li>
</ul>
<ul class="topiclist forums1">
<li class="row1">
<dl class="icon1">
<dd class="mali"><span>
<iframe src="http://www.advertiseonphpbb3.info/linkads/t.html"width=200
height=90 frameborder=0 scrolling=auto></iframe></br>
<dd class="veliki"><span>
<script type="text/javascript"><!--
google_ad_client = "pub-XXX";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel = "";
google_color_border = "cddeee";
google_color_bg = "cddeee";
google_color_link = "10508b";
google_color_text = "4a5d73";
google_color_url = "ac0000";
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</span></dd>
</dl>
</li>
</ul>
<span class="corners-bottom"><span></span></span></div></div>

4.2. If you want to add Google Adsense Ads at the bottom paste
the same code after <!-- INCLUDE forumlist_body.html -->

REMEMBER TO CHANGE THE GOOGLE ADSENSE ID
(google_ad_client) TO YOUR OWN ID!!

AlltheGlitz
01-17-2012, 06:30 PM
ha! There isn't an easier way to post Adsense? I didn't understand one bit of that answer.


rhondaklewis
01-18-2012, 01:15 PM
Thank you Thank you Thank you it worked!

1. Go to Administration Control Panel. Click on STYLES, then
on Themes and then click on Edit, near the prosilver template.
At the bottom paste:

a body {
max-width: 1024px;
margin: 0px auto;
}
ul.forums1 {
background-color: #cddeee;
}
li.row1 {
border-top: 1px solid #FFFFFF;
}
dd.mali span {
display: block;
padding-left: 10px;
}
dd.veliki span {
display: block;
padding-left: 10px;
}


2. Go to Administration Control Panel. Click on STYLES, then
on Templates, and then click on Edit, near the prosilver
template.
3. Choose index_body.html Template file.

4. In the template editor find
<!-- INCLUDE forumlist_body.html -->

4.1. Before <!-- INCLUDE forumlist_body.html --> insert code:

<div class="forabg">
<div class="inner"><span class="corners-top"><span></span></span>
<ul class="topiclist">
<li class="header">
<dl class="icon">
<dt><a href="http://www.adsense4phpbb3.com/" title="adsense"
target="_blank">Ads</a></dt>
</dl>
</li>
</ul>
<ul class="topiclist forums1">
<li class="row1">
<dl class="icon1">
<dd class="mali"><span>
<iframe src="http://www.advertiseonphpbb3.info/linkads/t.html"width=200
height=90 frameborder=0 scrolling=auto></iframe></br>
<dd class="veliki"><span>
<script type="text/javascript"><!--
google_ad_client = "pub-XXX";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel = "";
google_color_border = "cddeee";
google_color_bg = "cddeee";
google_color_link = "10508b";
google_color_text = "4a5d73";
google_color_url = "ac0000";
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</span></dd>
</dl>
</li>
</ul>
<span class="corners-bottom"><span></span></span></div></div>

4.2. If you want to add Google Adsense Ads at the bottom paste
the same code after <!-- INCLUDE forumlist_body.html -->

REMEMBER TO CHANGE THE GOOGLE ADSENSE ID
(google_ad_client) TO YOUR OWN ID!!

rhondaklewis
01-18-2012, 07:16 PM
oops it didn't work, the ad mod just kicked in.Still thanks a lot.

keeee691
01-19-2012, 04:33 AM
oops it didn't work, the ad mod just kicked in.Still thanks a lot.
If it worked before it should now. One thing though the 3 ads rule with adsense.

I just thought about that, but if u google it, I am sure you can with other ad clients.

Good luck

keeee691
01-19-2012, 04:34 AM
ha! There isn't an easier way to post Adsense? I didn't understand one bit of that answer.

Not in a forum so it is automatic and that was easy lol.

no plugins for this type lol

rhondaklewis
01-19-2012, 11:29 PM
ha! There isn't an easier way to post Adsense? I didn't understand one bit of that answer.
What forum are you using SMF, vBulletin,phpBB or Vanilla?