Mod Name / Version: Another simple modification
Description: Adds a [scroll] tag to allow for scrolling text.
Working Under: UBB.Threads 6.1-6.2-6.3
Mod Status: Finished
Any pre-requisites: None
Author(s): PhotoPost
Date: 09/10/03
Credits: Me
Files Altered: ubbt.inc.php
New Files: None
Database Altered: None
Info/Instructions: In ubbt.inc.php in the do_markup() function, add the code in bold:
$Body =str_replace("[/u]","</u>",$Body);
$Body =str_replace("[scroll]","<marquee>",$Body);
$Body =str_replace("[/scroll]","</marquee>",$Body);
a little further down in undo_markup() add the code in bold:
$Body =str_replace("</u>","[/u]",$Body);
$Body =str_replace("<marquee>","[scroll]",$Body);
$Body =str_replace("</marquee>","[/scroll]",$Body);
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.