phpBB - Create a Vertical Cell or Pane on the Left Side of the Forum for Google AdSense phpbb -建立一个纵向的细胞或窗格在左侧该论坛的申请G oogleA 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局,可以用来容纳一个Google AdSense摩天大楼或宽幅摩天大楼的广告。

Due to Google AdSense’s terms and conditions, the AdSense ads shouldn’t appear on every page.由于Google的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.网页不应该有任何Google 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.除了违反Google的AdSense的条款和条件,您可能会发现该广告将不会得到良好的结果,在这些网页上,因为没有足够的内容,提供有意义的广告。

So, the best place to put the Google AdSense ads is on the index page, the forum page, and the topic page.所以,最好的地方,把Google 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.因此,为每个这些文件的,左边的垂直细胞需要加以补充,以添加Google 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.左边的细胞将包含Google 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 ) < /一> < /运输署>
</tr> < /的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 Google 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 ) < /一> < /运输署>
</tr> < /的TR >
</table> < /表>
<table width=”100%” border=”0″><tr><td valign=”top”> <table width="100%" border="0"> <tr> <td valign="top">
Google AdSense Code Google AdSense的代码
</td> < /运输署>
<td width=”100%” valign=”top”> <td width="100%" valign="top">

Replace the words Google AdSense Code with your actual Google AdSense code.改为Google AdSense的代码与您的实际Google 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> < /的TR > < /表>

This section of code should now looks like this:本节的代码现在应该看起来像这样:

</td> < /运输署>
</tr></table> < /的TR > < /表>
<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 Google 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 Google 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.由于上述情况,改为Google AdSense的代码与实际的Google AdSense代码。

Locate this line (last line):找到这条线(上线) :

</table> < /表>

BELOW this line, include this code:下面这条线,包括此代码:

</td> < /运输署>
</tr></table> < /的TR > < /表>

This section of code should now look like this:本节的代码现在应该看起来就像这样:

</table> < /表>
</td> < /运输署>
</tr></table> < /的TR > < /表>

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 Google 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 Google 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.由于上述情况,记得要改为Google AdSense的代码与实际的Google AdSense代码。

Locate this line (last line in the file):找到这条线(上线的档案) :

</table> < /表>

BELOW this line, include this code:下面这条线,包括此代码:

</td> < /运输署>
</tr></table> < /的TR > < /表>

This section of code should now look like this:本节的代码现在应该看起来就像这样:

</table> < /表>
</td> < /运输署>
</tr></table> < /的TR > < /表>

Google AdSense Colour Code for Standard Colours of phpBB subSilver Forum Google 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.还有的Google广告,造型及海报信息,再加上邮政本身,所有前往全国各地的网页。

The modification with Wide Skycraper Google AdSense ads looks perfect in screen resolution of 1024×768.修改具有广泛skycraper Google 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 我的数字生活论坛 .



