Google Community
Latest Forums Rules Resources
Custom Search

Go Back   Google Community > Google Forums > Google AdWords & AdSense Forum

GoogleCommunity Sponsor

Reply
 
LinkBack Thread Tools Display Modes
Old 03-31-2006, 04:32 AM   #1 (permalink)
Noogle
 
Join Date: Mar 2006
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
pisanggoreng
Ads in phpBB forums...?

I wonder how Google ads are inserted in phpBB forums as done below here... i.e. how to get a "post" of ads at the end of every page. brbrThank you. br
pisanggoreng is offline   Reply With Quote
 
Sponsored Links
Old 03-31-2006, 07:26 AM   #2 (permalink)
Google Guru
 
andrew247's Avatar
 
Join Date: Oct 2005
Location: c:\GoogleCommunity
Posts: 3,420
Thanks: 3
Thanked 18 Times in 17 Posts
andrew247 is a glorious beacon of lightandrew247 is a glorious beacon of lightandrew247 is a glorious beacon of lightandrew247 is a glorious beacon of lightandrew247 is a glorious beacon of light
You need to make an adjustment to viewtopic_body.tpl - the exact method is different for most forum templates.
andrew247 is offline   Reply With Quote
Old 03-31-2006, 07:58 AM   #3 (permalink)
Noogle
 
Join Date: Mar 2006
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
pisanggoreng
Thanks, but that much I had almost figured out myself... I am using the very common SubSilver template. Does anyone know a little bit more specifically how this is done?
pisanggoreng is offline   Reply With Quote
Old 03-31-2006, 08:19 AM   #4 (permalink)
Google Guru
 
andrew247's Avatar
 
Join Date: Oct 2005
Location: c:\GoogleCommunity
Posts: 3,420
Thanks: 3
Thanked 18 Times in 17 Posts
andrew247 is a glorious beacon of lightandrew247 is a glorious beacon of lightandrew247 is a glorious beacon of lightandrew247 is a glorious beacon of lightandrew247 is a glorious beacon of light
OK, I had a bash at the SubSilver template. It could be touched up a bit more, but it works (add this code after "END postrow"):
Code:
	<tr> 
		<td width="150" align="left" valign="top" class="{postrow.ROW_CLASS}"><span class="name"><a 

name="{postrow.U_POST_ID}"></a>Google</span>
<span class="postdetails">{postrow.POSTER_RANK}
{postrow.RANK_IMAGE}{postrow.POSTER_AVATAR}

{postrow.POSTER_JOINED}
{postrow.POSTER_POSTS}
{postrow.POSTER_FROM}</span>
<>
		<td class="{postrow.ROW_CLASS}" width="100%" height="28" valign="top"><table width="100%" border="0" cellspacing="0" 

cellpadding="0">
			<tr>
				<td width="100%">[img]{postrow.MINI_POST_IMG}[/img]<span class="postdetails"><span 

class="gen"></span> Subject: Advertisements</span><>

			<>
			<tr> 
				<td colspan="2"><hr /><>
			<>
			<tr>
				<td colspan="2"><span class="postbody">

*Adsense ads here*

{postrow.SIGNATURE}</span><span class="gensmall">{postrow.EDITED_MESSAGE}</span><>
			<>
		</table><>
	<>
	<tr> 
		<td class="{postrow.ROW_CLASS}" width="150" align="left" valign="middle"><span class="nav">{L_BACK_TO_TOP}</span><>
		<td class="{postrow.ROW_CLASS}" width="100%" height="28" valign="bottom" nowrap="nowrap"><table cellspacing="0" 

cellpadding="0" border="0" height="18" width="18">
			<tr> 
				<td valign="middle" nowrap="nowrap">{postrow.PROFILE_IMG} {postrow.PM_IMG} {postrow.EMAIL_IMG} 

