I'm clearing the showthread_query a little and deleted all code for attachments viewing.
This code is left in the showthread_query.
_______________________________
if ($forum['showfirstpost'])
{
$ids .= ",$thread[firstpostid]";
$postids = "post.postid IN (0" . $ids . ")";
_______________________________
The db error disappear and all seems to work..... -postbit_first template shows up- .......but only on the first page.
Why is that?
Any help is mostly appreciated.