[MODDB] Inline Banner Ad

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment! No new topics are allowed in this forum.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: MOD Development Forum rules

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.
Locked
geocator
Registered User
Posts: 16242
Joined: Fri Jan 09, 2004 11:56 pm
Location: On dry land
Contact:

Post by geocator » Thu Apr 28, 2005 9:55 pm

That is very odd, I have not heard of any problems, and the test code I use works fine.

geocator
Registered User
Posts: 16242
Joined: Fri Jan 09, 2004 11:56 pm
Location: On dry land
Contact:

Post by geocator » Thu Apr 28, 2005 9:56 pm

neticus wrote: This is a cosmetic request to the placement of the 'banner after first post mod'


I dont really have a bunch of time right now, but I like that look and will be updating this MOD to do that whenever I can.

User avatar
Angelaaa
Registered User
Posts: 554
Joined: Thu Apr 22, 2004 8:18 pm

Post by Angelaaa » Fri Apr 29, 2005 12:57 pm

kulinar wrote: I like this Mod and use it since I installed it. The only problem is when I place GoogleAds code it does't work. Blank space is shown nothing else. Plain HTML is OK, but javascript...

I have installed many Mods and maybe some of them are interfering...

Any suggestions?


Try cleaning out your temporary internet files and see if that does the trick. That's the advice that was given to me by google when all of a sudden one day I couldn't see the ads on my site.

Hope this helps,

Angela :D
Trying to be the kind of woman that when my feet hit the floor each morning the Devil says, "Oh crap she's up!"

iettafune
Registered User
Posts: 11
Joined: Fri Jun 25, 2004 8:50 am
Contact:

Post by iettafune » Sat Apr 30, 2005 1:18 pm

sorry, but where i download this mod with all updates???

geocator
Registered User
Posts: 16242
Joined: Fri Jan 09, 2004 11:56 pm
Location: On dry land
Contact:

Post by geocator » Sat Apr 30, 2005 6:07 pm

iettafune wrote: sorry, but where i download this mod with all updates???

From the link in the very first post. I always keep that link up to date.

geocator
Registered User
Posts: 16242
Joined: Fri Jan 09, 2004 11:56 pm
Location: On dry land
Contact:

Post by geocator » Sun May 01, 2005 12:13 am

Just a quick note to let everyone know that I am busy rewriting code for this. This is going to be a complete overall of the code. I am adding a couple new features, one of which will be a new style option, the other is a secret but I think that many of you will like it :). I hope to have it done by the end of the week.

cpu
Registered User
Posts: 12
Joined: Fri Apr 08, 2005 9:49 am

Post by cpu » Mon May 02, 2005 9:22 pm

can this mod be compatible with ch mod? i mean category hirarchy
thnx

geocator
Registered User
Posts: 16242
Joined: Fri Jan 09, 2004 11:56 pm
Location: On dry land
Contact:

Post by geocator » Mon May 02, 2005 11:55 pm

That was asked before, and to be honest I do not know. I have never used or even looked at ch-mod so I can not say.

cpu
Registered User
Posts: 12
Joined: Fri Apr 08, 2005 9:49 am

Post by cpu » Tue May 03, 2005 8:28 am

can this mod be a ad server 8O i know many will be glad ifthis mod can be a complete ad server

qnx
Registered User
Posts: 69
Joined: Fri Mar 28, 2003 6:03 am

pnphpbb

Post by qnx » Tue May 03, 2005 9:46 pm

anybody know if this hack can be used with pnphpbb (www.pnphpbb.com) ?

geocator
Registered User
Posts: 16242
Joined: Fri Jan 09, 2004 11:56 pm
Location: On dry land
Contact:

Post by geocator » Tue May 03, 2005 9:53 pm

cpu wrote: can this mod be a ad server 8O i know many will be glad ifthis mod can be a complete ad server

No it can not be, and never will be. I dont have the time or desire to do this. There are lots of good ad packages available that can be used in conjuction, and I am not into reinventing the wheel.

geocator
Registered User
Posts: 16242
Joined: Fri Jan 09, 2004 11:56 pm
Location: On dry land
Contact:

Re: pnphpbb

Post by geocator » Tue May 03, 2005 9:54 pm

qnx wrote: anybody know if this hack can be used with pnphpbb (www.pnphpbb.com) ?


The best we can tell you is to try and see. The nuke versions of phpBB have extensive code changes, so it is really hard to say.

mx-
Registered User
Posts: 15
Joined: Tue May 03, 2005 11:46 am

Post by mx- » Wed May 04, 2005 1:35 pm

Hey I put this code in the viewtopic_body.tpl before the <!-- END postrow --> but it posts a google ad after each post.

any way I can fix it to show only one ad, after the first post ?


Code: Select all

<?php if ($postrow_i == 0) { ?>
	<tr align="left">
		<td width="150" align="left" valign="top" class="row2"><span class="name"><b>Sponsored Links</b></span><br /></td>
		<td class="row2" width="100%" height="28" valign="top">
<script type="text/javascript"><!--
google_ad_client = "google-id";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel ="0097122608";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "000000";
google_color_url = "000000";
google_color_text = "000000";
//--></script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</td>
	</tr>
	<tr> 
		<td class="spaceRow" colspan="2" height="1"><img src="templates/subSilver/images/spacer.gif" alt="" width="1" height="1" /></td>
	</tr>
<?php } ?>

geocator
Registered User
Posts: 16242
Joined: Fri Jan 09, 2004 11:56 pm
Location: On dry land
Contact:

Post by geocator » Wed May 04, 2005 7:33 pm

If you are not using the exteme styles MOD you cannot use php code in the tpl files, further the variable you are using is not accessabel in the templates.

Have a look at the viewtopic.php code for the MOD for an idea on how to do it, or just install the MOD since that is what it is for.

qnx
Registered User
Posts: 69
Joined: Fri Mar 28, 2003 6:03 am

Post by qnx » Thu May 05, 2005 6:49 am

Instead of using "user groups", is it possible to use "user ranks" for whether to display ads or not?
People can achieve certain ranks automatically when they have X number of posts, or I can assign some special ranks for some users. For those users, they can enjoy ad-free readings.

Locked

Return to “[2.0.x] MODs in Development”