diff --git a/upload/config.php b/upload/config.php
index 770579e2c..1f29c34b8 100644
--- a/upload/config.php
+++ b/upload/config.php
@@ -63,7 +63,7 @@ $bb_cfg = $tr_cfg = $page_cfg = array();
// Increase number of revision after update
$bb_cfg['tp_version'] = '2.4 (beta)';
-$bb_cfg['tp_release_state'] = 'R344';
+$bb_cfg['tp_release_state'] = 'R345';
$bb_cfg['tp_release_date'] = '31-01-2012';
// Database
diff --git a/upload/includes/functions_post.php b/upload/includes/functions_post.php
index dca31b93c..61570a933 100644
--- a/upload/includes/functions_post.php
+++ b/upload/includes/functions_post.php
@@ -645,8 +645,6 @@ function insert_post ($mode, $topic_id, $forum_id = '', $old_forum_id = '', $new
$post_username = $post_subject = $post_text = $poster_ip = '';
$post_time = $current_time = TIMENOW;
- $username = $userdata['username'];
- $user_id = $userdata['user_id'];
if ($mode == 'after_move')
{
@@ -663,14 +661,14 @@ function insert_post ($mode, $topic_id, $forum_id = '', $old_forum_id = '', $new
}
if (!$forum_names) return;
- $post_text = sprintf($lang['BOT_TOPIC_MOVED_FROM_TO'], "$forum_names[$old_forum_id]", "$forum_names[$forum_id]", "$username");
+ $post_text = sprintf($lang['BOT_TOPIC_MOVED_FROM_TO'], "$forum_names[$old_forum_id]", "$forum_names[$forum_id]", profile_url($userdata));
$poster_id = BOT_UID;
$poster_ip = '7f000001';
}
else if ($mode == 'after_split_to_old')
{
- $post_text = sprintf($lang['BOT_MESS_SPLITS'], "". htmlCHR($new_topic_title) ."", "$username");
+ $post_text = sprintf($lang['BOT_MESS_SPLITS'], "". htmlCHR($new_topic_title) ."", profile_url($userdata));
$poster_id = BOT_UID;
$poster_ip = '7f000001';
@@ -687,7 +685,7 @@ function insert_post ($mode, $topic_id, $forum_id = '', $old_forum_id = '', $new
$old_topic_title = $row['topic_title'];
$post_time = $row['post_time'] - 1;
- $post_text = sprintf($lang['BOT_TOPIC_SPLITS'], "$old_topic_title", "$username");
+ $post_text = sprintf($lang['BOT_TOPIC_SPLITS'], "$old_topic_title", profile_url($userdata));
$poster_id = BOT_UID;
$poster_ip = '7f000001';