I never used threads 6x but for all the other versions it would not be a file edit but to access the control panel under html includes.
There would be a header and footer section.
Place the html in the header part before the place holder you want the forum to appear and do the same with the footer section.