Mod Name / Version: Multiple Random Banners v1.1 (No Duplicates)
Description: This updated script will allow you to display multiple random images or banners on your site without ever showing duplicates, and it is also more user friendly now.
It is tailored to be used for UBBThreads via the generic or forum headers, although it can easily be used on any PHP page as well. (it looks like footer includes need to be added to the send_footer() function in ubbt.inc.php instead, or else it won't work - not sure why that is).
Instructions
============
1) Download and save the script (banners.inc.php) to your UBBThreads includes folder.
2) Then configure the script by filling in the HTML for each banner listed. If you ever want to change/delete banners in the future you can easily edit the HTML code here.
3) Configure how many banners you wish to display on the page (0 to 12) from the entire pool of available ones.
4) Then simply include this code in your header/footer...
Adjust the path as necessary if you are using it on a non-threads page.
<? include "$thispath/includes/banners.inc.php"; ?>
DEMO -
http://www.mameworld.info/ubbthreads/demo.php Working Under: UBB.Threads 6.0-6.5
Mod Status: Finished
Any pre-requisites: Author(s): Twisty
Date: 10/21/04
Credits: Files Altered: New Files: Database Altered: Info/Instructions: (see attachment)
Disclaimer: Please backup every file that you intend to modify.
If the modification modifies the database, it's a good idea to backup your database before doing so.
Note: If you modify your UBB.Threads code, you may be giving up your right for "official" support from Infopop.If you need official support, you'll need to restore unmodified files.