Web Hosting Vodahost    

Home Take The Royal Tour! Order Now Features Prices
Go Back   Web Hosting > Other Forums > Start your own community forum

Notices

Start your own community forum Discussions & Articles about how to create, promote and benefit from having your own community forum.

Reply
 
LinkBack Thread Tools
  #1  
Old 08-15-2006, 03:20 PM
lost-angel's Avatar
Sergeant First Class
 
Join Date: Mar 2006
Posts: 54
Default Add Google Ads to your Forum

I didnt write this step by step procedure but I found it so easy and useful that I just had to post it.
Lost-Angel

HOW TO
How to - Step by step instructions for phpBB 2.0.8 subSilver

This is how to add a Google Adsense skys****er down the left-hand side of your board.

Due to Google's conditions, you don't want ads appearing on every page, such as log-in pages, member-lists and search-results pages.

Apart from anything else, you would not get good results here because there is insufficient content to deliver meaningful ads.

The best place to put them is on the index page, the forum page, and the topic page.

The layout of these pages is controlled by (.tpl) template files.

index_body.tpl - For the index page.
viewforum_body.tpl - For the forum page.
viewtopic_body.tpl - For the topic page.

So you need to add your Google code into each of these files.

You will find these files in your forum webspace in this directory:

templates/subSilver

These are just text files. Open them in a text editor, make the changes, then save them. If you downloaded them to edit them, you will need to upload the finished versions to the same templates/subSilver directory.

Basically, what we are going to do is add a table with two cells to each page. The left cell will contain your Google ads. The right cell will contain the forum information.

##########
index_body.tpl
##########

Open this file in your text editor.

Locate these lines in the file (may be lines 12, 13, 14):

<a href="{U_SEARCH_UNANSWERED}" class="gensmall">{L_SEARCH_UNANSWERED}</a></td>
</tr>
</table>

BELOW these lines, include this code:

<table width="100%" border="0"><tr><td valign="top">
google code
</td>
<td width="100%" valign="top">

This section of code should now look like this:

<a href="{U_SEARCH_UNANSWERED}" class="gensmall">{L_SEARCH_UNANSWERED}</a></td>
</tr>
</table>
<table width="100%" border="0"><tr><td valign="top">
google code
</td>
<td width="100%" valign="top">

Replace the words "google code" with your actual Google code.

Here is an example of this section of code including my own Google code:

<a href="{U_SEARCH_UNANSWERED}" class="gensmall">{L_SEARCH_UNANSWERED}</a></td>
</tr>
</table>
<table width="100%" border="0"><tr><td valign="top">
<script type="text/javascript"><!--
google_ad_client = "pub-2034038845161531";
google_ad_width = 160;
google_ad_height = 600;
google_ad_format = "160x600_as";
google_ad_channel ="2542645218";
google_color_border = "006699";
google_color_bg = "EFEFEF";
google_color_link = "006699";
google_color_url = "006699";
google_color_text = "000000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</td>
<td width="100%" valign="top">

Locate these lines (near the bottom):

<table cellspacing="3" border="0" align="center" cellpadding="0">
<tr>
<td width="20" align="center"><img src="templates/subSilver/images/folder_new_big.gif" alt="{L_NEW_POSTS}"/></td>

ABOVE these lines, include this code:

</td>
</tr></table>

This section of code should now look like this:

</td>
</tr></table>
<table cellspacing="3" border="0" align="center" cellpadding="0">
<tr>
<td width="20" align="center"><img src="templates/subSilver/images/folder_new_big.gif" alt="{L_NEW_POSTS}"/></td>

Finished.

##############
viewforum_body.tpl
##############

Open this file in your text editor.

Locate this line in the file (may be line 15):

<table border="0" cellpadding="4" cellspacing="1" width="100%" class="forumline">

ABOVE this line, include this code:

<table width="100%" border="0"><tr><td valign="top">
google code
</td>
<td width="100%" valign="top">

This section of code should now look like this:

<table width="100%" border="0"><tr><td valign="top">
google code
</td>
<td width="100%" valign="top">
<table border="0" cellpadding="4" cellspacing="1" width="100%" class="forumline">

As before, just replace the words "google code" with your actual Google code.

Locate this line (last line in the file):

