Page 1 of 2

[ABD] Advertisement Manager (MMW)

Posted: Sat Jul 22, 2006 7:55 am
by -SV-
MOD Title: Advertisement Manager
MOD Description: Allows board administrators to add advertisements to several sections of their board.
MOD Version: 0.0.0
MOD Download: n/a - Currently in the Dev/Ideas stage
Last Updated: n/a

What this MOD will do:
  • Allow several different sections for advertisements.
  • Allow several ad types.
  • Allow you to choose whether to show ads to all members, just guests, or to a specific usergroup.
  • Will keep stats for each advertisement (only on banners and text links)
  • Set a time limit on the ad; 1 day, 1 week, 1 month, etc, with the option to increase that time limit at any time.
Screenshots:
Not yet available

Demo:
Not yet available

Helping out:
If you have an idea/suggestion for a feature, then please, let me know! And, of course, when available - i'll need testers :D

Eric

Posted: Sat Jul 22, 2006 7:56 am
by -SV-
RESERVED

Idea

Posted: Sat Jul 22, 2006 8:42 am
by Legendary Ani-Master
Hi. This mod could be a very good mod. I think phpBB doesn't have ads manager yet. So I hope this mod comes out good without problems.

Good luck -SV-!

Regards. :D

Posted: Sat Jul 22, 2006 9:25 am
by igorw
You're cool! I'm looking forward to seing this one, even though i doubt i'll need it :) I might be testing it though, if i have enough time.

What kind of stats will you have? How often its been displayed, or how often it's been clicked. There was a suggestion on how to make the click counter. Well i'd say you could maybe do it with AJAX (just an idea). I have no idea how excactly this would work, but like have <a href="theadsite.com" onclick="adstats();">{ad}</a>.

It looks nicer than something like this imo, and is also quicker:
<a href="count.php?site=theadsite.com">{ad}</a>

phpads support

Posted: Sat Jul 22, 2006 9:29 am
by Tomba
Please make sure that it is possible in the mod to display phpAds banners, so basically users will need to be able to put javascript code as a banner.

I will be one of the first to add this mod to my forum it this is supported (and also one of the first to start phpbb3 when it's there)

Anyway, I'll keep an eye on this, and if some of you would need a bit of help for this mod, let me know.

Re: phpads support

Posted: Sat Jul 22, 2006 10:02 am
by igorw
Well it's anyway going to be full HTML you're entering :D

Posted: Sat Jul 22, 2006 5:40 pm
by -SV-
Thanks guys :)

I hope to have something together within a couple weeks ;)

Posted: Sat Jul 22, 2006 11:22 pm
by Baby Boy
Let me know if you need any assistance or help, sounds like a great modification. I'll be awaiting it and ready for testing whenever.

Posted: Sat Jul 22, 2006 11:44 pm
by djsclaus
can't wait for this mod to hit beta, I have been looking for a mod like this iforever, very glad you have picked it up :)

Posted: Sun Jul 23, 2006 4:28 am
by -SV-
Thanks again, everyone :) Certainly am excited about working on this MOD - it will be my largest yet.

I started working on it today, and I would like to ask a few ?'s.

1.) What types of ads need to be included? Of course, the standard banner and text ad types. Should adsense or YPN be included? Right now i'm trying to determine what databases i'll need, their structure, etc.

2.) I like the idea of trying to keep it to one database, but that *could* make things a tad more difficult, imho. I was thinking if I kept it 'traditional' and it was just banners and text links, then there would be roughly 4 tables. One for banners, one for text links, and then a stats table for each.

Something like:
Table: banners
-bannerid
-bannername
-bannerdesc
-bannerurl
-bannerimg
-bannerw < may or may not be needed, actually
-bannerh < may or may not be needed, actually
-expires
-status

Table: banners_stats
-trackid
-bannerid
-visitorid
-visitorip
-visitdate


Table: textads
-linkid
-linkname
-linkdesc
-linkurl
-expires
-status

Table: textads_stats
-trackid
-linkid
-visitorid
-visitorip
-visitdate


