User import

{if $processPoint eq 'pre'}

Step 1

Please supply a CSV file with the following columns in order. All columns must be supplied, but only those marked with a * must be populated.

<name> can include spaces.

{elseif $processPoint eq 'check'}

Step 2

Post found

{foreach from=$ideas item=postObj}
{$postObj->data.post_title}
By user: {$postObj->data.post_user}
Created: {$postObj->data.post_created|date_format:"%a, %d %b %Y %H:%M:%S"}
{$postObj->data.post_text} {foreach from=$postObj->tempData.comments item=commentObj}
COMMENT: {$commentObj->data.post_title} By user: {$commentObj->data.post_user}
{/foreach} {if isset($failedPostNames[$postObj->data.post_title])}
ERRORS FOR {$postObj->data.post_title} {foreach $failedPostNames[$postObj->data.post_title] as $error}

{$error|var_dump}

{/foreach}
{/if}
{foreachelse}
None.
{/foreach}
Only do this if there are no errors
{elseif $processPoint eq 'run'}

Step 3

{foreach from=$failedPosts item=postName}
Failed: {$postName}
{/foreach}

Assuming all went to plan, everything should be imported!

{/if}