PunBB Resource

Your ultimate PunBB resource!

Keywords:

    (Extended)

You are not logged in.

#1 2005-05-14 12:53:52

Smartys
Member
Registered: 2005-03-18
Posts: 314
Website

Adsense after First Post 1.0

Code:

##
##
##        Mod title:  Adsense after First Post
##
##      Mod version:  1.0
##   Works on PunBB:  1.2.5
##     Release date:  2005-05-14
##           Author:  Neal Poole (smartys@gmail.com)
##
##      Description:  This mod allows you to place a Google ad after the first
##                post in every thread, disguised as a post.
##
##   Affected files:  viewtopic.php
##                    include/common.php
##              include/cache.php
##
##       Affects DB:  Yes
##
##            Notes:  This doesn't change the color of the ad based on the style used.
##              If people need it, I'll try and implement it in the next version.
##              Oh, and I know you can mess with the height etc so the ads don't
##              display. If you have a better suggestion on how to implement it,
##              I'm all ears :-)
##
##       DISCLAIMER:  Please note that "mods" are not officially supported by
##                    PunBB. Installation of this modification is done at your
##                    own risk. Backup your forum database and any and all
##                    applicable files before proceeding.
##
##

Download here


Free PunBB Hosting - lots of mods, easy to customize

Offline

 

#2 2005-05-14 13:01:34

Connorhd
Member
Registered: 2005-01-15
Posts: 176

Re: Adsense after First Post 1.0

surely for the ad format use the drop down box i gave you, then get the height, width, and ad format from that?

Offline

 

#3 2005-05-14 13:44:21

Smartys
Member
Registered: 2005-03-18
Posts: 314
Website

Re: Adsense after First Post 1.0

I was trying to think of a good way to do that, and I finally came up with one smile
I'll release a new version with it later today


Free PunBB Hosting - lots of mods, easy to customize

Offline

 

Board footer

Based on PunBB
© Copyright 2002–2005 Rickard Andersson

© Copyright 2004–2006 Kristoffer Jansson

User contributed files are property of their respective owners.