diff --git a/boards/mybb/pollvotes.php b/boards/mybb/pollvotes.php index eab3cf3..dd9a19a 100644 --- a/boards/mybb/pollvotes.php +++ b/boards/mybb/pollvotes.php @@ -66,6 +66,7 @@ function convert_data($data) // MyBB 1.8 values $insert_data['uid'] = $this->get_import->uid($data['uid']); $insert_data['pid'] = $this->get_import->pollid($data['pid']); + $insert_data['ipaddress'] = $this->old_db->unescape_binary($data['ipaddress']); return $insert_data; } diff --git a/boards/mybb/posts.php b/boards/mybb/posts.php index 07c69df..2f4ee41 100644 --- a/boards/mybb/posts.php +++ b/boards/mybb/posts.php @@ -77,6 +77,7 @@ function convert_data($data) $insert_data['message'] = encode_to_utf8($this->bbcode_parser->convert($data['message']), "posts", "posts"); $insert_data['edituid'] = $this->get_import->uid($data['edituid']); $insert_data['editreason'] = encode_to_utf8($data['editreason'], "posts", "posts"); + $insert_data['ipaddress'] = $this->old_db->unescape_binary($data['ipaddress']); return $insert_data; } diff --git a/boards/mybb/privatemessages.php b/boards/mybb/privatemessages.php index 978de68..85ce311 100644 --- a/boards/mybb/privatemessages.php +++ b/boards/mybb/privatemessages.php @@ -69,6 +69,7 @@ function convert_data($data) $insert_data['toid'] = $this->get_import->uid($data['toid']); $insert_data['subject'] = encode_to_utf8($data['subject'], "privatemessages", "privatemessages"); $insert_data['message'] = encode_to_utf8($data['message'], "privatemessages", "privatemessages"); + $insert_data['ipaddress'] = $this->old_db->unescape_binary($data['ipaddress']); $touserarray = unserialize($data['recipients']); diff --git a/boards/mybb/users.php b/boards/mybb/users.php index eaf88db..012a9a5 100644 --- a/boards/mybb/users.php +++ b/boards/mybb/users.php @@ -92,6 +92,8 @@ function convert_data($data) $insert_data['signature'] = encode_to_utf8($data['signature'], "users", "users"); $insert_data['import_usergroup'] = $data['usergroup']; $insert_data['import_additionalgroups'] = $data['additionalgroups']; + $insert_data['regip'] = $this->old_db->unescape_binary($data['regip']); + $insert_data['lastip'] = $this->old_db->unescape_binary($data['lastip']); return $insert_data; }