Welcome to WebmasterWorld Guest from 54.227.52.24

Forum Moderators: rogerd

Message Too Old, No Replies

How to serve ads in a forum

     

wyattea

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

10+ Year Member



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...

rogerd

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

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



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.

wyattea

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

10+ Year Member



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...

bradley phil

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

10+ Year Member



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.

AjiNIMC

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

WebmasterWorld Senior Member 10+ Year Member



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

wyattea

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

10+ Year Member



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...

AjiNIMC

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

WebmasterWorld Senior Member 10+ Year Member



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

rogerd

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

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



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.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month