Yes Josh is right if you have the chat directory under Threads you would not have needed to edit the template to do chat/jirc.php either. That Template I posted for you I modified for a MOCK room name for you and a MOCK title. It works fine under the scheme it is suppose to be. All chat files go in the chat subdirectory and then the template file in the template/default directory.
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.