Version 4.7.0
This commit is contained in:
1 parent
517a5e1f70
commit
8ba7d43898
1933 files changed
+65613
-11332
No files matched your search
@@ -404,6 +404,7 @@ class _Mybb extends \IPS\convert\Software
|
||||
'tag_meta_id' => $row['tid'],
|
||||
'tag_text' => $prefix,
|
||||
'tag_member_id' => $row['uid'],
|
||||
'tag_added' => $row['dateline'],
|
||||
'tag_prefix' => 1,
|
||||
) );
|
||||
}
|
||||
@@ -471,7 +472,14 @@ class _Mybb extends \IPS\convert\Software
|
||||
break;
|
||||
|
||||
case -1:
|
||||
$queued = -1;
|
||||
if( !$row['replyto'] )
|
||||
{
|
||||
$queued = 2; // First post in topic
|
||||
}
|
||||
else
|
||||
{
|
||||
$queued = -1;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -487,6 +495,12 @@ class _Mybb extends \IPS\convert\Software
|
||||
'queued' => $queued,
|
||||
'post_edit_reason' => $row['editreason'],
|
||||
);
|
||||
|
||||
// Flag as first post in topic
|
||||
if( $queued == 2 )
|
||||
{
|
||||
$info['new_topic'] = 1;
|
||||
}
|
||||
|
||||
$libraryClass->convertForumsPost( $info );
|
||||
|
||||
|
||||
Reference in new issue
Block a user