Why don't create a table... I think this character is not necessary:
Code:
CREATE TABLE IF NOT EXISTS`". TABLE_PREFIX ."`helpfulanswer` (
Second error (when i click
Yes or
No):
in javascript window
Code:
SELECT post.goodrank,post.totalrank
FROM vb_post
WHERE postid = 4914;
MySQL Error : Unknown column 'post.goodrank' in 'field list'
---------------
So, you should change your query in file
helpfulanswers.php on this code:
PHP Code:
$helpfulanswer = $db->query_first_slave("
SELECT post.goodrank, post.totalrank
FROM " . TABLE_PREFIX . "post AS post
WHERE post.postid = $postinfo[postid]
");
---------------
Third error

In file
helpfulanswers.php missed prefix:
Code:
$helpfulanswers = $db->query_read_slave("
SELECT postid,post.title as posttile,post.goodrank,post.totalrank,thread.threadid,thread.title as title
FROM " . TABLE_PREFIX . "post as post
INNER JOIN " . TABLE_PREFIX . "thread AS thread ON(post.threadid = thread.threadid)
WHERE goodrank > 0
ORDER BY goodrank DESC
LIMIT 0,$helpans_limit
");