12 Responses to “phpBB - Create a Vertical Cell or Pane on the Left Side of the Forum for Google AdSense” 12回应“ phpbb -建立一个纵向的细胞或窗格中的左边论坛的G oogleA dSense”

  1. DarlersPT darlerspt
    November 24th, 2006 23:47 2006年11月24日23时47分
    1

    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.或给我一个链接到官方网站与这个计划。

  2. hillbilly
    January 7th, 2007 16:34 2007年1月7日16时34分
    2

    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. thx ,条例草案。

  3. Mikey Spike穗的Mikey
    April 6th, 2007 06:05 2007年4月6日6时05分
    3

    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. i woul爱地看到,您如何添加一个链接全国烨,和一个搜索框。 Adding Kontera would be nice too.加入kontera会很好过。 Glad somebody out there understands this stuff.很高兴有人在那里了解这东西。

    Cheers, M.欢呼声中,米

  4. Mikey Spike穗的Mikey
    April 9th, 2007 03:20 2007年4月9日3时20分
    4

    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

  5. hyteresaw
    April 19th, 2007 00:58 2007年4月19日0时58分
    5

    One old american man win in lotto 250 000 000$.一岁的美国男子在赢得乐透二五零零零零零零零元。
    I want win money too!!!!!!!!!!aaaa我想赢得的钱太多!!!!!!!!!! aaaa
    Give me money!给我钱!

  6. xiphoneguyx
    September 10th, 2007 20:37 2007年9月10日20时37分
    6

    Hi just coming to forum for first time.喜只是来论坛的第一次。
    Having a look and finding many good posts.有一个期待和寻找了许多很好的职位。

    Thank you.谢谢您。
    xiphoneguyx

  7. Ryan Mullin瑞安穆林
    September 11th, 2007 04:39 2007年9月11日4时39分
    7

    Thank you for this post it was very helpful.谢谢你这个职位是非常有帮助。 I could not have implemented adsense the way I wanted with out this.我不能实施的AdSense方式,我想与此。

  8. Jamesbismo jamesbismo
    October 15th, 2007 10:04 2007年10月15日10时04分
    8

    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 [ /图]

    Bah, anyway, anyone else have probs with these douches?杜巴,无论如何,任何人都probs与这些douches ?

  9. hollywoodheidi
    October 20th, 2007 06:58 2007年10月20日6时58分
    9

    Hi!嗨! I just found this forum and it looks really cool.我刚刚找到这个论坛看来真的很酷。

    Now, I gotta run off and read some posts.现在,我的宝贝,运行小康,并宣读了一些职位。 : )

  10. Jesse杰西
    March 12th, 2008 02:48 2008年3月12日2时48分
    10十月

    Thanks, the code worked!非常感谢,代码工作!

  11. ooooo
    March 26th, 2008 00:33 2008年3月26日0时33分
    11十一

    [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 。

    ICQ 432-992 ICQ的432-992

  12. aljaska
    June 9th, 2008 17:13 2008年6月9日17时13分
    12十二

    дорогие родители!! дорогие родители !
    хочу предложить вам свои услуги в качестве инструктора по динамической гимнастике с детьми от 0 до 1года;по плаванью и нырянию в любом возрасте.обучу вас работе с детьми.индивидуальная разработка спортивных комплексов и тренажеров.консультации по слингам и закаливанию.Сертификат РАЕН с правом на работу инструктором по динамической гимнастике и плаванию с новорожденными.Плавание с новорожденными, обучение плаванию младенцев, грудничковое плавание, наныривание, обучение плаванью детей, малыши плавают. хочу предложить вам свои услуги в качестве инструктора по динамической гимнастике с детьми от 0 до一года ; по плаванью и нырянию в любом возрасте.обучу вас работе с детьми.индивидуальная разработка спортивных комплексов и тренажеров.консультации по слингам и закаливанию.сертификат раен с правом на работу инструктором по динамической гимнастике и плаванию с новорожденными.плавание с новорожденными , обучение плаванию младенцев , грудничковое плавание , наныривание , обучение плаванью детей , малыши плавают 。
    egorchenko(собака)inbox.ru叶戈尔琴科( собака ) inbox.ru
    тел 8 926 186 15 74 тел八九二六一八六一五七四
    ICQ 236491607 ICQ的236491607
    Елена елена

Leave a Reply离开的答复

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> 您可以使用这些标签:的<a href="" title=""> <abbr title=""> <acronym title="">的<b> <blockquote cite=""> <cite>的<code> <删除日期时间= “ ” >的<em>的<i> <q cite=""> <strike>的<strong>

Subscribe without commenting订阅无评论


Custom Search

New Articles新的条款,

Incoming Search Terms for the Article传入的搜索条件文章

Inbox Mass Mailer 2007 phpbb 收件箱大规模梅勒2007年phpbb - - phpbb3 adsense phpbb3的AdSense - - phpbb adwords phpbb的AdWords - - phpbb3 sidebar phpbb3栏 - - PHPBB3 ADVERTS phpbb3广告 - - create sidebar in phpbb 创建工具栏在phpbb - - phpbb adsense skyscraper phpbb的AdSense摩天大楼 - - phpbb best adsense phpbb最好的AdSense - - phpbb3 how to programm side boxes phpbb3如何在程序方面盒 - - table phpbb 表phpbb - - placing google ads on phpbb 放置Google广告phpbb - - phpbb3 ελληνικα terms and condition phpbb3 ελληνικα的条款及条件 - - create sponsors box phpbb3 建立提案国方块phpbb3 - - forum table out of line in phpbb 论坛表脱节,在phpbb - - Insert a verticle line in a table 插入一个立式线在一个表 - - phpbb style fix subsilver avatar on left phpbb风格修复subsilver阿梵达对左 - - vertical google ads 垂直Google广告 - - add a Skyscraper adsense on my forum 新增的摩天大楼的AdSense我的论坛 - - googleads phpbb googleads phpbb - - how to insert cell at top of table 如何插入细胞在上方的表 - - picasa phpbb3 code Picasa的phpbb3代码 - - right skyscraper in phpbb3 正确的摩天大楼在phpbb3 - - Google ads in phpBB2 Google广告在phpbb2 - - vertical google images 垂直Google图片 - - añadir adsense en bbphp 3 añadir的AdSense英文bbphp 3 - - phpbb2 table width phpbb2表的宽度 - - phpbb adsense example phpbb的AdSense为例, - - phpbb3 adsense skyscraper phpbb3的AdSense摩天大楼 - - how to align center phpbb board 如何使中心phpbb局 - - how to create menu bar in top on phpbb 如何创建菜单栏在顶部就phpbb - - phpbb3 adsense vertical phpbb3的AdSense垂直 - - phpbb temlates for ads phpbb temlates广告 - - phpbb3 adsense skycraper phpbb3的AdSense skycraper - - ads on right side or left side of phpbb3 广告的右侧或左侧, phpbb3 - - kontera link+phpbb3 kontera链接+ phpbb3 - - phpbb3+kontera links phpbb3 + kontera链接 - - phpbb ads on side phpbb的广告方 - - phpbb table image phpbb表形象 - - phpbb forum insert table phpbb论坛插入表格 - - subsilver phpbb won't change color? subsilver phpbb不会改变颜色? - - how to insert adsense on phpbb 2 如何插入AdSense的phpbb 2 - - how to create .tpl template 如何创建。第三方物流范本 - - icq 432-992 ICQ的432-992 - - locate index_body.tpl phpbb 找到index_body.tpl phpbb - - phpbb free templates for forums to add google ads phpbb免费的模板,为论坛添加Google广告 - - phpbb color side lines phpbb彩色边线 - - there is a black line on the left of my table cell microsoft word 有一个黑线在左边我的表细胞的Microsoft Word - - adding advertisements to phpbb forum 加入广告phpbb论坛 - - phpbb + insert google ads phpbb +插入Google广告 - - vertical ad box in phpbb 垂直的广告框在phpbb - -