ok, in editpost.php just before this:
PHP Code:
eval("standardredirect(\"".gettemplate("redirect_editthanks")."\",\"showthread.php?s=$session[sessionhash]&postid=$postid#post$postid\");");
you should add this:
PHP Code:
if($bbuserinfo['usergroupid'] == 6 and $foruminfo['lastpost'] < $datetime) {
$DB_site->query("UPDATE forum SET lastpost='".$datetime."',lastposter='".addslashes($postusername)."' WHERE forumid IN ($foruminfo[parentlist])");
}
it should work.
the other method would be tu run the upgrade script automatically if this doesn't work, but that would mean som queries again