[Date Prev][Date Next][Thread Prev] [Thread Next][Date Index] [Thread Index]

Re: Banner Rotation Module available


  • From: CGR Online  
  • Date: Sun, 22 Oct 2000 16:32:54 -0600 (MDT)

Okay, Let me see if I got this right. This basically allows you to have a
banner exchange in your code so that not only your website will display
the ads but the ring memeber' web pages as well?  If this is correct then
you would basically be getting revenue (from within the ring) from your
site and you members sites as well.  Or am I way off on this one?



---
Sir Anvil
www.christiangamers.org

On Sun, 22 Oct 2000, Jock Dempsey wrote:



TO ALL:

RE: randhtml.pm - Banner Rotation Module

I have just completed a module for use with Ringlink that inserts a random
line of HTML in a Ringlink page.  This was designed to provide banner
rotation on the LIST page via the mainhtml.pm module.

Gunnar helped me with the method of calling the routine.  The routine
itself is based on another I have used for several years with success.

The module randhtml.pm and installation instructions (randhtml.pm) have
been provided to Rachelle in a ZIP file to post on the Rinklink FAQ page
she hosts.

The module selects one of several lines of code in a semi random manner.
In use it actually serves all the lines in equal or proportional
distribution.  The control file can be setup to to display one line several
times for each of the other lines or in ratios of 2/1,  3/4 . . . 2/3/1

The number of times the code (or banner) is served is recorded in the
control.txt file.  This gives you statistics to provide advertisers if you
are selling banners or simply need to know for your own information.  

NOTE: Short term the display may not look proportional but over time
averages out.

The file is available immediately via ftp at.  Just click on the link below.

http://www.anvilfire.com/ftp/randhtml.ZIP

(Rachelle you may want to link to the above if you prefer)

This routine can be seen in operation on the ring list page of any of the
rings at:

http://rings.anvilfire.com/

The original SSI version is in use in the header of the hosting pages.  The
pm version is in use on the ring LIST pages only.

In the spirit of public liscense code such as Ringlink this routine is
provided freely as long as modifications or improvements are shared with
others.

I am not a Perl programmer. Please do not ask me to make further
modifications to this code.

Enjoy!

Jock Dempsey
webmaster@xxxxxxxxxxxxx


References to:
Jock Dempsey

[Date Prev][Date Next][Thread Prev] [Thread Next][Date Index] [Thread Index]