Are you using table prefixes at all? The quick text file I wrote up didn't have prefixes, so you'll need to edit the SELECT ... FROM attachment to include that.
Sounds like an error in the main SELECT $votequery $previewfield query. The only addition I make is the thread.firstpostid field.
Remember, to install my version you need to REMOVE all traces of the previous thumbnail hack.
|