cannot find post above and this one below in postings.php
After that I am good to go.
look for
$getfirstpost=$DB_site->query_first("SELECT postid FROM post WHERE threadid=$threadid ORDER BY dateline LIMIT 1");
$DB_site->query("DELETE FROM searchindex WHERE postid=$getfirstpost[postid]");
indexpost($getfirstpost[postid]);
$getfirstpost=$DB_site->query_first("SELECT postid FROM post WHERE threadid=$newthreadid ORDER BY dateline LIMIT 1");
$DB_site->query("DELETE FROM searchindex WHERE postid=$getfirstpost[postid]");
|