Then again, it's 1 am, so I may need a tad bit of sleep ;) Thoughts?

@eviL<3 - well, originally - that was my idea.. ads.php?blah=bleh&id=whatever.
I'll look into using AJAX though, ;)

This is the time guys - tell me whatever you want/need and i'll try to make it happen. It's for YOU afterall :D

Posted: Sun Jul 23, 2006 5:39 am
by Baby Boy
Something good to add would be the AdSense and YPN for sure. Something to do that would to be, if you know AJAX (I assume you do) is that allow them to select using radio buttons, whether the ad will be standard text... banner ad... or of course AdSense or YPN. Just label it "Affiliate/Revenue Ad" and when somebody selects it, they get a box that'll either be allowed to input their ID or even the banner code. I suggest you select one of the idea's and implement them.

In another method... here is something else:

Multiple Spots - Have it set so that when an admin inputs a new banner, it'll allow them to select in which -banner category- it should be displayed.

Here is a quick run-through of this addon:

Set it so that in the install instructions that lets people add the banner code to portion of their page where people would usually look at. For instance, the sidebar or header or footer or even at the top of the forums or in between posts. In the admin section, the admin can set whether to enable or disable it. If enabled, the banner ad shows, if disabled, the banner box (or banner "box") is not even shown.

Now if it is enabled, on the other part of the admin section where "General Ad Management" takes place, each banner can be assigned to their assigned categories.

Let's say the sidebar and footer banners are enabled. Well, I have 5 clients, LogicTech, SincereApps, ProForlio, vistaPHP and Sent-A-Meant Get Well Cards. LogicTech has reserved space for the sidebar banner only, while SincereApps, ProFolio, vistaPHP and Sent-A-Meant has reserved the footer (so they'll rotate.)

Now a sixth client, we'll call them StuDENT Grants... a very nice college loan company that takes the dents out of scholarships... anyway, they reserve the sidebar. Now LogicTech and StuDENT Grants rotate amongst each other until either a set expire date occurs or their unlimited impressions are met (which can be set via the admin section.)



ANYWAY, That's all I have right now, I plan on maybe later on if you get this mod finished maybe integrating a possible addon that allows the people automatically purchase ad subscriptions and it be possible for admins to activate these... it'll utilize Authorize.Net and PayPal as well as maybe a few other payment modules POSSIBLY. Let's see what happens first.

Posted: Sun Jul 23, 2006 6:25 am
by djsclaus
yeah, both AdSense and YPN would be good to add, since so many people use it :) I know I would be using AdSense

good luck with the mod! :)

Posted: Sun Jul 23, 2006 9:03 am
by Tomba
Hi,

I'm a computer scientist and programmer by profession, and the first thing you need to ask yourself is how advanced you are going to make your script. If people use it to put adsense, ypn or banners from phpAds on their forums, then a simple system will be enough as clicks and campaign limit is managed by these systems.
If you'd like to manage that yourself, there's a lot of work ahead ;)

First of all though, I would make sure all banners are in one table which may allow you to grab the needed ones with only one query.

Posted: Sun Jul 23, 2006 11:53 am
by LimitForums
for the ads table i would probably go with this:-
  • phpbb_ads
  • ad_id
  • ad_type
  • ad_position
  • ad_name
  • ad_description
  • ad_link
  • ad_image
  • ad_expires
  • ad_enabled
  • phpbb_ads_statistics
  • stat_id
  • ad_id
  • user_id
  • user_ip
  • stat_date

Posted: Sun Jul 23, 2006 12:28 pm
by discusws
LimitForums wrote: for the ads table i would probably go with this:-
  • phpbb_ads
  • ad_id
  • ad_type
  • ad_position
  • ad_name
  • ad_description
  • ad_link
  • ad_image
  • ad_expires
  • ad_enabled
  • ad_height
  • ad_width
  • phpbb_ads_statistics
  • stat_id
  • ad_id
  • ad_clicks
  • ad_view
  • user_id
  • user_ip
  • stat_date


Maybe a banner level so you can give some priority to some kind of banners!

Inline banners and bottom and header banners!