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

Fri, Nov 23, 2007


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:

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:


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.


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>

BELOW these lines, include this code:

<table width=”100%” border=”0”><tr><td valign=”top”>
google code
<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>
<table width=”100%” border=”0”><tr><td valign=”top”>
google code
<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>
<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 type=”text/javascript”
<td width=”100%” valign=”top”>

Locate these lines (near the bottom):

<table cellspacing=”3” border=”0” align=”center” cellpadding=”0”>
<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:


This section of code should now look like this:

<table cellspacing=”3” border=”0” align=”center” cellpadding=”0”>
<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 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:

    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:
    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 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?


  6. jimbomel Says:

    Hi guys,

    I recently registered to this forum 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?


  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.


  9. Partrston Says:

    Hi everyone
    I would like to present interesting site:
    abilify suppliers [url=]abilify toronto[/url] adderall cheap [url=]adderall buying[/url] allegra online [url=]allegra buy[/url] chantix online [url=]chantix pharmacy[/url] claritin prix [url=]claritin online[/url] cymbalta pharmacy [url=]cymbalta nextday[/url] femara order [url=]femara order[/url] fioricet overnight [url=]fioricet online[/url] hoodia oral [url=]hoodia apotheke[/url] levaquin discount [url=]levaquin canada[/url] nexium online [url=]nexium rezept[/url] norvasc buying [url=]norvasc suppliers[/url] percocet prezzo [url=]percocet buying[/url] prilosec medikament [url=]prilosec fedex[/url] propecia canada [url=]propecia doctor[/url] provigil canada [url=]provigil online[/url] prozac tablets [url=]prozac discount[/url] seroquel drug [url=]seroquel fedex[/url] singulair effects [url=]singulair discount[/url] trazodone online [url=]trazodone prezzo[/url]
    To greet!

  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=]phone number belongs to discount[/url], 8-[[,

  13. Cheap sagittarius tattoo design Says:

    really great sites, thank you, sagittarius tattoo design free, 61529,

  14. lindsay lohan sex tape now Says:

    Your Site Is Great, 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=]>>> IIA ANOU 18 EAO <<<[/url][/color]

    [url=][img][/img][/url] [url=][img][/img][/url]
    [url=][img][/img][/url] [url=][img][/img][/url]

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

    [url=]????? ???????[/url]
    [url=]3gp ??? ?????[/url]
    [url=]???? ????? ????????????[/url]
    [url=]????? ???[/url]
    [url=]????????? ????? Blogs[/url]
    [url=]???? ??????????[/url]
    [url=]????????? ????????????[/url]
    [url=]???? ????? ????[/url]
    [url=]??????? ??????? ?????[/url]
    [url=]?????????? ??? 2 ????[/url]
    [url=]Hilton ????? ?????[/url]
    [url=]????? ?????? ?????[/url]
    [url=]????? ????? ??????[/url]
    [url=]????? ????? ????????? – ????? ??????[/url]
    [url=]??????? ???????? ???? ???????[/url]
    [url=]????? ???? ??????[/url]
    [url=]????? ?????? ??? Sms[/url]
    [url=]????? ??????? 16[/url]
    [url=]??????????? ????? ?????? ???????[/url]
    [url=]???????? ???? ?????? ???????[/url]
    [url=]???? ??????? ??????? Vbulletin[/url]
    [url=]C??????? ????? ??????[/url]
    [url=]??? ????? Site Li[/url]
    [url=]?????? ????? ??????[/url]
    [url=]???????? ???? ????? ?????? Blog[/url]
    [url=]??????????? Journal[/url]
    [url=]?????? ?????[/url]
    [url=]????? ???? ?????? ???????? – ????? ??????[/url]
    [url=]????? ????? ???????? ???????[/url]
    [url=]??? ????? ??????[/url]
    [url=]????? ?????? ????? ?????[/url]
    [url=]????? ???? ?????? – ????? ??????[/url]
    [url=]????????? ????? ???????[/url]
    [url=]????????? ?????[/url]
    [url=]?????? ????? ?????? Viewforum Php F[/url]
    [url=]???? ???? ????? ?????[/url]
    [url=]????? ???? ??????? ?????????[/url]
    [url=]??????? ????? ?????[/url]
    [url=]???? ??????? ????? ???????[/url]
    [url=]???????? ?????[/url]
    [url=]???????? ??? ????? ?????[/url]
    [url=]???? ????? ?????? Blog[/url]
    [url=]??????? ??? ??????????? ????????[/url]
    [url=]???? ?????? ????????[/url]
    [url=]???????? ???? ?????? Contex – ????? ??????[/url]
    [url=]??????? ????[/url]
    [url=]???? ?????? ????[/url]
    [url=]????? ??????[/url]
    [url=]??????? ???? ?????????[/url]
    [url=]??? ?????? ??????? ?????[/url]
    [url=]??????? ???????[/url]
    [url=]?????? ????? ??????[/url]
    [url=]??? ???? ??????[/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=]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=]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..