Dynadot โ€” .com Registration $8.99

Phpbb??

Spaceship Spaceship
Watch
Impact
1
I am wondering how I can get a google adsense on my forum with phpbb
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
this depends on where you want the adsense to be shown. Lets say for arguments sake that you want it at the bottom of the page, you need to open

../path_to_phpbb/templates/subSilver/overall_footer.tpl. You can then put the adsense code in there. Almost every page uses the same footer file (overall_footer.tpl) so, all of your pages will be updated from editing this one file.

.tpl files are "template" files, and are just HTML, with a different ending. The syntax is the same, although if exploring the phpbb templates system, do not delete anything like this: [## TEXT ##] or this <-- ## TEXT ## -->. They are used by phpbb, and will make the board misfunction if removed.

Hope this helps :)
Tom
 
0
•••
I cant figure out why its so haard.... where do I find ../path_to_phpbb/templates/subSilver/overall_footer.tpl

someone did the adsense for me but someday I may wanna do it myself where do I find it....

Thanx
 
0
•••
open the phpbb directory, where you downloaded it to. You should see files like:

- index.php
- viewthread.php
- viewforum.php
- profile.php

etc...

there should be a folder named "templates" then a subfolder, usually, named "subSilver" (but could be anything, or there could me more than one folder). Open this (these) folder(s) and look for "overall_footer.tpl"
 
0
•••
ok thank u very much
 
0
•••
Actually to follow the google TOS you don't want it on your other pages besides the "Meat" of your forum. (So no Login, memberlist, ect.)

For this you want to modify these three files: templates/subsilver/index_body.tpl, viewforum_body.tpl and viewtopic_body.tpl.

Stick the google code in there and save it and then take a look where it is. If it's in a bad spot just try moving it somewhere else in the code. Like on my viewtopic_body.tpl I put it at the very top after the first </table>

As long as you watch what your doing and don't delete anything you can always go back and delete the google code if you broke something and reupload and it should be fine. Have fun playing around with it!

It may show only Non-Paying ads at first while google tries to figure out your phpbb forum (it doesn't like it much), but eventually it will show targeted ads.

More info here:
http://www.phpbb.com/kb/article.php?article_id=153
 
0
•••
thanx for the help guys,

I cant figure how to download anything, I uhave to be the dumbest person on the face of the earth... I'm trying to change the skins on emobb.com because some said it was too dark aaaaaaahhhhhhhhhhhh I swear Im gonna throw my keyboard good thing its cordless I should get some distance.....
 
0
•••
ask about it on the phpbb forums - www.phpbb.com/phpBB - i always have problems with styles! :)
 
0
•••
Unstoppable Domains
Domain Recover
DomainEasy โ€” Zero Commission
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back