I've been using UseBB for a little while now, and also found that UseBB 2 is going to be developed. There have already been a few template engine suggestions, so I'll just add my favorite one here, TinyButStrong.
In the beginning it'll be a bit hard to understand but it's a really powerfull class to work with and also easier to understand after a while. Here is an example of the code for the CMS I'm writing using it, wich may eventually be integrated with UseBB 2 once it is released.
Index.php:
<?php
include_once('config.php');
include_once('./scripts/tbs_class.php');
$tmpl = new clsTinyButStrong;
$tmpl->LoadTemplate('template/home.html');
$data1 = $tmpl->MergeBlock('latest','mysql',"SELECT * FROM `articles` WHERE published = 1 ORDER BY id DESC LIMIT 0,5");
$data2 = $tmpl->MergeBlock('cats','mysql', "SELECT * FROM categories WHERE published = 'YES' ORDER BY id");
$data3 = $tmpl->MergeBlock('article', 'mysql', "SELECT * FROM articles WHERE published = 1 WHERE seftitle = ".$_GET['title']." ORDER BY id DESC");
$data4 = $tmpl->MergeBlock('files','mysql',"SELECT * FROM `files` ORDER BY id DESC LIMIT 0,5");
$tmpl->Show() ;
?>
Home.html
[onload;file=template/overall_header.html]
<div>
<h2><a href="news.php?mode=article&artid=[latest.id;]" class="news">[latest.title;htmlconv=no;]</a></h2>
[latest.text;htmlconv=no;block=div]
<div class="newsline">Posted on [latest.date]</div>
</div>
[onload;file=template/overall_footer.html]
It can handle more than one SQL DB system, like SQLite, MySQL and more wich can be added with plugins.
At least consider and try it, and good luck with developing!

Martijn



