A webmaster forum specifically catering for Australian site owners. We discuss site development, marketing and management issues.
Please welcome our newest member, jevs!
Spice up your web site with the ultimate community message board solution!
Fake Id'sGet fake Id's made right now!
vBSEOSearch Engine Optimization for your VBulletin Forum.
AdminFusion
»
Adsense ads posted in PHPBB forum
| | #1 |
| | |||||
| Title: Lurker Join Date: Feb 2007 Posts: 12 ![]() | Adsense ads posted in PHPBB forum I am looking for a way to post adsense ads in my phpbb forum. I have seen on other forums where a account is designated for posting ads and does so at random intervals. Does anyone know how I could get this working and automated? Derek
__________________ Are you Canadian? Come to our Ask Canadians Forum. | ||||
| |
| | #3 |
| | |||||
| Title: Rookie Join Date: Apr 2007 Posts: 23 ![]() | Inline Banner Ads will do it for you! It is an easy modification to install too!
__________________ Paid Forum Posting - www.forumelves.com Keyboard Junkies - www.keyboardjunkies.com | ||||
| |
| | #4 |
| | |||||
|
Title: Forum Addict Join Date: Jun 2006 Posts: 1,320 Location: East Coast, USA ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Or you can place them in your forums header. I think the file is called something_header under your templates file.
__________________ Like Music? Talk about anything music related here! | ||||
| |
| | #5 |
| | #6 |
| | ||||||
| Title: Lurker Join Date: Mar 2007 Posts: 7 ![]() | Quote:
For a better alternative I would suggest doing these code changes. This way you can place the Ad in the header but display them on the pages you want instead of those low content pages like the search and the memberlist. Just remember to place your adsense code in the place where it says +++your adsense code+++ Code: #
#-----[ OPEN ]------------------------------------------
#
includes/page_header.php
#
#-----[ FIND ]------------------------------------------
#
define('HEADER_INC', TRUE);
#
#-----[ AFTER, ADD ]------------------------------------------
#
//Visible for everyone
if ($googlead=="1") {
$google_ad = '<table class="forumline" width="95%" cellspacing="1" cellpadding="3" border="0">
<tr>
<td class="row1" height="100%" valign="top">
<div align="center">
++++++YOUR ADSENSE CODE HERE+++++++
</div>
</td>
</tr>
</table>';
}
#
#-----[ FIND ]------------------------------------------
#
'SITENAME' => $board_config['sitename'],
#
#-----[ BEFORE, ADD ]------------------------------------------
#
'GOOGLE_AD' => $google_ad, Code: #
#-----[ OPEN ]------------------------------------------
#
/templates/yourtemplate/overall_header.tpl
</table></td>
</tr>
</table>
#
#-----[ AFTER, ADD ]------------------------------------------
#
{GOOGLE_AD} Code: #
#-----[ FIND ]------------------------------------------
#
define('IN_PHPBB', true);
#
#-----[ BEFORE, ADD ]------------------------------------------
#
$googlead="1"; | |||||
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Unwritten Rules of Forums | Ryan | Handling Problem Members | 3 | 08-17-2008 03:17 AM |
| Jericho TV forum for sale - $2/day | Lpspider | Buy and Sell | 3 | 01-18-2007 12:31 AM |
| phpBB Resource List | gprime | phpBB | 1 | 06-16-2006 05:54 AM |
| Introduction to Forum Promotion | htmlmaster | Creating Interest | 3 | 06-12-2006 05:53 PM |
| How to add Adsense in PhpBB? | Jien | Revenue and Advertising | 2 | 04-06-2006 12:10 AM |
