Moderator: Experts
if you could help me about this issue i will be so glad
i have to edit viewtopic.php and also viewtopic_body.tpl but how
#
#---- [FIND] ----
#
redirect(append_sid("viewtopic.$phpEx?" . POST_POST_URL . "=" . $post_id) . '#' . $post_id, true);
#
#---- [BEFORE, ADD] ----
#
$attachment_mod['posting']->insert_attachment($post_id);asort($tracking_topics);
unset($tracking_topics[key($tracking_topics)]);
}
$tracking_topics[$topic_id] = time();
setcookie($board_config['cookie_name'] . '_t', serialize($tracking_topics), 0, $board_config['cookie_path'], $board_config['cookie_domain'], $board_config['cookie_secure']);
}
$attachment_mod['posting']->insert_attachment($post_id);
redirect(append_sid("viewtopic.$phpEx?" . POST_POST_URL . "=" . $post_id) . '#' . $post_id, true);
if ( $mode != 'editpost' )
{
$user_id = ( $mode == 'reply' || $mode == 'newtopic' ) ? $userdata['user_id'] : $post_data['poster_id'];
update_post_stats($mode, $post_data, $forum_id, $topic_id, $post_id, $user_id);
}
if ($error_msg == '' && $mode != 'poll_delete')
redirect(append_sid("viewtopic.$phpEx?" . POST_POST_URL . "=" . $post_id) . '#' . $post_id, true);#
#---- [FIND] ----
#
$attachment_mod['posting']->insert_attachment($post_id);
#
#---- [AFTER, ADD] ----
#
redirect(append_sid("viewtopic.$phpEx?" . POST_POST_URL . "=" . $post_id) . '#' . $post_id, true);Return to Legacy Attachment MOD Support
Users browsing this forum: No registered users and 2 guests