PDA

View Full Version : Rotating banners


Eagle
29th December 2005, 07:40
Can anyone here advise me on the best way to implement a rotating banner system on a forum?

Is there a certain software I should use? Anything I should avoid / look out for?

Cheers. :)

Coding Monkey
29th December 2005, 07:44
Do you want it to be a fair system, i.e. displays 50% of the time (if you have 2) or just randomly rotate? I'll write you a PHP script which is about 4 lines long that will rotate it by complete random.

quotes4
29th December 2005, 08:03
XIGLA software do a good system that is fairly cheap but it's ASP only.

Eagle
29th December 2005, 08:07
Cheers Tom /quotes4

I need it to be 'fair', yes as I'll be seeking advertisers. How do I generate (and send them) reports on clicktrough rates etc?

Thanks for the offer. :)

Mark

Do you want it to be a fair system, i.e. displays 50% of the time (if you have 2) or just randomly rotate? I'll write you a PHP script which is about 4 lines long that will rotate it by complete random.

Coding Monkey
29th December 2005, 08:14
Well, that still won't be too hard. I'll do it for you if no one comes along with a free version (which is bound to exist)

You'll basically need a database which stores values every time someone clicks on the link. You then also store every time the advert is displayed and try and get the values the same. So, it will increment a value, then it will move onto the next banner and increment that etc. So, if you have 4 banners, it will display 1, 2, 3 then 4 and start all over. That alright?

If you want to send them reports, I suppose (to make things easier for you) the information could be sent into a text file everytime someone clicks on their link which they have access to view. They could even have a section where they click a button and it downloads into an Excel file. Or, setup a cron job so that it e-mails them on the 1st every month all of the information.

quotes4
29th December 2005, 08:15
The system i mentioned above handles all that for you.

Eagle
29th December 2005, 08:16
Cheers, I'll take a look at XIGLA too. :)

crus
29th December 2005, 08:55
Google phpads.

Great system.

Easy to implement, which forum are you using?

D

DotNetWebs
29th December 2005, 09:20
Eagle

Is your proposed forum site going to be on a Windows Server. If so ASP.NET has a very simple to use "Ad Rotator" control used just for this purpose. The links themselves are stored in an XML file. You can also adjust the "weighting" of each ad to suite your needs.

Here are a couple of forums I run which implement this control:

www.horshamforum.com

www.theneonforum.com

Amended because I wrote "XML database" when I meant "XML file"

Eagle
29th December 2005, 09:58
Google phpads.

Great system.

Easy to implement, which forum are you using?

D
phpBB

Just a hobby site. I wouldn't dream of tainting the Eagle Imagery site with banners! ;)

crus
29th December 2005, 10:01
go for phpads,

simple to implement into phpbb and loads of people have posted how tos on the web.

Let me know if you have difficulties, its 1 line of code, one you have phpads up and running.

Again this is very easy to do.

For a simple install with all ftp details, thius could be done in 1 hour.

D

Rob Holmes
29th December 2005, 10:55
http://phpadsnew.com/two/

Hope this helps,

Rob