arg, problems on this server now, can't acces to page 2 anymore....
hmm, i also use v2.2.5.
this is the part of the original file:
PHP Code:
if ($attachmentid and !$foruminfo[moderateattach]) {
$DB_site->query("UPDATE thread SET attach = attach + 1 WHERE threadid = '$threadid'");
}
$DB_site->query("INSERT INTO post (postid,threadid,title,username,userid,dateline,attachmentid,pagetext,allowsmilie,showsignature,ipaddress,iconid,visible) VALUES (NULL,'$threadid','".addslashes(htmlspecialchars($title))."','".addslashes($postusername)."','$bbuserinfo[userid]','".time()."','$attachmentid','".addslashes($message)."','$allowsmilie','$signature','$ipaddress','$iconid','$visible')");
$postid=$DB_site->insert_id();
indexpost($postid,0);
if every $title is canged in $subject in your file, then it won' be a problem.
just replace evere $title in my hack with $subject. but i'm wondering why you have differen files then.