OK...Fixed this problem. UBB.threads uses PHP short tags so short_open_tag = On must be set in php.ini. I don't recall seeing this in the install instructions.

Interestingly, the PHP site discourges the use of short tags for commercially distributed systems since some ISPs may not be willing to enable the feature.