Go Back   WAHM Forums - WAHM.com > Professions > WAHMs in Tech

Welcome to the WAHM Forums - WAHM.com.

Welcome to WAHM Forums

Already registered? Login above 

OR

To take advantage of all the site's features, become a member of the largest community of Work-At-Home Moms.

The advertising to the left will not show if you are a registered user.


Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 01-16-2012, 02:02 PM
WAHM Fanatic
 
Join Date: Nov 2006
Location: United States
Posts: 1,644
Default how to put adsense on forum

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>
Reply With Quote
Sponsored Links

This ad is not displayed to registered and logged-in members.
Register your free account today and become a member on WAHM!

  #2 (permalink)  
Old 01-17-2012, 09:41 AM
WAHM Regular
 
Join Date: Jul 2011
Posts: 67
Default coding for adsense

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!!
__________________
,
| Tech12.3org | Men at home site

Last edited by keeee691; 01-17-2012 at 10:00 AM.
Reply With Quote
  #3 (permalink)  
Old 01-17-2012, 05:30 PM
AlltheGlitz's Avatar
WAHM Regular
 
Join Date: Feb 2011
Posts: 45
Default

ha! There isn't an easier way to post Adsense? I didn't understand one bit of that answer.
Reply With Quote
  #4 (permalink)  
Old 01-18-2012, 12:15 PM
WAHM Fanatic
 
Join Date: Nov 2006
Location: United States
Posts: 1,644
Default

Thank you Thank you Thank you it worked!

Quote:
Originally Posted by keeee691 View Post
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!!
Reply With Quote
  #5 (permalink)  
Old 01-18-2012, 06:16 PM
WAHM Fanatic
 
Join Date: Nov 2006
Location: United States
Posts: 1,644
Default

oops it didn't work, the ad mod just kicked in.Still thanks a lot.
Reply With Quote
  #6 (permalink)  
Old 01-19-2012, 03:33 AM
WAHM Regular
 
Join Date: Jul 2011
Posts: 67
Default re

Quote:
Originally Posted by rhondaklewis View Post
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
__________________
,
| Tech12.3org | Men at home site
Reply With Quote
  #7 (permalink)  
Old 01-19-2012, 03:34 AM
WAHM Regular
 
Join Date: Jul 2011
Posts: 67
Default re

Quote:
Originally Posted by AlltheGlitz View Post
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
__________________
,
| Tech12.3org | Men at home site
Reply With Quote
  #8 (permalink)  
Old 01-19-2012, 10:29 PM
WAHM Fanatic
 
Join Date: Nov 2006
Location: United States
Posts: 1,644
Default

Quote:
Originally Posted by AlltheGlitz View Post
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?
Reply With Quote
 
This ad will disappear if you login

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off