phpBB - Create a Vertical Cell or Pane on the Left Side of the Forum for Google AdSense phpBB -創建一個垂直的電池或窗格對左邊論壇谷歌的A dSense
This step by step guide will add a vertical cell / pane on the left hand side of the phpBB board, which can be used to accomodate a Google AdSense Skyscraper or Wide Skyscraper ads.這一步一步指南將新增一條垂直細胞/窗格左側的phpBB板,可以用來容納谷歌AdSense的摩天大樓或寬幅摩天大樓廣告。
Due to Google AdSense’s terms and conditions, the AdSense ads shouldn’t appear on every page.由於谷歌的AdSense的條款和條件, AdSense廣告不應該出現在每個網頁上。 The pages that shouldn’t have any Google AdSense ads includes, but not limited to, such as log-in page, member-lists and search-results pages.該網頁不應該有任何谷歌AdSense廣告包括,但不僅限於,如登錄網頁,成員名單和搜索結果頁面。 Apart from violating Google AdSense’s terms and conditions, you may found that the ads won’t get good results in these pages because there is insufficient content to deliver meaningful ads.除了違反谷歌的AdSense的條款和條件,您可能會發現,廣告將不會取得好成績的這些網頁,因為沒有足夠的內容,提供有意義的廣告。
So, the best place to put the Google AdSense ads is on the index page, the forum page, and the topic page.因此,最好的地方,使谷歌的AdSense廣告是索引網頁,論壇頁面,專題頁面。
The layout of these pages is controlled by the following (.tpl) template files:佈置這些網頁是由以下( 。第三方物流)模板文件:
index_body.tpl - For the index page. index_body.tpl -用於索引頁。
viewforum_body.tpl - For the forum page. viewforum_body.tpl -論壇頁面。
viewtopic_body.tpl - For the topic page. viewtopic_body.tpl -對於這個專題網頁。
So for each of these files, a left side vertical cell needs to be added in order to add the Google AdSense code.因此,針對這些文件,左側垂直細胞需要增加,以增加谷歌的AdSense代碼。
These files can be found at the forum web server in this directory:這些文件可在Web服務器論壇在此目錄:
templates/subSilver模板/ subSilver
These files are text files.這些文件是文本文件。 Open the files in any text editor, make the changes, then save them.打開文件在任何文本編輯器,進行更改,然後保存它們。 If you downloaded them to edit them, you will need to upload the modified versions to the same templates/subSilver directory.如果你下載他們編輯,您將需要上傳修改版本相同的模板/ subSilver目錄。
Basically, the following changes will add a table with two cells to each page.基本上,下面的變化將增加一個表有兩個細胞的每一頁。 The left cell will contain the Google AdSense ads.左細胞將包含谷歌AdSense廣告。 The right cell will contain the forum information.正確的細胞將包含論壇的信息。
index_body.tpl index_body.tpl
Open index_body.tpl in any text editor.打開index_body.tpl在任何文本編輯器。
Locate these lines in the file (roughly lines 12, 13, 14):找到這些檔案中(約線12 , 13 , 14 ) :
<a href=”{U_SEARCH_UNANSWERED}” mce_href=”{U_SEARCH_UNANSWERED}” class=”gensmall”>{L_SEARCH_UNANSWERED}</a></td>的<a href="{U_SEARCH_UNANSWERED}" mce_href="{U_SEARCH_UNANSWERED}" class="gensmall"> ( L_SEARCH_UNANSWERED ) “ / 1 ” “ /運輸署”
</tr> “ /文”
</table> “ /表”
BELOW these lines, insert this code:低於這些線,插入此代碼:
<table width=”100%” border=”0″><tr><td valign=”top”> <table width="100%" border="0"> <tr> <td valign="top">
Google AdSense Code 谷歌AdSense代碼
</td> “ /運輸署”
<td width=”100%” valign=”top”> <td width="100%" valign="top">
This section of code should now looks like this:本節的代碼現在應該看起來像這樣:
<a href=”{U_SEARCH_UNANSWERED}” mce_href=”{U_SEARCH_UNANSWERED}” class=”gensmall”>{L_SEARCH_UNANSWERED}</a></td>的<a href="{U_SEARCH_UNANSWERED}" mce_href="{U_SEARCH_UNANSWERED}" class="gensmall"> ( L_SEARCH_UNANSWERED ) “ / 1 ” “ /運輸署”
</tr> “ /文”
</table> “ /表”
<table width=”100%” border=”0″><tr><td valign=”top”> <table width="100%" border="0"> <tr> <td valign="top">
Google AdSense Code 谷歌AdSense代碼
</td> “ /運輸署”
<td width=”100%” valign=”top”> <td width="100%" valign="top">
Replace the words Google AdSense Code with your actual Google AdSense code.改為谷歌的AdSense代碼為您的實際谷歌AdSense代碼。
Locate these lines (near the bottom):找到這些線路(底部) :
<table cellspacing=”3″ border=”0″ align=”center” cellpadding=”0″> <table cellspacing="3" border="0" align="center" cellpadding="0">
<tr>
<td width=”20″ align=”center”><img src=”templates/subSilver/images/folder_new_big.gif” mce_src=”templates/subSilver/images/folder_new_big.gif” alt=”{L_NEW_POSTS}”/></td> <td width="20" align="center"> <img src="templates/subSilver/images/folder_new_big.gif" mce_src="templates/subSilver/images/folder_new_big.gif" alt="{L_NEW_POSTS}"/> “ /運輸署”
ABOVE these lines, insert this code:上述這些方針,插入此代碼:
</td> “ /運輸署”
</tr></table> “ /文” “ /表”
This section of code should now looks like this:本節的代碼現在應該看起來像這樣:
</td> “ /運輸署”
</tr></table> “ /文” “ /表”
<table cellspacing=”3″ border=”0″ align=”center” cellpadding=”0″> <table cellspacing="3" border="0" align="center" cellpadding="0">
<tr>
<td width=”20″ align=”center”><img src=”templates/subSilver/images/folder_new_big.gif” mce_src=”templates/subSilver/images/folder_new_big.gif” alt=”{L_NEW_POSTS}”/></td> <td width="20" align="center"> <img src="templates/subSilver/images/folder_new_big.gif" mce_src="templates/subSilver/images/folder_new_big.gif" alt="{L_NEW_POSTS}"/> “ /運輸署”
viewforum_body.tpl viewforum_body.tpl
Open viewforum_body.tpl in any text editor.打開viewforum_body.tpl在任何文本編輯器。
Locate this line in the file (roughly line 15):找到這條線在檔案中(約15行) :
<table border=”0″ cellpadding=”4″ cellspacing=”1″ width=”100%” class=”forumline”> <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”> <table width="100%" border="0"> <tr> <td valign="top">
Google AdSense Code 谷歌AdSense代碼
</td> “ /運輸署”
<td width=”100%” valign=”top”> <td width="100%" valign="top">
This section of code should now looks like this:本節的代碼現在應該看起來像這樣:
<table width=”100%” border=”0″><tr><td valign=”top”> <table width="100%" border="0"> <tr> <td valign="top">
Google AdSense Code 谷歌AdSense代碼
</td> “ /運輸署”
<td width=”100%” valign=”top”> <td width="100%" valign="top">
<table border=”0″ cellpadding=”4″ cellspacing=”1″ width=”100%” class=”forumline”> <table border="0" cellpadding="4" cellspacing="1" width="100%" class="forumline">
As above, replace the words Google AdSense Code with actual Google AdSense Code.如上,改為谷歌的AdSense代碼與實際谷歌的AdSense代碼。
Locate this line (last line):找到這一行(最後一行) :
</table> “ /表”
BELOW this line, include this code:低於此線,包括此代碼:
</td> “ /運輸署”
</tr></table> “ /文” “ /表”
This section of code should now look like this:本節的代碼現在應該看起來如下:
</table> “ /表”
</td> “ /運輸署”
</tr></table> “ /文” “ /表”
viewtopic_body.tpl viewtopic_body.tpl
Open viewtopic_body in any text editor.打開viewtopic_body在任何文本編輯器。
Locate this line in the file (possibly line 1):找到這條線在檔案中(可能是1號線) :
<table class=”forumline” width=”100%” cellspacing=”1″ cellpadding=”3″ border=”0″> <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”> <table width="100%" border="0"> <tr> <td valign="top">
Google AdSense Code 谷歌AdSense代碼
</td> “ /運輸署”
<td width=”100%” valign=”top”> <td width="100%" valign="top">
This section of code should now looks like this:本節的代碼現在應該看起來像這樣:
<table width=”100%” border=”0″><tr><td valign=”top”> <table width="100%" border="0"> <tr> <td valign="top">
Google AdSense Code 谷歌AdSense代碼
</td> “ /運輸署”
<td width=”100%” valign=”top”> <td width="100%" valign="top">
<table class=”forumline” width=”100%” cellspacing=”1″ cellpadding=”3″ border=”0″> <table class="forumline" width="100%" cellspacing="1" cellpadding="3" border="0">
As above, remember to replace the words Google AdSense Code with the actual Google AdSense code.如上,請記住改為谷歌的AdSense代碼與實際谷歌AdSense代碼。
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> “ /文” “ /表”
Google AdSense Colour Code for Standard Colours of phpBB subSilver Forum 谷歌AdSense的顏色代碼為標準顏色的phpBB論壇subSilver
006699 darkish blue-green - for ad border and links. 006699 darkish藍綠色-廣告邊界和聯繫。
000000 black - for text. 000000黑色-文字。
EFEFEF light grey - for ad background. EFEFEF淺灰色-廣告的背景。
The only other issue is in the topic page at resolution 800×600 where the page is a little too wide for the screen.唯一的另一個問題是在該專題網頁,第800 × 600的網頁是有點太寬的屏幕上。 There’sa lot of competition for space there!有很多競爭的空間了! There’s the Google ads, avatars and poster info, plus the post itself, all going across the page.還有谷歌廣告,海報化身和信息,加上自己的職位,都會在網頁上。
The modification with Wide Skycraper Google AdSense ads looks perfect in screen resolution of 1024×768.修改寬Skycraper谷歌AdSense廣告看起來完美的屏幕分辨率1024 × 768 。 To accomodate lower screen resolution, it’s better to use narrower Skycraper instead of Wide Skycraper.為了適應較低的屏幕分辨率,最好使用窄Skycraper不是寬Skycraper 。
IMPORTANT : This is a machine translated page which is provided "as is" without warranty. 重要說明:這是一台機器翻譯網頁這是“原樣”提供,無保修。 Machine translation may be difficult to understand.機器翻譯可能很難理解。 Please refer to請參閱 original English article英文原文的文章 whenever possible.只要有可能。
Share and contribute or get technical support and help at共享和貢獻或獲得技術支持和幫助 My Digital Life Forums 我的數字生活論壇 . 。
Related Articles相關文章
- AdSense Help Group for AdSense Publishers AdSense支持小組的AdSense發布
- Install phpBB 2 in Windows XP running on Apache 2, PHP 5 and MySQL 4 phpBB 2安裝在Windows XP上運行的Apache 2 , PHP 5中和MySQL第4
- AdSense Login to Update to Google Account AdSense登錄信息更新為谷歌帳戶
- Add and Put AdSense Ads Code and JavaScript to Google Page Creator Website購買並提出AdSense廣告代碼和JavaScript來谷歌網頁製作網站
- How to Reset AdSense Password Not Associated with Google Account如何重置AdSense密碼不能與谷歌帳戶
- Hack to Add Forum Sponsors to vBulletin Categories and Forums哈克新增論壇贊助商,以vBulletin類別和論壇
- AdSense New Ads Style with Horizontal Image and Ad Links AdSense的新廣告風格與橫向的形象和廣告鏈接
- Change to ads about Feature in Google Adsense Ads變化的廣告約特徵谷歌AdSense廣告
- When was Google AdSense Launched?當被谷歌的AdSense發射?
- Google AdSense Policy Update Disallows Image Besides Ads Blocks谷歌AdSense政策不允許更新的形象除了廣告區塊

































