homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Visit PubCon.com
Home / Forums Index / WebmasterWorld / Community Building and User Generated Content
Forum Library, Charter, Moderators: rogerd

Community Building and User Generated Content Forum

How to serve ads in a forum

 10:48 pm on Oct 18, 2005 (gmt 0)

I have a message board...any ideas how can I serve ads in the board. It's a standard phpbb board. I don't mean serve adsense, I mean is there a plugin or mod so that I can display at the top of any forum that pops opens 3 or 4 ads like adsense but not coming from google.

I haven't actually seen ads (adsense or not) displayed on a board so I don't even know what's possible.





 12:58 am on Oct 26, 2005 (gmt 0)

You'll have to edit the template or page code to insert ad code. For your ad rotator, you may find a plug in or you could use a generic ad rotation program like PHPAdsNew. More powerful programs will provide statistics, separate advertiser logins, etc.


 1:36 am on Oct 26, 2005 (gmt 0)


Regarding Adsense, I keep getting 'password' or 'forum/board' type ads served on the password protected forums, is there a way to have adsense send relevant ads? Once in a while, a relevant set of ads appear behind a protected page.

Thanks for the reply!


bradley phil

 12:38 pm on Oct 30, 2005 (gmt 0)

search the google adsense FAQ for section targetting. This'll provide you with tags you can put in your templte around where the actual content is going to beon the page

adsense also looks quite heavily at the page title, which presumably is the name of this passworded forum; you could rename the forum, for example.


 1:33 pm on Oct 30, 2005 (gmt 0)

use phpadsnew for it. check phpbb mods database it has some modules which will help you out.

For programming help a page in phpbb is constructed using following tpls.

Index page
overall_header.tpl (/includes/page_header.php is the programming file.)
index_body.tpl (index.php)

Forum Page
overall_header.tpl (/includes/page_header.php.)
viewforum_body.tpl (viewforum.php)

Topic Page
overall_header.tpl (/includes/page_header.php.)
viewtopic_body.tpl (viewtopic.php)

To simplify use extreme mod to have php code inside tpls. Edit overall_header.tpl and call the phpadsnew code to display your ads.

Hope it helps.



 2:20 pm on Oct 30, 2005 (gmt 0)


I actually have phpadsnew half installed (setting up db now :), but it's just for serving vendor ads, not adsense. Does it easily integrate with adsense and can I do both with the same installation?

Thanks for the reply!



 2:47 pm on Oct 30, 2005 (gmt 0)

James personally speaking I have just tried phpadsnew for testing purpose. It allows you to have js based ads thus making adsense possible.

I use my own system where I do not have rotating ads but it varies only when you refresh the page. This is based on probabilistic distribution, very simple integration to phpbb.



 7:28 pm on Nov 1, 2005 (gmt 0)

Adsense can't spider your password-protected pages - I haven't checked the Adsense TOS for details on this, but you might do a hack to let Mediabot spider those pages without a login.

Global Options:
 top home search open messages active posts  

Home / Forums Index / WebmasterWorld / Community Building and User Generated Content
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved