Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

[UPDATE] Basic_Banner, version 3.0

Quote Reply
[UPDATE] Basic_Banner, version 3.0
Hi,

Its been a long while since a new release of Basic_Banner.

After having a think about it, I decided to rewrite it - and take a different approach for randomizing the banners.

Instead of using a random array (i.e 1..10, and choosing a number between), I've decided to take the route of doing the random stuff via MySQL. i.e:

ORDER BY RAND()

Doing it this way, also allows for a few more features.

For example - you can now set this for each banner:

1) Banner URL (destination)
2) Banner "alt" Text
3)Banner Image

It also tracks clicks (via banner.cgi), and impressions (these are only tracked when run dynamically)

I've also written a basic admin interface - so you can manage the banners (and view clicks/impressions/ the image being shown)

You can get the latest version from our site:

http://www.ultranerds.com/...ns/Basic_Banner_L25/

Below is a screenshot of what the admin interface looks like:



Enjoy :)

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!

Last edited by:

Andy: Jan 14, 2008, 9:54 AM
Quote Reply
Re: [Andy] [UPDATE] Basic_Banner, version 3.0 In reply to
Hi Andy,

An error installing this plugin:

"Error running installation code: Can't locate object method "error" via package "Plugins::ToDo"

Whats this "Plugins::ToDo" ?

~ ERASER


Free JavaScripts @ Insight Eye
Quote Reply
Re: [Eraser] [UPDATE] Basic_Banner, version 3.0 In reply to
Hi,

Whoops, thats one of my other plugins =) I copy+paste some of the install code (rather than just writing it from scratch again :P)

Try the new version on my site.

FWIW, it looks like its the /cgi-bin/ folder that doesn't have write permissions, so it can create banner.cgi Smile

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] [UPDATE] Basic_Banner, version 3.0 In reply to
All is good Andy Cool

And many thanks for these plugins!

~ ERASER


Free JavaScripts @ Insight Eye

Last edited by:

Eraser: Mar 7, 2008, 4:55 AM