'oldUsername' => '',
'registrationIpAddress' => UserUtil::convertIPv4To6($row['regip']),
'signature' => $row['signature'],
- 'signatureEnableBBCodes' => 1,
- 'signatureEnableHtml' => 0,
- 'signatureEnableSmilies' => 1,
'disableSignature' => $row['suspendsignature'],
'disableSignatureReason' => '',
'userTitle' => $row['usertitle'],
'userID' => $row['fromid'],
'username' => $row['username'] ?: '',
'message' => self::fixBBCodes($row['message']),
- 'time' => $row['dateline'],
- 'enableSmilies' => $row['smilieoff'] ? 0 : 1,
- 'showSignature' => $row['includesig'] ? 1 : 0
+ 'time' => $row['dateline']
]);
}
}
'editor' => $row['editor'] ?: '',
'lastEditTime' => $row['edittime'],
'editCount' => $row['editor'] ? 1 : 0,
- 'enableSmilies' => $row['smilieoff'] ? 0 : 1,
- 'showSignature' => $row['includesig'],
'ipAddress' => UserUtil::convertIPv4To6($row['ipaddress'])
]);
}
'banReason' => $row['banReason'],
'registrationIpAddress' => UserUtil::convertIPv4To6($row['user_ip']),
'signature' => self::fixBBCodes(StringUtil::decodeHTML($row['user_sig']), $row['user_sig_bbcode_uid']),
- 'signatureEnableBBCodes' => ($row['user_sig_bbcode_uid'] ? (mb_strpos($row['user_sig'], $row['user_sig_bbcode_uid']) !== false ? 1 : 0) : 1),
- 'signatureEnableHtml' => 0,
- 'signatureEnableSmilies' => preg_match('/<!-- s.*? -->/', $row['user_sig']),
'lastActivityTime' => $row['user_lastvisit']
];
'username' => StringUtil::decodeHTML($row['username']) ?: '',
'message' => self::fixBBCodes(StringUtil::decodeHTML($row['message_text']), $row['bbcode_uid']),
'time' => $row['message_time'],
- 'attachments' => $row['attachments'],
- 'enableSmilies' => $row['enable_smilies'],
- 'enableHtml' => 0,
- 'enableBBCodes' => $row['enable_bbcode'],
- 'showSignature' => $row['enable_sig']
+ 'attachments' => $row['attachments']
]);
}
}
'editCount' => $row['post_edit_count'],
'editReason' => (!empty($row['post_edit_reason']) ? $row['post_edit_reason'] : ''),
'attachments' => $row['attachments'],
- 'enableSmilies' => $row['enable_smilies'],
'enableHtml' => 0,
- 'enableBBCodes' => $row['enable_bbcode'],
- 'showSignature' => $row['enable_sig'],
'ipAddress' => UserUtil::convertIPv4To6($row['poster_ip'])
]);
}
'banReason' => $row['banReason'],
'registrationIpAddress' => UserUtil::convertIPv4To6($row['user_ip']),
'signature' => self::fixBBCodes(StringUtil::decodeHTML($row['user_sig']), $row['user_sig_bbcode_uid']),
- 'signatureEnableBBCodes' => ($row['user_sig_bbcode_uid'] ? (mb_strpos($row['user_sig'], $row['user_sig_bbcode_uid']) !== false ? 1 : 0) : 1),
- 'signatureEnableHtml' => 0,
- 'signatureEnableSmilies' => preg_match('/<!-- s.*? -->/', $row['user_sig']),
'lastActivityTime' => $row['user_lastvisit']
];
'username' => StringUtil::decodeHTML($row['username']) ?: '',
'message' => self::fixBBCodes(StringUtil::decodeHTML($row['message_text']), $row['bbcode_uid']),
'time' => $row['message_time'],
- 'attachments' => $row['attachments'],
- 'enableSmilies' => $row['enable_smilies'],
- 'enableHtml' => 0,
- 'enableBBCodes' => $row['enable_bbcode'],
- 'showSignature' => $row['enable_sig']
+ 'attachments' => $row['attachments']
]);
}
}
'editCount' => $row['post_edit_count'],
'editReason' => (!empty($row['post_edit_reason']) ? $row['post_edit_reason'] : ''),
'attachments' => $row['attachments'],
- 'enableSmilies' => $row['enable_smilies'],
'enableHtml' => 0,
- 'enableBBCodes' => $row['enable_bbcode'],
- 'showSignature' => $row['enable_sig'],
'ipAddress' => UserUtil::convertIPv4To6($row['poster_ip'])
]);
}
'activationCode' => $row['validation_code'] ? UserRegistrationUtil::getActivationCode() : 0, // smf's codes are strings
'registrationIpAddress' => $row['member_ip'], // member_ip2 is HTTP_X_FORWARDED_FOR
'signature' => $row['signature'],
- 'signatureEnableBBCodes' => 1,
- 'signatureEnableHtml' => 0,
- 'signatureEnableSmilies' => 1,
'userTitle' => StringUtil::decodeHTML($row['usertitle']),
'lastActivityTime' => $row['last_login']
];
'username' => $row['from_name'],
'message' => self::fixBBCodes($row['body']),
'time' => $row['msgtime'],
- 'attachments' => 0, // not supported
- 'enableSmilies' => 1,
- 'enableHtml' => 0,
- 'enableBBCodes' => 1,
- 'showSignature' => 1
+ 'attachments' => 0 // not supported
]);
}
}
'lastEditTime' => $row['modified_time'],
'editCount' => $row['modified_time'] ? 1 : 0,
'editReason' => (!empty($row['editReason']) ? $row['editReason'] : ''),
- 'enableSmilies' => $row['smileys_enabled'],
'enableHtml' => 0,
- 'enableBBCodes' => 1,
- 'showSignature' => 1,
'ipAddress' => UserUtil::convertIPv4To6($row['poster_ip'])
]);
}
'userID' => $row['fromuserid'],
'username' => StringUtil::decodeHTML($row['fromusername']),
'message' => self::fixBBCodes($row['message']),
- 'time' => $row['dateline'],
- 'enableSmilies' => $row['allowsmilie'],
- 'enableHtml' => 0,
- 'enableBBCodes' => 1,
- 'showSignature' => $row['showsignature']
+ 'time' => $row['dateline']
]);
}
}
'editCount' => ($row['editCount'] && $row['editCount'] > 0 ? $row['editCount'] : 0),
'editReason' => $row['editReason'] ?: '',
'attachments' => $row['attach'],
- 'enableSmilies' => $row['allowsmilie'],
'enableHtml' => (isset($row['htmlState']) && $row['htmlState'] != 'off' ? 1 : 0),
- 'enableBBCodes' => 1,
- 'showSignature' => $row['showsignature'],
'ipAddress' => UserUtil::convertIPv4To6($row['ipaddress'])
]);
}
'subject' => $row['title'],
'message' => self::fixBBCodes($row['event']),
'time' => $row['dateline'],
- 'enableSmilies' => $row['allowsmilies'],
'eventDate' => serialize($eventDateData)
];
'lastEditTime' => 0,
'editCount' => 0,
'editReason' => '',
- 'enableSmilies' => $row['allowsmilie'],
'enableHtml' => (isset($row['htmlState']) && $row['htmlState'] != 'off' ? 1 : 0),
- 'enableBBCodes' => 1,
- 'showSignature' => $row['showsignature'],
'ipAddress' => UserUtil::convertIPv4To6($row['ipaddress'])
]);
}
'userTitle' => $row['title'],
'disableSignature' => $row['disablesignature'],
'banned' => $row['blocked'],
- 'signatureEnableSmilies' => $row['allowsigsmilies'],
'signatureEnableHtml' => $row['allowsightml'],
- 'signatureEnableBBCodes' => $row['allowsigbbcode'],
'registrationIpAddress' => (!empty($row['reg_ipaddress']) ? $row['reg_ipaddress'] : '')
];
'message' => self::fixBBCodes($row['message']),
'time' => $row['sendtime'],
'attachments' => $row['attachments'],
- 'enableSmilies' => $row['allowsmilies'],
- 'enableHtml' => $row['allowhtml'],
- 'enableBBCodes' => $row['allowbbcode'],
- 'showSignature' => $row['showsignature']
+ 'enableHtml' => $row['allowhtml']
]);
}
}
'lastEditTime' => $row['edittime'],
'editCount' => $row['editcount'],
'attachments' => $row['attachments'],
- 'enableSmilies' => $row['allowsmilies'],
'enableHtml' => $row['allowhtml'],
- 'enableBBCodes' => $row['allowbbcode'],
- 'showSignature' => $row['showsignature'],
'ipAddress' => UserUtil::convertIPv4To6($row['ipaddress'])
]);
}
'disableAvatarReason' => (!empty($row['disableAvatarReason']) ? $row['disableAvatarReason'] : ''),
'enableGravatar' => ((!empty($row['gravatar']) && $row['gravatar'] == $row['email']) ? 1 : 0),
'signature' => $row['signature'],
- 'signatureEnableBBCodes' => $row['enableSignatureBBCodes'],
'signatureEnableHtml' => $row['enableSignatureHtml'],
- 'signatureEnableSmilies' => $row['enableSignatureSmilies'],
'disableSignature' => $row['disableSignature'],
'disableSignatureReason' => $row['disableSignatureReason'],
'profileHits' => $row['profileHits'],
'message' => self::fixBBCodes($row['message']),
'time' => $row['time'],
'attachments' => $row['attachments'],
- 'enableSmilies' => $row['enableSmilies'],
- 'enableHtml' => $row['enableHtml'],
- 'enableBBCodes' => $row['enableBBCodes'],
- 'showSignature' => $row['showSignature']
+ 'enableHtml' => $row['enableHtml']
]);
}
}
'editCount' => $row['editCount'],
'editReason' => (!empty($row['editReason']) ? $row['editReason'] : ''),
'attachments' => $row['attachments'],
- 'enableSmilies' => $row['enableSmilies'],
'enableHtml' => $row['enableHtml'],
- 'enableBBCodes' => $row['enableBBCodes'],
- 'showSignature' => $row['showSignature'],
'ipAddress' => UserUtil::convertIPv4To6($row['ipAddress']),
'deleteTime' => $row['deleteTime']
]);
'time' => $row['time'],
'attachments' => $row['attachments'],
'comments' => $row['comments'],
- 'enableSmilies' => $row['enableSmilies'],
'enableHtml' => $row['enableHtml'],
- 'enableBBCodes' => $row['enableBBCodes'],
'views' => $row['views'],
'isPublished' => $row['isPublished'],
'publicationDate' => $row['publishingDate']
'time' => $row['time'],
'ipAddress' => $row['ipAddress'],
'attachments' => $row['attachments'],
- 'enableSmilies' => $row['enableSmilies'],
'enableHtml' => $row['enableHtml'],
- 'enableBBCodes' => $row['enableBBCodes'],
- 'showSignature' => $row['showSignature'],
'eventDate' => serialize($eventDateData)
];
if ($row['participationID']) {
'disableAvatarReason' => $row['disableAvatarReason'],
'enableGravatar' => $row['enableGravatar'],
'signature' => $row['signature'],
- 'signatureEnableBBCodes' => $row['signatureEnableBBCodes'],
'signatureEnableHtml' => $row['signatureEnableHtml'],
- 'signatureEnableSmilies' => $row['signatureEnableSmilies'],
'disableSignature' => $row['disableSignature'],
'disableSignatureReason' => $row['disableSignatureReason'],
'profileHits' => $row['profileHits'],
'message' => $row['message'],
'time' => $row['time'],
'attachments' => $row['attachments'],
- 'enableSmilies' => $row['enableSmilies'],
'enableHtml' => $row['enableHtml'],
- 'enableBBCodes' => $row['enableBBCodes'],
- 'showSignature' => $row['showSignature'],
'ipAddress' => $row['ipAddress']
]);
}
'editCount' => $row['editCount'],
'editReason' => $row['editReason'],
'attachments' => $row['attachments'],
- 'enableSmilies' => $row['enableSmilies'],
'enableHtml' => $row['enableHtml'],
- 'enableBBCodes' => $row['enableBBCodes'],
- 'showSignature' => $row['showSignature'],
'ipAddress' => $row['ipAddress'],
'deleteTime' => $row['deleteTime']
]);
'attachments' => $row['attachments'],
'comments' => $row['comments'],
'views' => $row['views'],
- 'enableSmilies' => $row['enableSmilies'],
'enableHtml' => $row['enableHtml'],
- 'enableBBCodes' => $row['enableBBCodes'],
- 'enableComments' => $row['enableBBCodes'],
- 'showSignature' => $row['showSignature'],
+ 'enableComments' => $row['enableComments'],
'isDisabled' => $row['isDisabled'],
'isDeleted' => $row['isDeleted'],
'isPublished' => $row['isPublished'],
if ($sourceVersion21 && $destVersion21) {
$images[$row['imageID']] = array_merge($images[$row['imageID']], [
- 'enableSmilies' => $row['enableSmilies'],
'enableHtml' => $row['enableHtml'],
- 'enableBBCodes' => $row['enableBBCodes'],
'rawExifData' => $row['rawExifData'],
'hasEmbeddedObjects' => $row['hasEmbeddedObjects'],
'hasMarkers' => $row['hasMarkers'],
'eventDate' => $row['eventDate'],
'eventColor' => $row['eventColor'],
'views' => $row['views'],
- 'enableSmilies' => $row['enableSmilies'],
'enableHtml' => $row['enableHtml'],
- 'enableBBCodes' => $row['enableBBCodes'],
'enableComments' => $row['enableComments'],
- 'showSignature' => $row['showSignature'],
'isDisabled' => $row['isDisabled'],
'isDeleted' => $row['isDeleted'],
'ipAddress' => $row['ipAddress'],