Та это собсно и модом сложно назвать )
Код: Выделить всё
#
#-----[ OPEN ]------------------------------------------
#
includes/functions_post.php
#
#-----[ FIND ]------------------------------------------
#
$edited_sql = ($mode == 'editpost' && !$post_data['last_post'] && $post_data['poster_post']) ? ", post_edit_time = $current_time, post_edit_count = post_edit_count + 1 " : "";
#
#-----[ IN-LINE FIND ]------------------------------------------
#
&& !$post_data['last_post'] && $post_data['poster_post']
#
#-----[ IN-LINE REPLACE WITH ]------------------------------------------
# We are commenting this code.
/* && !$post_data['last_post'] && $post_data['poster_post'] */
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
Но дело в том что я вот вернул назад как а оно было так и остался.. я думаю чо дело в чем то другом .. щас буду выяснять ..
Все таки понять не могу.. проверил всесвои моды.. ни один вродь не зарагивает..
Аа вот нашел единственное:
Мод - AbTrack BT-Tracker MOD 1.0.1b
Код: Выделить всё
#
#-----[ OPEN ]---------------------------------------------
#
includes/functions_post.php
#
#-----[ FIND ]---------------------------------------------
#
$sql = ($mode != "editpost") ? "INSERT INTO " . TOPICS_TABLE . " (topic_title, topic_poster, topic_time, forum_id, topic_status, topic_type, topic_vote) VALUES ('$post_subject', " . $userdata['user_id'] . ", $current_time, $forum_id, " . TOPIC_UNLOCKED . ", $topic_type, $topic_vote)" : "UPDATE " . TOPICS_TABLE . " SET topic_title = '$post_subject', topic_type = $topic_type " . (($post_data['edit_vote'] || !empty($poll_title)) ? ", topic_vote = " . $topic_vote : "") . " WHERE topic_id = $topic_id";
#
#-----[ REPLACE WITH ]---------------------------------------
#
//bt
global $post_info, $is_auth, $HTTP_POST_VARS;
$topic_dl_type = (isset($HTTP_POST_VARS['topic_dl_type']) && ($post_info['topic_dl_type'] || $post_info['allow_dl_topic'] || $is_auth['auth_mod'])) ? TOPIC_DL_TYPE_DL : TOPIC_DL_TYPE_NORMAL;
$sql = ($mode != "editpost") ? "INSERT INTO " . TOPICS_TABLE . " (topic_title, topic_poster, topic_time, forum_id, topic_status, topic_type, topic_dl_type, topic_vote) VALUES ('$post_subject', " . $userdata['user_id'] . ", $current_time, $forum_id, " . TOPIC_UNLOCKED . ", $topic_type, $topic_dl_type, $topic_vote)" : "UPDATE " . TOPICS_TABLE . " SET topic_title = '$post_subject', topic_type = $topic_type, topic_dl_type = $topic_dl_type " . ((@$post_data['edit_vote'] || !empty($poll_title)) ? ", topic_vote = " . $topic_vote : "") . " WHERE topic_id = $topic_id";
//bt end
#
#-----[ FIND ]---------------------------------------------
#
$sql = "DELETE FROM " . TOPICS_WATCH_TABLE . "
WHERE topic_id = $topic_id";
if (!$db->sql_query($sql))
{
message_die(GENERAL_ERROR, 'Error in deleting post', '', __LINE__, __FILE__, $sql);
}
#
#-----[ AFTER, ADD ]---------------------------------------
#
//bt
$sql = 'DELETE FROM '. BT_USR_DL_STAT_TABLE ."
WHERE topic_id = $topic_id";
if (!$db->sql_query($sql))
{
message_die(GENERAL_ERROR, 'Error in deleting post', '', __LINE__, __FILE__, $sql);
}
//bt end
Как это могло повлияеть.. щас я поставлю на голый форум.. протестю..
Добавлено спустя 22 минуты 54 секунды:
Да.. так и есть .. причина имено в моде AbTrack.. поставил голый форум, все протестил - нормально, т.е. в случае если амин редактить сообщение юзера то пишеться что авор редакции - амин .. накатил абТрэк, и перестало писаться ..
Xpert, я не могу сориентироваться.. если вы увидели в чем трабл, подскажите плиз фикс..
Если нет, то черт уже с ним .. зато разобрался откуда баг ..