HOW TO DELETE OLD THREADS AUTOMATICALLY AFTER 6 MONTHS and degrade your database...
just deleting from ubbt_TOPICS does NOT delete all the other supporting table entries that make up a topic!
you have ubbt_POSTS table to consider, which now has orphaned posts with no topic..
watch lists, where people might have been watching that topic.
possible polls.
possible files ( attachments ) that have been added to individual posts and more!
calendar events, announcements, stickies....
so do NOT consider the above CI to be what i'd recommend. matter of fact, i highly discourage it.
just open up scripts/doexpirethreads.inc.php to see all that needs to be taken into account

this is probably a ubbdev kinda topic anyway..
