3rd Oct 2007, 03:28 PM
|
#1 (permalink)
|
| Administrator!
Join Date: 21 Apr 2003 Location: Penang
Posts: 29,545
Reputation: 2162 Rep Power: 56 | Adding Google Adsense to phpBB forum Was asked to do it for a phpBB forum. Googling was a tough one but finally managed to find it and customized it. So, for those who are looking for the same thing, this may help. It's for phpBB3 though. Quote:
I've experience adding Google Adsense to the Tech ARP Forum which is using the vBulletin quite a while ago.
Quite a while ago too, Adrian Wong, CEO of Tech ARP asked me whether it's possible to add Google Adsense to another forum which is using phpBB.
I was too busy then but managed to find some time yesterday to do it. I've not much experience in PHP, so that makes it quite a task to code something up. But fortunately, I'm quite good at googling. 
Not much straightforward stuffs in Google and phpBB forum though. Anyway, from many websites, I've managed to come up with something quite good. Early yesterday, I got the ads after first post working. Last night, I've managed to add the last post Google Adsense which was so simple that it never crossed my mind.
Hence, this post entry so that I can jot down what I did for quick reference and share with everyone who needs a quick fix to the problem at hand, that's to add Google Adsense after the first post and after the last post in every topic page. I wanted to add it to the index page as well, but thought it's not much of a point to do so and I heard many are saying that this violates Google TOS but some said it's not a problem, as not to have problems later, I'll leave it at that.
For the code... please head on to my blog as it's quite long. Add Google Adsense to phpBB First Post and Last Post Add Google Adsense To The phpBB Index Page |
__________________ | Intel Core 2 Duo E6850 @ 3.2Ghz | ASUS P5B-E Plus | G.SKILL 2x1GB DDR2 800 | 6 HDDs (2TB+ only ) | NVIDIA GeForce 7600GT | Dell E248WFP 24" Widescreen | Blog : Dashken's I-Blog
Gallery : Dashken's I-Paintings |
| |