Ravens PHP Scripts

Multiple Banners Advertising Block
Date: Friday, March 12, 2004 @ 13:24:24 UTC
Topic: Blocks


Allow multiple banners in the Advertising block

This replaces the regular Advertising block (blocks/block-Advertising.php)
since it does the same thing but also allows you to display multiple banners by setting the $numbanners to any value.
defaults to 1 banner, $numbanners=1

Tested on PHP-Nuke 6.5+
Download at
http://www.ierealtor.com/modules.php?name=Downloads&d_op=viewdownload&cid=2

(no registration required)


Developers Note: This is a more efficient use of the banner table too.
I suggest replacing the base nuke blocks/block-Advertising file with this.





This article comes from Ravens PHP Scripts
https://www.ravenphpscripts.com

The URL for this story is:
https://www.ravenphpscripts.com/modules.php?name=News&file=article&sid=288