You can add UBB Code by hacking the methods html::do_markup() and html:undo_markup() in ubbt.inc.php. I think there's a published hack in one of the mods forums here that makes this easier. It's tricky to change the UBB Code, though, so be careful.
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.