Установил мод Mark_edited_posts_as_unread_v1.0.1. Мод предельно простой, и в нём всего одна инструкция:
Open: includes/functions_posting.php
Find
Код: Выделить всё
// First of all make sure the subject and topic title are having the correct length.Код: Выделить всё
// Start : Mark edited posts as unread MOD
if($post_mode == 'edit_last_post' || $post_mode == 'edit_topic')
{
$sql_update_posts = 'UPDATE ' . POSTS_TABLE . '
SET post_time = ' . $current_time . '
WHERE post_id = ' . $data['post_id'] . '
AND topic_id = ' . $data['topic_id'];
$db->sql_query($sql_update_posts);
$sql_update_topics = 'UPDATE ' . TOPICS_TABLE . '
SET topic_last_post_time = ' . $current_time . '
WHERE topic_id = ' . $data['topic_id'];
$db->sql_query($sql_update_topics);
update_post_information('forum', $data['forum_id']);
markread('post', $data['forum_id'], $data['topic_id'], $data['post_time']);
}
// End : Mark edited posts as unread MOD
