Lierduh,
There is a BIG error in your code in function sendnews.
PHP Code:
if (!$isreply){
$DB_site->query("UPDATE " . TABLE_PREFIX . "thread
SET msgid = '<".addslashes($msgid).">',
prefix = '".$prefix[$newthread['forumid']]."'");
}
There is No WHERE clause in the query.
After using this, EVERY thread in my DB has been updated with the new msgid from the latest new thread created in the newsgroup forums.
Any way to fix this? By fixing this, I mean, resetting all the msgid's to the correct ones, or removing values where they don't belong in the thread table?