Here is what mine looks like for 6.2.3
What version are you running?
UBBTPRINT;
} //UBBTREMARK
} //UBBTREMARK
echo <<<UBBTPRINT
<!-- END CATEGORY LOOP -->
<!-- END OF FORUM LOOP -->
$tbclose
UBBTPRINT;
require ("/usr/local/blah/blah/blah/ubbt_photopost.tmpl");
echo <<<UBBTPRINT
<br />
Look for the close of the Threads category and forum tables and add this directly after filling the path in to the template
UBBTPRINT;
require ("/usr/local/blah/blah/blah/ubbt_photopost.tmpl");
echo <<<UBBTPRINT
<br />