</table>

BELOW this line, include this code:

</td>
</tr></table>

This section of code should now look like this:

</table>
</td>
</tr></table>

Finished.

#############
viewtopic_body.tpl
#############

Open this file in your text editor.

Locate this line in the file (may be line 1:

<table class="forumline" width="100%" cellspacing="1" cellpadding="3" border="0">

ABOVE this line, include this code:

<table width="100%" border="0"><tr><td valign="top">
google code
</td>
<td width="100%" valign="top">

This section of code should now look like this:

<table width="100%" border="0"><tr><td valign="top">
google code
</td>
<td width="100%" valign="top">
<table class="forumline" width="100%" cellspacing="1" cellpadding="3" border="0">

As before, just replace the words "google code" with your actual Google code.

Locate this line (last line in the file):

</table>

BELOW this line, include this code:

</td>
</tr></table>

This section of code should now look like this:

</table>
</td>
</tr></table>

Finished.
http://www.phpbb.com/kb/article.php?article_id=218

Americuz Lost Angelz
__________________
Lost-Angelz.com ****: http://www.lost-angelz.com/Lost-Angelz****off.html
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2  
Old 08-15-2006, 11:17 PM
Vasili's Avatar
The Generalissimo
 
Join Date: Mar 2006
Posts: 10,349
Default Re: Add Google Ads to your Forum

Good Post for this solution!

It is always your choice to include this option in your Forum, but is not a standard practice.
Further research on the implications of Google advertising programs is recommended, however, prior any installation.
__________________
_____________________________________________________ .*.* . .* . * . * .*
My Websites... VodaHost Support....Soholaunch Support....osCommerce Support
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old 10-22-2006, 06:54 PM
Sergeant Major
 
Join Date: Aug 2006
Posts: 94
Default Re: Add Google Ads to your Forum

Does it have to be subSilver or can google adds be put on to other templates. (i'm using Aphrodite Green). Thought about some google ads across the top or down the side....

Is this possible??
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old 10-22-2006, 08:43 PM
Aliens Anonymous's Avatar
The Night Watchman
 
Join Date: Jan 2006
Location: Dark side of the moon
Posts: 1,189
Default Re: Add Google Ads to your Forum

personally i wouldn't bother there is a lot of better things out there you can put on your forum. other than advertising other peoples where's
__________________
Angies CyberScripts
Web Designs by the Boom Crew
The Showcase Now Closed
PhpBB and web design
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old 10-26-2006, 05:59 PM
lost-angel's Avatar
Sergeant First Class
 
Join Date: Mar 2006
Posts: 54
Default Re: Add Google Ads to your Forum

it does not have to be subsilver template... find the related files under the template that you are using... as your members increase ads can generate a substantial income... 5000 daily impressions with 10% click rate (500clicks at .05 per click) = $25... give or take a few pennies per click. Ofcourse a 10% click rate is extremely high... can expect about a 2% click rate on average... nothing wrong with ads... your visitor will eventually leave your site ad or no ad... may as well get paid upon exit... if your site is quality, that visitor will be back... like the terminator.
__________________
Lost-Angelz.com ****: http://www.lost-angelz.com/Lost-Angelz****off.html
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old 05-12-2007, 10:06 AM
Private First Class
 
Join Date: May 2007
Posts: 6
Thumbs up Re: Add Google Ads to your Forum

Hi,

Thanks for great informations.

I want to know can i use Others ads code Instead of Google codes in this method.

or, how i can put other ads code in my forum's top or bottom.

any suggestion.

looking for your answre.

thanks in advance.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old 05-27-2007, 01:13 AM
nzbr's Avatar
Major
 
Join Date: Dec 2006
Posts: 404
Default Re: Add Google Ads to your Forum

Hi everyone!

I've just finished my Forum. Being new at VH, and not knowing much like you guys about computers, it was quite a chalenge! But all the info and help made it much easier. Thanks.
I would like to know if adding Google (the ads) in my forum, it would help with my ranks in Google? (that's my priority at the moment)

Many thanks in advance,
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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 On
Pingbacks are On
Refbacks are On


All times are GMT +1. The time now is 05:12 AM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC7
2005-2009 VodaHost Web Hosting Your Perfect Web Host - All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176