********************************************************************************* * MOD NAME: Forum Summary Table Background Images * ********************************************************************************* * DESCRIPTION: Adds table background images to your forum summary page * * * * DEMO: none for v6 (yet, a v5 demo can be seen here: * * http://www.metallifukinca.com/cgi-bin/ubb/Ultimate.cgi ) * * * ********************************************************************************* * CREATED BY: Allen Ayres * * DATE: 08/23/02 * * VERSION: version 6.3.1 * * * * ORIG. VERSION: 5 series - Scud Muffin, also known as Flomble * * * * * ********************************************************************************* ********************************************************************************* * REQUIREMENTS: Full License * * COMPATABILITY: works with v6.3, should work on other v6 versions with slight * * modification * * * ********************************************************************************* * FILES MODIFIED: public_forum_summary.pl * * * ********************************************************************************* * DISCLAIMER: By using this modification, the user implicitly agrees * * that they are willingly modifying any and all files at * * their own risk. Should any errors occur either as a * * direct or indirect result of said modifications the user * * agrees not to hold Infopop Corporation or any of the * * individuals listed accountable. * * * * * * IN OTHER WORDS: PLEASE MAKE BACKUP COPIES OF EVERY FILE YOU PLAN TO * * MODIFY PRIOR TO MODIFICATION!! * * * * * * FOR MORE TIPS AND TRICKS FOR USE WITH THE ULTIMATE BULLETIN BOARD * * PLEASE VISIT US AT: * * * * http://www.ubbdev.com/ * * * ********************************************************************************* ********************************************************************************* All right, this is a quick hack, but it looks really nice. Below are instructions on what you need to do. There is only one thing you need to edit before you add the code into public_forum_summary.pl. It is Bold and Italic. It will be the table width. I recomend at least 300 (keep in mind, the BGImage must be the same width!). ################### ### Open public_forum_summary.pl: ################### ### ### Find Code: ### sub Normal_Table_Row { ### ### Directly After add: ### $bgtablewidth = 300; $backgroundconfirmer = qq~background="$NonCGIURL/forum$x.gif"~; ### ### Find Code: ### ### ### Replace with: ### -------------------------------------------------------------------------------- FINAL NOTES: Be sure to change the $bgtablewidth variable to the width of the BG image you want. It is imperative that it is the exact width of the image. All images must be the same width. Create the images and save them in your NonCGI Directory as forumnumber.gif. So if I wanted to add an image for a forum who's number was 2, the images name would be forum2.gif. If you want to have forums without BG images, just don't create them.