[ABD] Google AdSense Relevance phpBB3 Mod

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
User avatar
Volunteer Forum
Registered User
Posts: 400
Joined: Mon Sep 12, 2005 9:59 pm

[ABD] Google AdSense Relevance phpBB3 Mod

Post by Volunteer Forum »

I suppose this is the first ever Mod i have published, a greate achievement from me thats for sure ;)

MOD Title: Google AdSense Relevance phpBB3 Mod
MOD Description: Is created so that the relevance from the advertising should be more
correct to each post. By using googles own: google_ad_section code.
MOD Version: 1.0.0-dev

Last working version:
MOD Version: 1.0.0
Installation Level: Very Easy
Installation Time: 2 min
Languages: N.A
Format: *.txt

MOD Download: Google AdSense Relevance phpBB3 Mod
Everything that is not perfect is a flaw [",]
mshiznitzh
Registered User
Posts: 99
Joined: Wed Mar 02, 2005 5:20 pm

Re: [ALPHA] Google AdSense Relevance phpBB3 Mod

Post by mshiznitzh »

Trying it out. Thanks for the mod.
d4rkmor3
Registered User
Posts: 1
Joined: Mon Jun 11, 2007 3:43 pm

Re: [ALPHA] Google AdSense Relevance phpBB3 Mod

Post by d4rkmor3 »

thnks
User avatar
bikesandscooters
Registered User
Posts: 44
Joined: Fri Jun 01, 2007 9:49 pm
Location: Australia
Contact:

Re: [ALPHA] Google AdSense Relevance phpBB3 Mod

Post by bikesandscooters »

Love the way you google ad is displayed in the post at the bottom, can I ask where you got that mod from, I want to install both at the same time.
Cheers Steve
http://www.bikesandscooters.com.au Discussion for bikes and scooters in OZ!
User avatar
romans1423
Registered User
Posts: 1560
Joined: Sat Nov 02, 2002 4:44 pm
Location: Connersville, IN
Name: Rick Beckman
Contact:

Re: [ALPHA] Google AdSense Relevance phpBB3 Mod

Post by romans1423 »

Open styles/prosilver/template/viewtopic_body.html

Find:

Code: Select all

<!-- END postrow -->
Add before:

Code: Select all

<!-- IF postrow.S_FIRST_ROW or postrow.S_ROW_COUNT > 5 and postrow.S_LAST_ROW -->
<div class="post bg3">
		<div class="inner"><span class="corners-top"><span></span></span>
		<div class="postbody">
			<div class="content" style="text-align: center; margin-top: auto; margin-bottom: auto;">
				<script type="text/javascript">/* <![CDATA[ */
					google_ad_client = "pub-";
					google_alternate_color = "CADCEB";
					google_ad_width = 728;
					google_ad_height = 90;
					google_ad_format = "728x90_as";
					google_ad_type = "text_image";
					google_ad_channel = "";
					google_color_border = "E1EBF2";
					google_color_bg = "CADCEB";
					google_color_link = "105289";
					google_color_text = "333333";
					google_color_url = "DC2A4D";
					/* ]]> */</script>
					<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
			</div>
			<div class="notice">Ads are not endorsed by yourdomain.com or the staff thereof and visitors should perform their own due diligence on the product or service offered.</div>
		</div>
		<dl class="postprofile">
			<dt style="text-align: center; margin-top: 1em;">
				<script type="text/javascript">/* <![CDATA[ */
					google_ad_client = "pub-";
					google_ad_width = 120;
					google_ad_height = 60;
					google_ad_format = "120x60_as_rimg";
					google_cpa_choice = "";
					google_ad_channel = "";
				/* ]]> */</script>
				<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
			</dt>
			<dd>&nbsp;</dd>
		</dl>
		<div class="back2top"><a href="#wrap" class="top" title="{L_BACK_TO_TOP}">{L_BACK_TO_TOP}</a></div>
		<span class="corners-bottom"><span></span></span></div>
	</div>
<!-- ENDIF -->
This will show ads after the first post, as well as after the last post (if there are more than five posts on that page). Customize the disclaimer text to refer to your domain, if you so choose; otherwise, delete it and the containing DIV.

The first ad is a 728x90 banner; the second is a 120x60 Adsense referral link. Be sure to use the code Adsense gives you, rather than that JavaScript supplied above (which won't work).

This method was based on a thread at Star Trek Guide, which I cannot find anymore.
RickBeckman.org | The Fellowship Hall – Diversity-friendly Religious Forums
mark1230
Registered User
Posts: 1
Joined: Wed Oct 03, 2007 12:11 am

Re: [ALPHA] Google AdSense Relevance phpBB3 Mod

Post by mark1230 »

Not spamming

hi friends i am new member at this forum but with help of this and other forum articles i have been successed in addin google adsense easily to my new phpbb3 forum
here is my site
http://www.phpbb.com/rules/#rule6a

i have made a blog on how to add adsense in your blog,forum etc if you wish you can see step by step process to add adsense
http://www.phpbb.com/rules/#rule6a
Last edited by Highway of Life on Wed Dec 05, 2007 3:48 am, edited 1 time in total.
Reason: Heh heh, "not spam" removed.
bhoopalan
Registered User
Posts: 340
Joined: Sun Jul 22, 2007 11:02 am

Re: [ALPHA] Google AdSense Relevance phpBB3 Mod

Post by bhoopalan »

not able to download the mod. I can only find a blank whit page.
tmikuckis
Registered User
Posts: 1
Joined: Wed Feb 06, 2008 9:53 pm

Re: [ALPHA] Google AdSense Relevance phpBB3 Mod

Post by tmikuckis »

I have installed this mod on my forum. But for some reason three adsense banners show up. Why is this? how can i make it so there is only one?
RedTrinity
Registered User
Posts: 1327
Joined: Sat May 06, 2006 3:32 am

Re: [ALPHA] Google AdSense Relevance phpBB3 Mod

Post by RedTrinity »

I just tried to DL via the link and am getting this error page...
Information

Den valda bilagan finns inte längre.

Filen ./../files/53_a65408edff3a491774105b444ff4d443 finns inte.
I don't know the language but I am assuming it means its not there anymore :(
User avatar
Libor
Registered User
Posts: 33
Joined: Tue Jul 03, 2007 8:12 pm

Re: [ALPHA] Google AdSense Relevance phpBB3 Mod

Post by Libor »

Is this mod still in development or is abondoned?
My czech forum about mp3 players: http://www.mujprehravac.cz/forum/
I use many of items here in forum. Thanks all for help and mods.
User avatar
Volunteer Forum
Registered User
Posts: 400
Joined: Mon Sep 12, 2005 9:59 pm

Re: [ALPHA] Google AdSense Relevance phpBB3 Mod

Post by Volunteer Forum »

Libor wrote:Is this mod still in development or is abondoned?
I suppose its still in development..
Everything that is not perfect is a flaw [",]
User avatar
Libor
Registered User
Posts: 33
Joined: Tue Jul 03, 2007 8:12 pm

Re: [ALPHA] Google AdSense Relevance phpBB3 Mod

Post by Libor »

Ok so where can I download latest version?
Thanks
My czech forum about mp3 players: http://www.mujprehravac.cz/forum/
I use many of items here in forum. Thanks all for help and mods.
User avatar
JunglistPerfection
Registered User
Posts: 611
Joined: Mon Apr 09, 2007 11:58 pm
Location: Chicago, IL

Re: [ALPHA] Google AdSense Relevance phpBB3 Mod

Post by JunglistPerfection »

Libor wrote:Ok so where can I download latest version?
Thanks
Yea, same here.
jasonpeinko
Registered User
Posts: 99
Joined: Fri Oct 07, 2005 12:52 am

Re: [ALPHA] Google AdSense Relevance phpBB3 Mod

Post by jasonpeinko »

why dont my ads ever show up, the blocks are there, but the ads never display, i have clear cache and everything.
stokerpiller
Registered User
Posts: 1934
Joined: Wed Feb 28, 2007 8:06 pm

Re: [ALPHA] Google AdSense Relevance phpBB3 Mod

Post by stokerpiller »

This MOD is a nice idea.
But it will only work with older topics.
Reason:
Topics needs to be crawled by the adsense bot before it will work.

It is much better using on an almost static webpage.
I am done with phpBB
Locked

Return to “[3.0.x] Abandoned MODs”