One more bug fix for ya bud.
If you use a tableprefix and use this thread to post a reply, you'll get an error, missed 2 table prefixs.
Change this in the plugin
Code:
if ($formreply == "1") {
$db->query("INSERT INTO post (postid,threadid,title,username,userid,dateline,pagetext,allowsmilie,showsignature,ipaddress,iconid,visible) VALUES (NULL,'$formreplythreadid','".$db->escape_string(htmlspecialchars($bbuserinfo[username]))." $formtitle','".$db->escape_string($bbuserinfo[username])."','$bbuserinfo[userid]','".time()."','" . $db->escape_string($formsend) . "','1','1','0','0','1')");
$db->query("UPDATE thread SET replycount = replycount + 1, lastpost = " . TIMENOW . ", lastposter = '".$db->escape_string($bbuserinfo[username])."' WHERE threadid = $formreplythreadid");
To this
Code:
if ($formreply == "1") {
$db->query("INSERT INTO " . TABLE_PREFIX . "post (postid,threadid,title,username,userid,dateline,pagetext,allowsmilie,showsignature,ipaddress,iconid,visible) VALUES (NULL,'$formreplythreadid','".$db->escape_string(htmlspecialchars($bbuserinfo[username]))." $formtitle','".$db->escape_string($bbuserinfo[username])."','$bbuserinfo[userid]','".time()."','" . $db->escape_string($formsend) . "','1','1','0','0','1')");
$db->query("UPDATE " . TABLE_PREFIX . "thread SET replycount = replycount + 1, lastpost = " . TIMENOW . ", lastposter = '".$db->escape_string($bbuserinfo[username])."' WHERE threadid = $formreplythreadid");