Welcome to Geeklog, Anonymous Friday, November 29 2024 @ 02:17 am EST
Geeklog Forums
Quick Ad Banner Hack
Status: offline
jcz
Forum User
Chatty
Registered: 01/29/02
Posts: 39
I needed a method to get some banners going on one of my sites, so I tried
http://www.phpadsnew.com/ which is a VERY robust system. Alas, it seemed to cause severe peformance
issues at my host so I ditched it.
Instead a buddy of mine came up with this cute little ditty. Feel free to expand on it. In fact, you should since it doesn't use GL functions in any way and the DB stuff should NOT be the template code. It is currently installed at
http://www.dctriclub.com
Right now all it does is display the image and update the table to record how many times the image was seen. Improvements might include:
- count the number of clicks the ad gets
- a little interface to administer the ad links/files, turning ads on/off, upload files,etc
- maybe use bars like the Poll result bars to show privileged people (advertisers?) how many times the ad was seen/clicked on
9
9
Quote
All times are EST. The time is now 02:17 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content