RSS

Installing Adsense skyscraper to your phpbb2 forum {and earn money from your forum}

Fri, Nov 23, 2007

Tips

How to – Step by step instructions for phpBB 2.0.8 subSilver

This is how to add a Google Adsense skyscraper 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.
examples of how your ads will look:
INDEX
FORUM PAGE
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 = “160×600_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>

[Read More…]

, ,

This post was written by:

- who has written 290 posts on BT-G.com: The Everything Blog.

I'm a 22 year old guy blogging about things which I feel are important. Currently pursuing B.Tech in Biotechnology.

Contact the author

30 Comments For This Post

  1. Sathya Says:

    Thanks! I was searching around for a similar post, as I’ve to implement the same at my forum.
    PS: typo in post slug: it’s skyscraper, not scyscraper

  2. Mayank Says:

    Thanks.
    P.S. i dint notice that.thanks

  3. createmo Says:

    Thank you for your site ;)
    I made with photoshop backgrounds for myspace and youtube and even more
    my backgrounds:http://tinyurl.com/5b8ksl
    have a great day and thank you again!

  4. mrtruckster Says:

    Hello this is Mike from houston, you got a nice forum here with some good topics and I hope you can help me with some tehnical problems 
    Im getting a lot of popups when Im browsing the internet, sometimes even when Im not at the computer, I leave it on for
    an hour and when I get back I have 2-3 popups that have appeared from nowhere. How can I remove this? Im really not intrested
    in finding adult friends or downloading a new screen saver :D 

    Okay I hope you can give me any ideas, Im gonna check back to the forum in couple days to see what you have suggested, Bye! 

  5. jimbomel Says:

    Hi guys,

    I am new to this forum biotech-geek.com and hope that somebody can
    help me with the forex – I am looking for an introduction
    for beginners. I have already a little knowledge about shares. (Hope this is the right category.)

    Help is so much appreciated. Most important question: can a noob make money on the forex exchange market?

    Thanks,
    Jim

  6. jimbomel Says:

    Hi guys,

    I recently registered to this forum biotech-geek.com and hope that anybody can
    help me with the forex market – I am looking for an introduction
    for noobs. I have already a little knowledge about shares. (Hope this is the fitting category.)

    Any help is so much appreciated. Most important question: can a noob make money on the forex market?

    Thanks,
    Jim

  7. HSCharles Says:

    I have a flash website
    i’m looking for the script who shows google adsense on flash.
    how can i get it?

  8. TonyB Says:

    Hi Everyone,
    I have a carpet cleaning business in Houston,TX that was doing pretty good until the economy went bad, and with it my clientele. I have a website for the business but I dont
    know what I have to do the get it to show up in a search. Right now it’s somewhere in the yahoo/google netherworld (LOL).

    Is there someone on here that can give me some insight or know of anyone that coud give me insight on how I can get my local website on the front
    page of a Yahoo or Google search to increase my business without it costing me 5 or 10k $$$? If so please share with me.

    I thank you and my hungry over-eating children thank you.

    thanks,

  9. Partrston Says:

    Hi everyone
    I would like to present interesting site:
    abilify suppliers [url=http://doseabil.co.cc/]abilify toronto[/url] adderall cheap [url=http://doseadde.co.cc/]adderall buying[/url] allegra online [url=http://dosealle.co.cc/]allegra buy[/url] chantix online [url=http://dosechan.co.cc/]chantix pharmacy[/url] claritin prix [url=http://doseclar.co.cc/]claritin online[/url] cymbalta pharmacy [url=http://dosecymb.co.cc/]cymbalta nextday[/url] femara order [url=http://dosefema.co.cc/]femara order[/url] fioricet overnight [url=http://dosefior.co.cc/]fioricet online[/url] hoodia oral [url=http://dosehood.co.cc/]hoodia apotheke[/url] levaquin discount [url=http://doseleva.co.cc/]levaquin canada[/url] nexium online [url=http://dosenexi.co.cc/]nexium rezept[/url] norvasc buying [url=http://dosenorv.co.cc/]norvasc suppliers[/url] percocet prezzo [url=http://doseperc.co.cc/]percocet buying[/url] prilosec medikament [url=http://dosepril.co.cc/]prilosec fedex[/url] propecia canada [url=http://doseprop.co.cc/]propecia doctor[/url] provigil canada [url=http://doseprov.co.cc/]provigil online[/url] prozac tablets [url=http://doseproz.co.cc/]prozac discount[/url] seroquel drug [url=http://dosesero.co.cc/]seroquel fedex[/url] singulair effects [url=http://dosesing.co.cc/]singulair discount[/url] trazodone online [url=http://dosetraz.co.cc/]trazodone prezzo[/url]
    To greet!
    Bye

  10. LonInsope Says:

    This is the compiled list of go daddy coupons my entire IT group uses.

    Godaddy domain coupons:
    RAD7 : 30% off .com renewal domains, as many domains as you want
    RAD5 : 10% off any order
    RUSH3 : $7.49 domains
    RUSH1 : 10% off any order

    Godaddy hosting coupns:
    RUSH20 : 20% Off Hosting (1,2,3 yr accounts)
    RUSH1 : 10% Off Monthly hosting accounts

    More based on order size:
    BUCK2 : $5 off order of $30 or more
    BUCKOFF : $10 off order of $40 or more
    BUCK15 : 15% off order of $75 or more

    Unique coupons:
    MOPSSL : $12.99 SSL ( 56% Off )
    AUCTION12 : 50% Off Auction accounts

    These coupons never expire so print them.

    The only one I cannot find is a .net discount, anyone got one?

  11. kohls coupons Says:

    I agree with your point of view and I feel very attracted to it.

  12. phone number belongs to Says:

    best for you, phone number belongs to discount [url=http://www.wearediabetic.org/phonenumberbelongss/bio#1]phone number belongs to discount[/url], 8-[[,

  13. Cheap sagittarius tattoo design Says:

    really great sites, thank you, http://profiles.friendster.com/sagittariuo sagittarius tattoo design free, 61529,

  14. lindsay lohan sex tape now Says:

    Your Site Is Great, http://www.bloglines.com/blog/lindsaylohansextape Only lindsay lohan sex tape, szl,

  15. smartfixx Says:

    I smoked for several years. I realize it hurts my overall health therefore I wish to stop smoking though it is difficult. None of the quitting steps helped me. Then I stumbled upon the e-cigs. It has practically made all the difference. No more inhaling poisons feels awesome!

  16. wropyday Says:

    [color=red][url=http://000site.ru/go.php?sid=9]>>> IIA ANOU 18 EAO <<<[/url][/color]

    [url=http://000site.ru/go.php?sid=9][img]http://91.212.210.176/sites-images/movie/images/photos/100.jpg[/img][/url] [url=http://000site.ru/go.php?sid=9][img]http://91.212.210.176/sites-images/movie/images/photos/139.jpg[/img][/url]
    [url=http://000site.ru/go.php?sid=9][img]http://91.212.210.176/sites-images/movie/images/photos/108.jpg[/img][/url] [url=http://000site.ru/go.php?sid=9][img]http://91.212.210.176/sites-images/movie/images/photos/134.jpg[/img][/url]

    ??????? ??????
    ????????? ???? ?????
    ?????? ??????? ?????
    ???? ????? ??????
    ????? ????? ???????

    [url=http://me-me.posmotret-golaya.info/9-obmen-spermoi.html]????? ???????[/url]
    [url=http://square-qdtns.posmotret-golaya.info/7_3gp-gei.html]3gp ??? ?????[/url]
    [url=http://head-head.posmotret-golaya.info/qnn-seks-porno.html]???? ????? ????????????[/url]
    [url=http://fps-57.posmotret-golaya.info/6-stihi-hui.html]????? ???[/url]
    [url=http://city-yjqe.posmotret-golaya.info/11_shkolnica-lijet-blogs.html]????????? ????? Blogs[/url]
    [url=http://mes.posmotret-golaya.info/gyv-zhopa-negrityanki.html]???? ??????????[/url]
    [url=http://214-ghjjhq.posmotret-golaya.info/6-konchauscie-transeksualy.html]????????? ????????????[/url]
    [url=http://voice-voice.posmotret-golaya.info/4-zhopy-tetok-foto.html]???? ????? ????[/url]
    [url=http://rxnbkp.posmotret-golaya.info/dp-skachat-bolshie.html]??????? ??????? ?????[/url]
    [url=http://you.posmotret-golaya.info/fn-teleproekt-dom.html]?????????? ??? 2 ????[/url]
    [url=http://all-all.posmotret-golaya.info/8-hilton-porno.html]Hilton ????? ?????[/url]
    [url=http://year-evf.posmotret-golaya.info/ap-porno-onlain-inces.html]????? ?????? ?????[/url]
    [url=http://dtuah-because.posmotret-golaya.info/1-porno-video.html]????? ????? ??????[/url]
    [url=http://lot-jerstf.posmotret-golaya.info/]????? ????? ????????? – ????? ??????[/url]
    [url=http://vintage-ghn.posmotret-golaya.info/5_chastnoe-intimnoe.html]??????? ???????? ???? ???????[/url]
    [url=http://step-step.posmotret-golaya.info/10-sving-klub-kubana.html]????? ???? ??????[/url]
    [url=http://lip-lip.posmotret-golaya.info/9_porno-roliki-bez-sms.html]????? ?????? ??? Sms[/url]
    [url=http://307-fvc.posmotret-golaya.info/piu-golye-devushki-16.html]????? ??????? 16[/url]
    [url=http://arm-arm.posmotret-golaya.info/2-skandalnye-porno-filmy-skachat.html]??????????? ????? ?????? ???????[/url]
    [url=http://vmzkct-390.posmotret-golaya.info/bnt-analnyi-seks.html]???????? ???? ?????? ???????[/url]
    [url=http://76-pub.posmotret-golaya.info/9_seks-malchik-devochka-vbulletin.html]???? ??????? ??????? Vbulletin[/url]
    [url=http://leave-150.posmotret-golaya.info/4-cmotret-porno.html]C??????? ????? ??????[/url]
    [url=http://mrijaa-lie.posmotret-golaya.info/aro_gei-porno.html]??? ????? Site Li[/url]
    [url=http://slide-684.posmotret-golaya.info/om-orgazm-video.html]?????? ????? ??????[/url]
    [url=http://even-757.posmotret-golaya.info/4_analnyi-seks.html]???????? ???? ????? ?????? Blog[/url]
    [url=http://bqgzbj-can.posmotret-golaya.info/lvy_masturbacii-journal.html]??????????? Journal[/url]
    [url=http://him-him.posmotret-golaya.info/4_zhjenie-soska.html]?????? ?????[/url]
    [url=http://build.posmotret-golaya.info/]????? ???? ?????? ???????? – ????? ??????[/url]
    [url=http://qkru-full.posmotret-golaya.info/1-porno-anime.html]????? ????? ???????? ???????[/url]
    [url=http://806-ever.posmotret-golaya.info/10_gei-porno.html]??? ????? ??????[/url]
    [url=http://816-kzzyb.posmotret-golaya.info/4_pryamo-seichas.html]????? ?????? ????? ?????[/url]
    [url=http://part-601.posmotret-golaya.info/]????? ???? ?????? – ????? ??????[/url]
    [url=http://yaahf-836.posmotret-golaya.info/8_polnostu-golye-devochki.html]????????? ????? ???????[/url]
    [url=http://for-233.posmotret-golaya.info/3-hudenkie-popki.html]????????? ?????[/url]
    [url=http://house-house.posmotret-golaya.info/gr_onlain-porno.html]?????? ????? ?????? Viewforum Php F[/url]
    [url=http://ssb-577.posmotret-golaya.info/4-seks-foto-porno-golye.html]???? ???? ????? ?????[/url]
    [url=http://wear-586.posmotret-golaya.info/4-porno-foto-galerei-lesbiyanki.html]????? ???? ??????? ?????????[/url]
    [url=http://reliable-nye.posmotret-golaya.info/qvl-skachat-porno.html]??????? ????? ?????[/url]
    [url=http://art-art.posmotret-golaya.info/wgg-foto-devushek-golyh-aziatok.html]???? ??????? ????? ???????[/url]
    [url=http://hre.posmotret-golaya.info/we-lubiteli-seksa.html]???????? ?????[/url]
    [url=http://mile-mile.posmotret-golaya.info/sr-smotret-gei-porno-video.html]???????? ??? ????? ?????[/url]
    [url=http://537-dbseaz.posmotret-golaya.info/10_seks-porno-onlain-blog.html]???? ????? ?????? Blog[/url]
    [url=http://throw-throw.posmotret-golaya.info/2_pornuha-bez.html]??????? ??? ??????????? ????????[/url]
    [url=http://retro-retro.posmotret-golaya.info/9_anal-incest.html]???? ?????? ????????[/url]
    [url=http://ywqouw.posmotret-golaya.info/]???????? ???? ?????? Contex – ????? ??????[/url]
    [url=http://hear-qzpju.posmotret-golaya.info/nuk_krasivo-pisya.html]??????? ????[/url]
    [url=http://uintmk-pocket.posmotret-golaya.info/4_foto-sobaki-seks.html]???? ?????? ????[/url]
    [url=http://long-long.posmotret-golaya.info/1_popka-remnem.html]????? ??????[/url]
    [url=http://340-srcvb.posmotret-golaya.info/9-skachat-seks-chempionat.html]??????? ???? ?????????[/url]
    [url=http://story-story.posmotret-golaya.info/11_gde-kupit-detskoe-porno.html]??? ?????? ??????? ?????[/url]
    [url=http://360-hecy.posmotret-golaya.info/4_parnuha-alchevsk.html]??????? ???????[/url]
    [url=http://757-yun.posmotret-golaya.info/8-kupit-porno-pochtoi.html]?????? ????? ??????[/url]
    [url=http://154-cjy.posmotret-golaya.info/xws-gei-foto-roliki.html]??? ???? ??????[/url]

    ????? ?????? ?????
    lineage ?????
    ????? ?????
    ????? ??????
    ???????? ?????
    ???????? ???????
    ???? ???? ?????
    ????? ???? ?????
    ???????? ????? ?????
    ??????????? ?????
    ????????? ???? ?????
    ???????? ????
    ????? ?????
    ????? ???? ?????
    ????? ???? ????????
    ??????? ????? ???????
    ????? ????? ?????? ???? 2
    ???? ? ?????
    lunka ????? ??????
    ????????? ?????

  17. SpanosOnesst Says:

    There, under you can all communicate with and make the website of your dreams, guaranteed to apart in the punters, monetize your investment and admit you log a few zees z’s a tickled pink bunny eventually next year. Or perhaps you edify even-handed a lilliputian more of an explanation? I did, and here’s what I got.

    Indubitably the pitch differentiators within this consummate website directions are pacify of sailing, stoned briskness of era downloads, a undefiled and justified plan, functionality and the install everlastingly being viable with nauseating bellicose advertising seen as a detractor. Everybody of my chosen website is unmistakably:

    [url=http://www.fototurysta.pl/hotele-i-noclegi/co-o-promowaniu]pozycjonowanie stron[/url]

    What this revealed was that 73% commonplace inch of steersmanship as being the most clear spokesman when it comes to the unmatched website, 99% blossoming switch for assist and 49% functionality. Meantime, on the envisage haughtiness some 54% wanted a disinfected and abstinent layout, at most 0% were interested in Momentary display and other multimedia options (designers pirate note, entertain!) When it came to improvements that people would get to an existing instal, that was pliant: 19% would be it tune in to the skipper in sight of one’s pants faster and 68% up it easier to cross (I’m spotting a zone here, designers brave note again.)

    Of not later than all means, that means sentiment is a whit of taunt, but not much take to the to be expected maker upsetting to profit e leave alone a website activity discernible on list and to budget. But Rackspace believe they can better there as without strain exactly, and comprise developed an online adding clique using the SIRC criteria to reach a website’s performance against the well-defined website formula. You can evaluate manifest it gone in behalf of yourself here.

  18. Elene Vizcaino Says:

    My spouse and i were really thankful that Edward managed to deal with his basic research from your precious recommendations he was given using your weblog. It is not at all simplistic to just pick to be offering techniques which other people could have been trying to sell. And now we do know we now have the blog owner to be grateful to because of that. Most with the explanations you’ve produced, the straightforward internet site navigation, the friendships you assist to create – it’s all astonishing, and it’s truly facilitating our son in addition towards the family envision that that problem is pleasurable, and that’s incredibly mandatory. Thank you for all the pieces!

  19. apurorap Says:

    As a child of the sixties who was nurtured in Silicon Valley, his career merged the two strains in a way that reimagined business itself. And he did it as if he didn’t give a damn who he pissed off. He could bully underlings and corporate giants with the same contempt. But when he chose to charm, he was almost irresistible. His friend, Heidi Roizen, once gave advice to a fellow Apple employee that the only way to avoid falling prey to the dual attacks of venom and charm at all hours was not to answer the phone. That didn’t work, the employee said, because Jobs lived only a few blocks away. Jobs would bang on the door and not go away.
    But Steve Jobs was that talented, visionary and determined. He combined an innate understanding of technology with an almost supernatural sense of what customers would respond to. His conviction that design should be central to his products not only produced successes in the marketplace but elevated design in general, not just in consumer electronics but everything that aspires to the high end.

  20. Fabiola Embry Says:

    Exceptional specifics. I will write about this straightaway.

  21. monogamic Says:

    Your web-site came out way up during my analysis along with i will be stricken in what you could have prepared for this written content. I have to be presently diversifying my own seek out and as a consequence will not bring about a lot more, nonetheless, I have book marked your site and will be coming back to maintain up with any kind of approaching modifications. Easily enjoy it plus many thanks making it possible for my own opinion.

  22. wall cladding sydney Says:

    I actually still can’t quite feel that I could often be one of those reading the important recommendations found on your blog. My family and I are truly thankful on your generosity and for giving me the potential to pursue the chosen profession path. Thank you for the important information I got from your website.

  23. Kam Korwatch Says:

    I have been examinating out a few of your articles and i must say pretty clever stuff. I will definitely bookmark your blog.

  24. Loyd Tromble Says:

    F*ckin’ amazing issues here. I’m very glad to look your article. Thank you so much and i am having a look forward to touch you. Will you please drop me a mail?

  25. Rosalba Hiemstra Says:

    We absolutely love your blog and find the majority of your post’s to be exactly what I’m looking for. can you offer guest writers to write content in your case? I wouldn’t mind creating a post or elaborating on most of the subjects you write concerning here. Again, awesome web site!

  26. Shemale Live Says:

    Do you mind if I quote a few of your articles as long as I provide credit and sources back to your website? My blog is in the exact same niche as yours and my visitors would really benefit from a lot of the information you present here. Please let me know if this ok with you. Many thanks!

  27. Louis Vuitton Outlet Says:

    An impressive share, I just given this onto a colleague who was doing somewhat analysis on this. And he actually bought me breakfast because I found it for his smile. So let me reword that: Thanks for the treat! But yeah Thanks for spending the time to talk about this, I really feel strongly about it and enjoy reading far more on this subject. If feasible, as you become expertise, would you mind updating your weblog with much more specifics? It really is extremely helpful for me. Massive thumb up for this blog post!

  28. Olimpia Relyea Says:

    In the grand pattern of things you receive a B- with regard to effort and hard work. Where you confused us was in all the specifics. You know, people say, details make or break the argument.. And it could not be much more correct at this point. Having said that, permit me say to you exactly what did give good results. Your writing can be rather persuasive and this is possibly why I am taking the effort to opine. I do not make it a regular habit of doing that. Next, even though I can see the leaps in logic you make, I am not necessarily sure of how you seem to unite the details which inturn help to make your final result. For right now I will yield to your point however wish in the foreseeable future you link the facts much better.

  29. lvklkviardlzoe Says:

    [url=http://www.nikeonwholesale.com]cheap jordans[/url]

  30. brand management Says:

    I am extremely impressed with your writing skills as smartly as
    with the format on your weblog. Is that this a paid topic or did
    you modify it yourself? Either way stay up the excellent quality writing,
    it’s uncommon to peer a nice weblog like this one these days..