public function getSteps()
{
return array(
'userGroups' => array(
'title' => new XenForo_Phrase('import_user_groups')
),
'userFields' => array(
'title' => new XenForo_Phrase('import_custom_user_fields')
),
'users' => array(
'title' => new XenForo_Phrase('import_users'),
'depends' => array('userGroups', 'userFields')
),
'avatars' => array(
'title' => new XenForo_Phrase('import_custom_avatars'),
'depends' => array('users')
),
'privateMessages' => array(
'title' => new XenForo_Phrase('import_private_messages'),
'depends' => array('users')
),
'profileComments' => array(
'title' => new XenForo_Phrase('import_profile_comments'),
'depends' => array('users')
),
'statusUpdates' => array(
'title' => new XenForo_Phrase('import_user_status_updates'),
'depends' => array('users')
),
'forums' => array(
'title' => new XenForo_Phrase('import_forums'),
'depends' => array('userGroups')
),
'forumPermissions' => array(
'title' => new XenForo_Phrase('import_forum_permissions'),
'depends' => array('forums')
),
'moderators' => array(
'title' => new XenForo_Phrase('import_moderators'),
'depends' => array('forums', 'users')
),
'threads' => array(
'title' => new XenForo_Phrase('import_threads_and_posts'),
'depends' => array('forums', 'users')
),
'polls' => array(
'title' => new XenForo_Phrase('import_polls'),
'depends' => array('threads')
),
'attachments' => array(
'title' => new XenForo_Phrase('import_attached_files'),
'depends' => array('threads')
),
'reputation' => array(
'title' => new XenForo_Phrase('import_positive_reputation'),
'depends' => array('threads')
),
);
// TODO: user upgrades?
// deferred: albums/comments, announcements, custom bb code, calendars/events, social groups, infractions, tags
}