<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.whirlwind-ecommerce.com/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Functions%3AuserAccountEdit</id>
		<title>Functions:userAccountEdit - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.whirlwind-ecommerce.com/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Functions%3AuserAccountEdit"/>
		<link rel="alternate" type="text/html" href="http://wiki.whirlwind-ecommerce.com/mediawiki/index.php?title=Functions:userAccountEdit&amp;action=history"/>
		<updated>2026-05-01T11:55:45Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.24.2</generator>

	<entry>
		<id>http://wiki.whirlwind-ecommerce.com/mediawiki/index.php?title=Functions:userAccountEdit&amp;diff=552&amp;oldid=prev</id>
		<title>71.163.185.8 at 22:01, 8 February 2009</title>
		<link rel="alternate" type="text/html" href="http://wiki.whirlwind-ecommerce.com/mediawiki/index.php?title=Functions:userAccountEdit&amp;diff=552&amp;oldid=prev"/>
				<updated>2009-02-08T22:01:42Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 22:01, 8 February 2009&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 111:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 111:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;// submit form button&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;// submit form button&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;echo &amp;quot;&amp;lt;br&amp;gt;&amp;lt;input type=\&amp;quot;submit\&amp;quot; value=\&amp;quot;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Create&lt;/del&gt;!\&amp;quot;&amp;gt;&amp;quot;;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;echo &amp;quot;&amp;lt;br&amp;gt;&amp;lt;input type=\&amp;quot;submit\&amp;quot; value=\&amp;quot;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Edit&lt;/ins&gt;!\&amp;quot;&amp;gt;&amp;quot;;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;// required hidden field - must pass this page id so submissions reload in this page&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;// required hidden field - must pass this page id so submissions reload in this page&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 193:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 193:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;// submit form button&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;// submit form button&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;echo &amp;quot;&amp;lt;br&amp;gt;&amp;lt;input type=\&amp;quot;submit\&amp;quot; value=\&amp;quot;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Create&lt;/del&gt;!\&amp;quot;&amp;gt;&amp;quot;;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;echo &amp;quot;&amp;lt;br&amp;gt;&amp;lt;input type=\&amp;quot;submit\&amp;quot; value=\&amp;quot;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Edit&lt;/ins&gt;!\&amp;quot;&amp;gt;&amp;quot;;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;// required hidden field - must pass this page id so submissions reload in this page&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;// required hidden field - must pass this page id so submissions reload in this page&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>71.163.185.8</name></author>	</entry>

	<entry>
		<id>http://wiki.whirlwind-ecommerce.com/mediawiki/index.php?title=Functions:userAccountEdit&amp;diff=435&amp;oldid=prev</id>
		<title>Root: added information on the customFieldTags key of the returned value</title>
		<link rel="alternate" type="text/html" href="http://wiki.whirlwind-ecommerce.com/mediawiki/index.php?title=Functions:userAccountEdit&amp;diff=435&amp;oldid=prev"/>
				<updated>2008-12-05T22:51:39Z</updated>
		
		<summary type="html">&lt;p&gt;added information on the customFieldTags key of the returned value&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 22:51, 5 December 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 37:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 37:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Return Values ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Return Values ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Multidimensional array of field values and error messages containing [message]: a string containing any error messages that prohibited the form data from being submitted, and [values]: a keyed array of fields and their values. Note that only fields specified in the $fieldList attribute will be contained in the [value] array:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Multidimensional array of field values and error messages containing [message]: a string containing any error messages that prohibited the form data from being submitted, and [values]: a keyed array of fields and their values. Note that only fields specified in the $fieldList attribute will be contained in the [value] &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;array and [customFieldTags]: a keyed array of HTML field code for each custom field - this allows for easy creation of entire custom field tags simply by echo'ing the values in this &lt;/ins&gt;array:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 56:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 56:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;  //Custom Fields&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;  //Custom Fields&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;  [custom_field_...] =&amp;gt; STRING&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;  [custom_field_...] =&amp;gt; STRING&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;  ...&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; )&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;#160; &amp;#160; [customFieldTags] =&amp;gt; ARRAY&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; (&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;  //custom fields for users&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;  [custom_field_x] =&amp;gt; STRING&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;  [custom_field_y] =&amp;gt; STRING&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;  ...&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;  ...&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160; )&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160; )&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Root</name></author>	</entry>

	<entry>
		<id>http://wiki.whirlwind-ecommerce.com/mediawiki/index.php?title=Functions:userAccountEdit&amp;diff=371&amp;oldid=prev</id>
		<title>Root: New page: == Description == Controls an &quot;edit user form&quot; which edits user account info. Use this function to build an 'edit account' page.  == Syntax == $accountArray = eV::userAccountEdit($fieldLis...</title>
		<link rel="alternate" type="text/html" href="http://wiki.whirlwind-ecommerce.com/mediawiki/index.php?title=Functions:userAccountEdit&amp;diff=371&amp;oldid=prev"/>
				<updated>2008-11-06T01:52:55Z</updated>
		
		<summary type="html">&lt;p&gt;New page: == Description == Controls an &amp;quot;edit user form&amp;quot; which edits user account info. Use this function to build an &amp;#039;edit account&amp;#039; page.  == Syntax == $accountArray = eV::userAccountEdit($fieldLis...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Description ==&lt;br /&gt;
Controls an &amp;quot;edit user form&amp;quot; which edits user account info. Use this function to build an 'edit account' page.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
$accountArray = eV::userAccountEdit($fieldList,$redirect[,$userId]);&lt;br /&gt;
&lt;br /&gt;
== Paramaters ==&lt;br /&gt;
*$fieldList STRING&lt;br /&gt;
:: Comma separated list of fields to be managed by the form.&lt;br /&gt;
:: Available fields to place in $fieldList:&lt;br /&gt;
::*User Account Fields&lt;br /&gt;
:::*emailAddress&lt;br /&gt;
:::*firstName&lt;br /&gt;
:::*lastName&lt;br /&gt;
:::*password&lt;br /&gt;
:::*passwordConfirm&lt;br /&gt;
:::*userNotes&lt;br /&gt;
:::*company&lt;br /&gt;
:::*title&lt;br /&gt;
::*Other Fields&lt;br /&gt;
:::*subscribe: if set to 1, newsletter registration process will be initiated for the passed emailAddress&lt;br /&gt;
:::*captcha: verifies captcha validation has been passed&lt;br /&gt;
:::*custom_field_...: any number of custom user fields can be passed, but must be set up in [[Settings]] in User Management.&lt;br /&gt;
:: Example $fieldList value: &amp;quot;firstName,lastName,emailAddress,password,passwordConfirm&amp;quot;&lt;br /&gt;
:: The listed fields in $fieldList can be complimented with the following field controls:&lt;br /&gt;
::*/min:#:message&lt;br /&gt;
::*/max:#:message&lt;br /&gt;
::*/default:value&lt;br /&gt;
::*/email:message&lt;br /&gt;
::*/unique:message&lt;br /&gt;
:: example use of controls in $fieldList: &amp;quot;emailAddress/email:You must enter an valid email/unique:An account already exists with that email address - please select another,password/min:8:You must enter a password of at least 8 characters&amp;quot;&lt;br /&gt;
:: note that the messages in control fields cannot contain comma (,), slash (/) or colon (:) as these have special meaning to the processing function&lt;br /&gt;
*$redirect STRING&lt;br /&gt;
:: URL where visitor will be forwarded to following a successful form submission&lt;br /&gt;
*$userId INT OPTIONAL&lt;br /&gt;
:: Unique system assigned user id. defaults to the user id for the current logged in user. Only pass if you want to create a form to manage a user account other than the logged in user.&lt;br /&gt;
&lt;br /&gt;
== Return Values ==&lt;br /&gt;
Multidimensional array of field values and error messages containing [message]: a string containing any error messages that prohibited the form data from being submitted, and [values]: a keyed array of fields and their values. Note that only fields specified in the $fieldList attribute will be contained in the [value] array:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Array&lt;br /&gt;
(&lt;br /&gt;
    [message] =&amp;gt; STRING&lt;br /&gt;
    [values] =&amp;gt; ARRAY&lt;br /&gt;
        (&lt;br /&gt;
           //User Account Fields&lt;br /&gt;
           [firstName] =&amp;gt; STRING&lt;br /&gt;
           [lastName] =&amp;gt; STRING&lt;br /&gt;
           [emailAddress] =&amp;gt; STRING&lt;br /&gt;
           [password] =&amp;gt; STRING&lt;br /&gt;
           [passwordConfirm] =&amp;gt; STRING&lt;br /&gt;
           [userNotes] =&amp;gt; STRING&lt;br /&gt;
           [company] =&amp;gt; STRING&lt;br /&gt;
           [title] =&amp;gt; STRING&lt;br /&gt;
           //Custom Fields&lt;br /&gt;
           [custom_field_...] =&amp;gt; STRING&lt;br /&gt;
           ...&lt;br /&gt;
        )&lt;br /&gt;
)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Examples ==&lt;br /&gt;
;Simple Example:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
// kick if logged out // recommended to place in 'pre process' code of template - no reason to waste processing power if we just gonna kick to home.&lt;br /&gt;
eV::authorizeIsLoggedIn('index.php?message=You must be logged in to edit your account info');&lt;br /&gt;
&lt;br /&gt;
// create account function&lt;br /&gt;
$account = eV::userAccountEdit(&amp;quot;emailAddress/email:You must enter a valid email address/unique:The email address you entered is already in use - please select another,password/min:8:Your password must be at least 8 characters long,passwordConfirm&amp;quot;,&amp;quot;index.php?message=Your account has been updated!&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
// shortcut the elements of the userAccountEdit array&lt;br /&gt;
$accVals = $account['values'];&lt;br /&gt;
$accCust = $account['customFieldTags'];&lt;br /&gt;
&lt;br /&gt;
// display the message (if applicable)&lt;br /&gt;
// this message is generated by the userAccountEdit function&lt;br /&gt;
// not to be confused with the global $message attribute &lt;br /&gt;
// you probably want to accomidate both&lt;br /&gt;
if(!empty($account['message'])) echo $account['message'];&lt;br /&gt;
&lt;br /&gt;
// here is the global message&lt;br /&gt;
if(!empty($message)) echo $message;&lt;br /&gt;
&lt;br /&gt;
// output page content&lt;br /&gt;
echo &amp;quot;$title&lt;br /&gt;
&amp;lt;br&amp;gt;$subTitle&lt;br /&gt;
&amp;lt;br&amp;gt;$copy&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// start the form&lt;br /&gt;
echo &amp;quot;&amp;lt;form name=\&amp;quot;editAccountForm\&amp;quot; action=\&amp;quot;index.php\&amp;quot; method=\&amp;quot;post\&amp;quot;&amp;gt;&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// note when calling userAccountEdit you can specify the fields, so the below fields may vary&lt;br /&gt;
// make sure you call all, and only the fields you need&lt;br /&gt;
&lt;br /&gt;
// email address&lt;br /&gt;
// recommend using htmlspecial chars to ensure quotes and carots don't disrupt the form tag&lt;br /&gt;
echo &amp;quot;&amp;lt;br&amp;gt;Email Address: &amp;lt;input name=\&amp;quot;emailAddress\&amp;quot; maxlength=100 maxlength=255 value=\&amp;quot;&amp;quot; . htmlspecialchars($accVals['emailAddress']) . &amp;quot;\&amp;quot; type=\&amp;quot;text\&amp;quot; /&amp;gt;&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// password and confirm password will be compared upon submission to match&lt;br /&gt;
// they must also be min 8 characters in length&lt;br /&gt;
echo &amp;quot;&amp;lt;br&amp;gt;Password: &amp;lt;input name=\&amp;quot;password\&amp;quot; type=\&amp;quot;password\&amp;quot; value=\&amp;quot;&amp;quot; . htmlspecialchars($accVals['password']) . &amp;quot;\&amp;quot; maxlength=50/&amp;gt;&amp;quot;;&lt;br /&gt;
echo &amp;quot;&amp;lt;br&amp;gt;Confirm Password: &amp;lt;input name=\&amp;quot;passwordConfirm\&amp;quot; type=\&amp;quot;password\&amp;quot; value=\&amp;quot;&amp;quot; . htmlspecialchars($accVals['passwordConfirm']) . &amp;quot;\&amp;quot; maxlength=50/&amp;gt;&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// submit form button&lt;br /&gt;
echo &amp;quot;&amp;lt;br&amp;gt;&amp;lt;input type=\&amp;quot;submit\&amp;quot; value=\&amp;quot;Create!\&amp;quot;&amp;gt;&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// required hidden field - must pass this page id so submissions reload in this page&lt;br /&gt;
echo &amp;quot;&amp;lt;input type=\&amp;quot;hidden\&amp;quot; name=\&amp;quot;pageId\&amp;quot; value=\&amp;quot;&amp;quot; . $attributes['pageId'] . &amp;quot;\&amp;quot;&amp;gt;&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// end the form&lt;br /&gt;
echo &amp;quot;&amp;lt;/form&amp;gt;&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
;Full Example:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
// kick if logged out // recommended to place in 'pre process' code of template - no reason to waste processing power if we just gonna kick to home.&lt;br /&gt;
eV::authorizeIsLoggedIn('index.php?message=You must be logged in to edit your account info');&lt;br /&gt;
&lt;br /&gt;
// edit account function&lt;br /&gt;
$account = eV::userAccountEdit(&amp;quot;emailAddress/email:You must enter a valid email address/unique:The email address you entered is already in use - please select another,firstName,lastName,title,password/min:8:Your password must be at least 8 characters long,passwordConfirm,subscribe,captcha,custom_field_x,custom_field_y,custom_field_z&amp;quot;,&amp;quot;index.php?message=Your account has been updated!&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
// shortcut the elements of the userAccountEdit array&lt;br /&gt;
$accVals = $account['values'];&lt;br /&gt;
$accCust = $account['customFieldTags'];&lt;br /&gt;
&lt;br /&gt;
// display the message (if applicable)&lt;br /&gt;
// this message is generated by the userAccountEdit function&lt;br /&gt;
// not to be confused with the global $message attribute &lt;br /&gt;
// you probably want to accomidate both&lt;br /&gt;
if(!empty($account['message'])) echo $account['message'];&lt;br /&gt;
&lt;br /&gt;
// here is the global message&lt;br /&gt;
if(!empty($message)) echo $message;&lt;br /&gt;
&lt;br /&gt;
// output page content&lt;br /&gt;
echo &amp;quot;$title&lt;br /&gt;
&amp;lt;br&amp;gt;$subTitle&lt;br /&gt;
&amp;lt;br&amp;gt;$copy&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// start the form&lt;br /&gt;
echo &amp;quot;&amp;lt;form name=\&amp;quot;editAccountForm\&amp;quot; action=\&amp;quot;index.php\&amp;quot; method=\&amp;quot;post\&amp;quot;&amp;gt;&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
///////////////////////////////&lt;br /&gt;
////// CORE form fields ///////&lt;br /&gt;
///////////////////////////////&lt;br /&gt;
&lt;br /&gt;
// note when calling userAccountEdit you can specify the fields, so the below fields may vary&lt;br /&gt;
// make sure you call all, and only the fields you need&lt;br /&gt;
&lt;br /&gt;
// email address&lt;br /&gt;
// recommend using htmlspecial chars to ensure quotes and carots don't disrupt the form tag&lt;br /&gt;
echo &amp;quot;&amp;lt;br&amp;gt;Email Address: &amp;lt;input name=\&amp;quot;emailAddress\&amp;quot; maxlength=100 maxlength=255 value=\&amp;quot;&amp;quot; . htmlspecialchars($accVals['emailAddress']) . &amp;quot;\&amp;quot; type=\&amp;quot;text\&amp;quot; /&amp;gt;&amp;quot;;&lt;br /&gt;
// newsletter subscribe field&lt;br /&gt;
// checking this will trigger the newsletter registration process in addition to creating an account&lt;br /&gt;
echo &amp;quot;&amp;lt;br&amp;gt;Join Our Newsletter: &amp;lt;input name=\&amp;quot;subscribe\&amp;quot; type=\&amp;quot;checkbox\&amp;quot; checked=\&amp;quot;checked\&amp;quot; value=\&amp;quot;1\&amp;quot;/&amp;gt;&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;&amp;lt;br&amp;gt;First Name: &amp;lt;input name=\&amp;quot;firstName\&amp;quot; type=\&amp;quot;text\&amp;quot; maxlength=50  value=\&amp;quot;&amp;quot; . htmlspecialchars($accVals['firstName']) . &amp;quot;\&amp;quot; /&amp;gt;&amp;quot;;&lt;br /&gt;
echo &amp;quot;&amp;lt;br&amp;gt;Last Name: &amp;lt;input name=\&amp;quot;lastName\&amp;quot; type=\&amp;quot;text\&amp;quot; maxlength=50  value=\&amp;quot;&amp;quot; . htmlspecialchars($accVals['lastName']) . &amp;quot;\&amp;quot; /&amp;gt;&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// password and confirm password will be compared upon submission to match&lt;br /&gt;
// they must also be min 8 characters in length&lt;br /&gt;
echo &amp;quot;&amp;lt;br&amp;gt;Password: &amp;lt;input name=\&amp;quot;password\&amp;quot; type=\&amp;quot;password\&amp;quot; value=\&amp;quot;&amp;quot; . htmlspecialchars($accVals['password']) . &amp;quot;\&amp;quot; maxlength=50/&amp;gt;&amp;quot;;&lt;br /&gt;
echo &amp;quot;&amp;lt;br&amp;gt;Confirm Password: &amp;lt;input name=\&amp;quot;passwordConfirm\&amp;quot; type=\&amp;quot;password\&amp;quot; value=\&amp;quot;&amp;quot; . htmlspecialchars($accVals['passwordConfirm']) . &amp;quot;\&amp;quot; maxlength=50/&amp;gt;&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// user custom fields&lt;br /&gt;
// these custom fields must be created in Settings &amp;gt; User Management&lt;br /&gt;
// and must be specified in the fieldList attributes of the userAccountEdit function&lt;br /&gt;
// custom fields are included in the customFieldTags key of the returned userAccountEdit array&lt;br /&gt;
// the contents of the customFieldTags elements are full tags for the field as set in field settings for the field in Settings &amp;gt; User Management&lt;br /&gt;
// you can simply output the customFieldTags element contents for the field&lt;br /&gt;
echo &amp;quot;&amp;lt;br&amp;gt;Custom Field X: &amp;quot; . $accCust['custom_field_x']);&lt;br /&gt;
echo &amp;quot;&amp;lt;br&amp;gt;Custom Field Y: &amp;quot; . $accCust['custom_field_y']);&lt;br /&gt;
echo &amp;quot;&amp;lt;br&amp;gt;Custom Field Z: &amp;quot; . $accCust['custom_field_z']);&lt;br /&gt;
&lt;br /&gt;
// captcha verification&lt;br /&gt;
// great to keep ppl from using bots to abuse the system&lt;br /&gt;
// this is not required to use, but you must have 'captcha' in the fieldList attribute of the userAccountEdit function&lt;br /&gt;
// 3 things required for this to work:&lt;br /&gt;
// 1. 'captcha' in the fieldList of the userAccountEdit&lt;br /&gt;
// 2. calling on the captcha image by setting $CaptchaImgSrc as the image source&lt;br /&gt;
// 3. including the captcha form field&lt;br /&gt;
echo &amp;quot;&amp;lt;br&amp;gt;Captcha Validation &amp;lt;img src='$CaptchaImgSrc'&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;Please type in the characters you see above: &amp;lt;input type=text name=captcha value='' size=10 maxlength=10&amp;gt;&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// submit form button&lt;br /&gt;
echo &amp;quot;&amp;lt;br&amp;gt;&amp;lt;input type=\&amp;quot;submit\&amp;quot; value=\&amp;quot;Create!\&amp;quot;&amp;gt;&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// required hidden field - must pass this page id so submissions reload in this page&lt;br /&gt;
echo &amp;quot;&amp;lt;input type=\&amp;quot;hidden\&amp;quot; name=\&amp;quot;pageId\&amp;quot; value=\&amp;quot;&amp;quot; . $attributes['pageId'] . &amp;quot;\&amp;quot;&amp;gt;&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// end the form&lt;br /&gt;
echo &amp;quot;&amp;lt;/form&amp;gt;&amp;quot;;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Root</name></author>	</entry>

	</feed>