November 24th, 2006 23:47 2006年十一月24日23:47
I’m looking for any information of XRUMER program.我要找的任何信息XRUMER計劃。
Can you help me?你能幫助我嗎? Or give me a link to the official site with this program.或給我一個鏈接到官方網站的這一計劃。
January 7th, 2007 16:34 2007年1月7號16:34
Hi.嗨。
Nice site design.尼斯網站設計。 Okay, I need your help.好吧,我需要你們的幫助。
So, I wanna make my little sister’s site, and I am looking for site template.所以,我想我的小姐姐的網站,我期待的網站模板。
Can you suggest some online store or other resource where I can find many site templates?你能提出一些網上商店或其他資源,我可以找到很多網站模板?
It would be better if it will be free:)這將是更好的,如果這將是免費的: )
I think many of us have personal sites, do you design it yourself?我想我們許多人的個人網站,你的設計嗎?
Thx, Bill. 172 ,比爾。
April 6th, 2007 06:05 2007年四月六日06:05
Thanks for this!!!感謝! Worked like a charm.工作像一個魅力。 I wish you had more adsense “fixes” like this for PHPBB.我希望你有更多的AdSense “雙規”這樣PHPBB 。 I am SHITE at editing the tpl and php files.我在編輯SHITE第三方物流和PHP文件。 I woul love to see how you add a link across the yop, and a search box.餘woul喜歡看見你如何添加一個鏈接全國燁,和一個搜索框。 Adding Kontera would be nice too.新增Kontera將是不錯了。 Glad somebody out there understands this stuff.有人高興有這個東西的理解。
Cheers, M.乾杯先生
April 9th, 2007 03:20 2007年4月9日03:20
One thing to watch out for though.有一件事要留意了。 Make sure that you watch out for the formatting on the parentheses marks.請務必小心格式化的括號標記。 You will end up with a funky looking table around the adsense and forum tables if you are not careful See this page for more details您會結束了一個時髦的期待表周圍的AdSense和論壇圓桌會議如果你不小心,見這個網頁,了解更多詳情
http://www.phpbb.com/community/viewtopic.php?f=1&t=530828&start=0&st=0&sk=t&sd=a
April 19th, 2007 00:58 2007年4月19日00:58
One old american man win in lotto 250 000 000$.一歲的美國男子比賽中樂透250 000 000美元。
I want win money too!!!!!!!!!!aaaa我想贏錢太多!!!!!!!!!! aaaa
Give me money!給我錢!
September 10th, 2007 20:37二○○七年9月10日20:37
Hi just coming to forum for first time.您好剛剛來到論壇的第一次。
Having a look and finding many good posts.有一個期待和尋找許多很好的職位。
Thank you.謝謝您。
xiphoneguyx
September 11th, 2007 04:39 2007年9月十一日4點39
Thank you for this post it was very helpful.感謝您對這個職位是非常有益的。 I could not have implemented adsense the way I wanted with out this.我不能實施的AdSense的方式與我想了這一點。
October 15th, 2007 10:04二○○七年10月15日10:04
Those bastards owe me money, they refuse to pay.這些惡棍欠我錢,他們拒絕支付。 Good job Shoemoney [img]http://funnycrud.net/thumbs.gif[/img]搞好Shoemoney [圖] http://funnycrud.net/thumbs.gif [ / IMG公司]
Bah, anyway, anyone else have probs with these douches?算了,反正別人都probs這些douches ?
October 20th, 2007 06:58 07年十月20日06:58
Hi!嗨! I just found this forum and it looks really cool.我剛剛找到這個論壇和它看起來非常酷。
Now, I gotta run off and read some posts.現在,我總得流失並閱讀一些職位。
March 12th, 2008 02:48 08年3月12日2點48分
Thanks, the code worked!謝謝,代碼工作!
March 26th, 2008 00:33 2008年3月26日00:33
[SIZE="4"]Предлагаю раскрутку вашего сайта методом массовой рассылки сообщений по форумам[/SIZE] [尺寸= “ 4 ” ] Предлагаю раскрутку вашего сайта методом массовой рассылки сообщений по форумам [ /尺寸]
[SIZE="2"][I][COLOR="Blue"] [尺寸= “ 2 ” ] [一] [彩色= “藍” ]
Основные преимущества перед обычной СПАМ-рассылкой[/I][/SIZE][/COLOR] Основные преимущества перед обычной СПАМ - рассылкой [ /一] [ /大小] [ /彩色]
[COLOR="DeepSkyBlue"]*В отличие от e-mail СПАМ’а данный метод продвижения сайта [B]не преследуется УК.РФ [/B] [彩色= “ DeepSkyBlue ” ] * В отличие от電子郵件СПАМ'а данный метод продвижения сайта [ B ]中не преследуется УК.РФ [ / B ]中
*Поднятие ТиЦ более чем на 70ед. * Поднятие ТиЦ более чем на 70ед 。
*Быстрая индексация сайта поисковиками * Быстрая индексация сайта поисковиками
[/COLOR] [ /彩色]
[COLOR="Blue"][SIZE="2"][I]Особенности.[/I][/SIZE][/COLOR] [彩色= “藍” ] [尺寸= “ 2 ” ] [一] Особенности 。 [ /一] [ /大小] [ /彩色]
[COLOR="Lime"]*Рассылка ведётся с помощью специализированного программного комплекса, [彩色= “石灰” ] * Рассылка ведётся с помощью специализированного программного комплекса ,
который позволяет обойти практически все типы защиты от автоматической регистрации такие как: [/COLOR] который позволяет обойти практически все типы защиты от автоматической регистрации такие как : [ /彩色]
[SIZE="1"][I] - Защита при помощи пиктокода (тикетов) типа “Введите число, которое видите” [尺寸= “ 1 ” ] [一] -З ащитап рип омощип иктокода( т икетов) т ипа“ В ведитеч исло, к отороев идите”
- Защита при помощи активации по e-mail. -З ащитап рип омощиа ктивациип о電子郵件。
- Защита при помощи некоторых Java-скриптов.[/I][/SIZE] -З ащитап рип омощин екоторыхJ ava的с криптов。 [ /一] [ /大小]
[COLOR="Lime"] [彩色= “石灰” ]
*Рассылка ведётся по [I]тематическим[/I] форумам, что позволяет получить максимально качественный траффик * Рассылка ведётся по [一] тематическим [ /一] форумам , что позволяет получить максимально качественный траффик
*Скорость рассылки ~4тыс. * Скорость рассылки 〜 4тыс 。 сообщений в час сообщений в час
[/COLOR] [ /彩色]
Цены: 15тыс. Цены : 15тыс 。 форумов-120$ форумов - 120 $
Просьба связываться со мной только через ICQ. Просьба связываться со мной только через聊天。
ICQ 432-992聊天432-992
June 9th, 2008 17:13 2008年6月9日17:13
дорогие родители!! дорогие родители !
хочу предложить вам свои услуги в качестве инструктора по динамической гимнастике с детьми от 0 до 1года;по плаванью и нырянию в любом возрасте.обучу вас работе с детьми.индивидуальная разработка спортивных комплексов и тренажеров.консультации по слингам и закаливанию.Сертификат РАЕН с правом на работу инструктором по динамической гимнастике и плаванию с новорожденными.Плавание с новорожденными, обучение плаванию младенцев, грудничковое плавание, наныривание, обучение плаванью детей, малыши плавают. хочу предложить вам свои услуги в качестве инструктора по динамической гимнастике с детьми от 0 до 1года ; по плаванью и нырянию в любом возрасте.обучу вас работе с детьми.индивидуальная разработка спортивных комплексов и тренажеров.консультации по слингам и закаливанию.Сертификат РАЕН с правом на работу инструктором по динамической гимнастике и плаванию с новорожденными.Плавание с новорожденными , обучение плаванию младенцев , грудничковое плавание , наныривание , обучение плаванью детей , малыши плавают 。
egorchenko(собака)inbox.ru egorchenko ( собака ) inbox.ru
тел 8 926 186 15 74 тел 8 926 186 15 74
ICQ 236491607聊天236491607
Елена