When you installed your UBB, you did not upload vars_style_sets.cgi in ASCII mode.
Download that file in ASCII, then reupload it in ASCII. After doing so, go to the Style Templates area of the control panel and ensure that the assignment of each style template to each area of the UBB are correct. After doing so, be sure to hit the Submit button...!