Dare I say it, but doing yet another project like this is absolutely futile. While one could easily splice in SQL statements in place of file opens, that doesn't get the job done and is horribly ineffecient. Doing it the right way would require signifigant rewriting of signifigant portions of the code. In the end, the effort wouldn't be worth it. You'd be better off starting with Threads and modifying it to suit your needs / be more UBB-like in terms of appearance.