Welcome to WebmasterWorld Guest from 107.20.104.110

Forum Moderators: rogerd

Message Too Old, No Replies

How to serve ads in a forum

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

New User

10+ Year Member

joined:June 3, 2005
posts:34
votes: 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.

Thanks,

James...

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

Administrator

WebmasterWorld Administrator rogerd is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Aug 2, 2000
posts:9686
votes: 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)

New User

10+ Year Member

joined:June 3, 2005
posts:34
votes: 0


Rogerd,

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!

James...

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

Junior Member

10+ Year Member

joined:July 11, 2005
posts:55
votes: 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)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Oct 8, 2003
posts:1419
votes: 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)
overall_footer.tpl

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

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

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.

AjiNIMC

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

New User

10+ Year Member

joined:June 3, 2005
posts:34
votes: 0


AjiNIMC,

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!

James...

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

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Oct 8, 2003
posts:1419
votes: 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.

AjiNIMC

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

Administrator

WebmasterWorld Administrator rogerd is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Aug 2, 2000
posts:9686
votes: 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.