{postrow.WWW_IMG} {postrow.AIM_IMG} {postrow.YIM_IMG} {postrow.MSN_IMG}<script language="JavaScript" type="text/javascript"><!-- 

	if ( navigator.userAgent.toLowerCase().indexOf('mozilla') != -1 && navigator.userAgent.indexOf('5.') == -1 && 

navigator.userAgent.indexOf('6.') == -1 )
		document.write(' {postrow.ICQ_IMG}');
	else
		document.write('<><td><><td valign="top" nowrap="nowrap"><div style="position:relative"><div 

style="position:absolute">{postrow.ICQ_IMG}</div><div style="position:absolute;left:3px;top:-1px">{postrow.ICQ_STATUS_IMG}</div></div>');
				
				//--></script><noscript>{postrow.ICQ_IMG}</noscript><>
			<>
		</table><>
	<>
	<tr> 
		<td class="spaceRow" colspan="2" height="1">[img]templates/subSilver/images/spacer.gif[/img]<>
	<>
You could probably take out the useless bits which aren't relevent, but they don't show anyway.
andrew247 is offline   Reply With Quote
Old 03-31-2006, 08:42 AM   #5 (permalink)
Noogle
 
Join Date: Mar 2006
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
pisanggoreng
OK, thanks a lot! I'll try this out tomorrow!
pisanggoreng is offline   Reply With Quote
Old 04-02-2006, 08:42 AM   #6 (permalink)
Senior Googler
 
Join Date: Mar 2005
Posts: 116
Thanks: 0
Thanked 0 Times in 0 Posts
mertero
Andres,

It actually works great.

I wonder what kind of ads are best for these kind of placement? GoogleCommunity has a rather large (in height) type of ad, I think it is not so good. I prefer the banner type (468X60). I don't want to irriate people too much.

Thanks!
mertero is offline   Reply With Quote
Old 04-02-2006, 12:11 PM   #7 (permalink)
Noogle
 
Join Date: Mar 2006
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
pisanggoreng
I settled for a 728 x 90 ad there, which I believe is not too annoying. brbrBTW, it works great- thanks again Andrew!br
pisanggoreng is offline   Reply With Quote
Old 04-03-2006, 11:30 PM   #8 (permalink)
Senior Googler
 
Join Date: Mar 2006
Location: India
Posts: 215
Thanks: 0
Thanked 0 Times in 0 Posts
devang
Send a message via Yahoo to devang
I run the template "Alexis Organge". Where may I place this code?
devang is offline   Reply With Quote
Old 04-04-2006, 12:31 PM   #9 (permalink)
Google Guru
 
andrew247's Avatar
 
Join Date: Oct 2005
Location: c:\GoogleCommunity
Posts: 3,420
Thanks: 3
Thanked 18 Times in 17 Posts
andrew247 is a glorious beacon of lightandrew247 is a glorious beacon of lightandrew247 is a glorious beacon of lightandrew247 is a glorious beacon of lightandrew247 is a glorious beacon of light
Quote:
Originally Posted by devang
I run the template "Alexis Organge". Where may I place this code?
The code will be different for each template, so this code might not be directly transferable. You could try, but it probably won't work. Insert it in the same place; after "END postrow".
andrew247 is offline   Reply With Quote
Old 04-05-2006, 05:33 AM   #10 (permalink)
Master Googler
 
Join Date: Mar 2006
Location: Terminus
Posts: 531
Thanks: 0
Thanked 0 Times in 0 Posts
cruocitae
I'll try it too.. I'm planning to start a forum, but my hosting admin did not activate my cPanel yet, and my old apache doesn't start.. maybe 2day I'll try it again.. But I honestly mean that forums don't really get serious clicks..
cruocitae is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with phpbb forums cysite Chit Chat 2 04-13-2006 06:13 AM
SEO PhpBB Mod lionstarr Search Engine Optimization Forum 4 02-10-2006 07:22 AM
phpBB Star.com Free Forums is back! Your review, please intelliot Site Reviews & Suggestions Forum 10 10-11-2005 05:30 AM
problem with phpBB forums tbrenner Web Design, Coding & Programming Forum 2 04-13-2005 05:00 PM
Ad mod for phpbb drdang Web Design, Coding & Programming Forum 2 01-01-1970 11:17 AM


All times are GMT -8. The time now is 01:55 AM.


Powered by vBulletin®
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0
© 2004–2007 Google Community