From: Chuck Scott Date: Tue, 5 May 2015 23:13:10 +0000 (-0400) Subject: More updates to import X-Git-Tag: v1.0.0~35 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=6f86c3cd6e472d2a93f7880606e5c95dbc2d225c;p=WP-Plugins%2Fglm-member-db.git More updates to import --- diff --git a/classes/glmMemberImportFromConnections.php b/classes/glmMemberImportFromConnections.php index 0fa9d876..009b2184 100644 --- a/classes/glmMemberImportFromConnections.php +++ b/classes/glmMemberImportFromConnections.php @@ -111,8 +111,38 @@ class GlmMemberImportFromConnections while (list($k, $v) = each($list)) { // Addresses - $addrArray = unserialize($v['addresses']); - $list[$k]['addresses'] = $addrArray; + $a = unserialize($v['addresses']); + $list[$k]['addresses'] = $a; + + // Phone Numbers + $a = unserialize($v['phone_numbers']); + $list[$k]['phone_numbers'] = $a; + + // E-Mail + $a = unserialize($v['email']); + $list[$k]['email'] = $a; + + // Social Meida + $a = unserialize($v['social']); + $list[$k]['social_media'] = $a; + + // Links + $a = unserialize($v['links']); + $list[$k]['links'] = $a; + + // Dates + $a = unserialize($v['dates']); + $list[$k]['dates'] = $a; + + // Options + $a = unserialize($v['options']); + $list[$k]['options'] = $a; + + + + + + } return $list; diff --git a/views/admin/configure/development.html b/views/admin/configure/development.html index 60bbcd34..35be617b 100644 --- a/views/admin/configure/development.html +++ b/views/admin/configure/development.html @@ -16,43 +16,53 @@ {/foreach} {/if} {if $importData.haveMembers} - - - - - - - - - - - - - - - - {foreach $importData.members as $m} - - - {assign var="i" value="0"} - {foreach $m.addresses as $a} - {if $i++ gt 1} - - - {/if} - - - - - - - - - - {/foreach} - {/foreach} - -
NameAddr Line 1Addr Line 2Addr Line 3CityStateZIPCountryLat/Lon
{$m.organization}
 {$a.line_1}{$a.line_2}{$a.line_3}{$a.city}{$a.state}{$a.zipcode}{$a.country}{$a.latitude|number_format:3:".":","}/{$a.longitude|number_format:3:".":","}
+

Please review list of members that will be imported.

+

+ Skip All   + Import All +

+
+ + + + + + + + + + + + + + + + + {foreach $importData.members as $m} + + + + {assign var="i" value="0"} + {foreach $m.addresses as $a} + {if $i++ gt 1} + + + + {/if} + + + + + + + + + + {/foreach} + {/foreach} + +
SkipNameAddr Line 1Addr Line 2Addr Line 3CityStateZIPCountryLat/Lon
{$m.organization}
  {$a.line_1}{$a.line_2}{$a.line_3}{$a.city}{$a.state}{$a.zipcode}{$a.country}{$a.latitude|number_format:3:".":","}/{$a.longitude|number_format:3:".":","}
+
{/if} @@ -77,4 +87,27 @@ {/if} +{if $importData.haveMembers} + +{/if} + + {include file='admin/footer.html'}