I run beta4 on my test site. This hack works fine. Your template is a bit whacked from a stock template. Here is where it needs to be. Add everything between the $tbclose and $tbopen
<!-- END CATEGORY LOOP --> <!-- END OF FORUM LOOP --> $tbclose <br /> UBBTPRINT; require ("/usr/local/blah/blah/blah/templates/default/ubbt_photopost.tmpl"); echo <<<UBBTPRINT <br /> $tbopen
Also did you fill out the photopost.inc.php file with your settings and upload it to your threads directory?
But think I got it right with what I tried before. It still says Query failed though. So I think I have it in the right place in ubbthreads.tmpl, the problem is somewhere else.
I'm using this for ReviewPost, BTW. I filled-out and uploaded reviewpost.inc.php to the folder above my root. This is where I keep my config.inc.php file, and the instructions said to put it in the same folder. For good measure, I copied the file to my threads directory as well, but that did not help.
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.