<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Gravity Support Forums User Favorites: Phil Nelson</title>
		<link><a href='https://legacy.forums.gravityhelp.com/profile/phil-nelson'>phil-nelson</a></link>
		<description>Gravity Support Forums User Favorites: Phil Nelson</description>
		<language>en-US</language>
		<pubDate>Sun, 05 Apr 2026 02:55:21 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>https://legacy.forums.gravityhelp.com/search.php</link>
		</textInput>
		<atom:link href="https://legacy.forums.gravityhelp.com/rss/profile/" rel="self" type="application/rss+xml" />

		<item>
			<title>Phil on "Website field - not validating without http://"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/website-field-not-validating-without-http#post-350777</link>
			<pubDate>Fri, 28 Jun 2013 20:53:19 +0000</pubDate>
			<dc:creator>Phil</dc:creator>
			<guid isPermaLink="false">350777@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;&#60;u&#62;UPDATE #2&#60;/u&#62;&#60;br /&#62;
My code above works for a website field, but not for a post custom field whose type is set to website. In the latter case, $field['type'] is 'post_custom_field' instead of 'website'. However, in both cases, $field['inputType'] is 'website', so we can use it instead. Given that $field['inputType'] is not set for all fields (e.g., honeypot), we'll include an isset() check to avoid the php &#34;Notice: Undefined Index&#34;. So...&#60;/p&#62;
&#60;ol&#62;
&#60;li&#62;Replace line 8 above (&#60;strike&#62;$types[] = $field['type'];&#60;/strike&#62;) with&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;if ( isset($field[&#38;#39;inputType&#38;#39;]) )
  $types[] = $field[&#38;#39;inputType&#38;#39;];&#60;/code&#62;&#60;/pre&#62;
&#60;/li&#62;
&#60;li&#62;Then replace line 31 above (&#60;strike&#62;if ( 'website' != $field['type'] )&#60;/strike&#62;) with&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;if ( ! isset($field[&#38;#39;inputType&#38;#39;]) &#124;&#124; &#38;#39;website&#38;#39; != $field[&#38;#39;inputType&#38;#39;] )&#60;/code&#62;&#60;/pre&#62;
&#60;/li&#62;
&#60;/ol&#62;</description>
		</item>
		<item>
			<title>Dana Cobb on "Prevent MailChimp Add-on from overwriting subscribed users&#039; data with blanks"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/prevent-mailchimp-add-on-from-overwriting-subscribed-users-data-with-blanks#post-202915</link>
			<pubDate>Tue, 09 Apr 2013 18:11:48 +0000</pubDate>
			<dc:creator>Dana Cobb</dc:creator>
			<guid isPermaLink="false">202915@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi, Phil,&#60;/p&#62;
&#60;p&#62;I have added this issue to our feature/bug tracking tool. I need to discuss this further with the team to see if a filter is adequate or if we need to rethink some logic.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Prevent MailChimp Add-on from overwriting subscribed users&#039; data with blanks"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/prevent-mailchimp-add-on-from-overwriting-subscribed-users-data-with-blanks#post-200116</link>
			<pubDate>Sun, 07 Apr 2013 14:18:43 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">200116@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I'll bring this to the attention of the development team.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Phil on "Prevent MailChimp Add-on from overwriting subscribed users&#039; data with blanks"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/prevent-mailchimp-add-on-from-overwriting-subscribed-users-data-with-blanks#post-198761</link>
			<pubDate>Sat, 06 Apr 2013 10:48:37 +0000</pubDate>
			<dc:creator>Phil</dc:creator>
			<guid isPermaLink="false">198761@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;&#60;u&#62;Feature Request for MailChimp Add-on&#60;/u&#62;&#60;br /&#62;
Allow devs to prevent blank fields from overwriting existing data for list members who are already subscribed. &#60;/p&#62;
&#60;p&#62;&#60;u&#62;Example Scenario to Prevent&#60;/u&#62;&#60;/p&#62;
&#60;ol&#62;
&#60;li&#62;User subscribes to mailing list, adding name to MC list.&#60;/li&#62;
&#60;li&#62;User forgets and subscribes again (via GF MC add-on), but leaves name field blank.&#60;/li&#62;
&#60;li&#62;MC add-on updates/overwrites list member's name with blank values.&#60;/li&#62;
&#60;/ol&#62;
&#60;p&#62;&#60;u&#62;Potential Code Adjustment&#60;/u&#62;&#60;br /&#62;
A new filter, perhaps 'gform_mailchimp_allow_blank_overwrite', could give GF users control over whether fields left blank will overwrite existing data for subscribed users.&#60;/p&#62;
&#60;p&#62;For example, consider replacing these two lines of GFMailChimp::export_feed() ...&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;self::log_debug(&#38;quot;Calling - listUpdateMember ...
$retval = $api-&#38;gt;listUpdateMember($feed ...&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;... with these lines ...&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;$allow_blank_overwrite = apply_filters( &#38;#39;gform_mailchimp_allow_blank_overwrite&#38;#39;, ... // defaults to false (some may argue for true)
// maybe remove blank fields from $merge_vars
if ( ! $allow_blank_overwrite )
  $merge_vars = array_filter($merge_vars);            

if ( ! empty($merge_vars) ) {
  self::log_debug(&#38;quot;Calling - listUpdateMember ...
  $retval = $api-&#38;gt;listUpdateMember($feed ...
}
else
  self::log_debug(&#38;quot;listUpdateMember not called because $merge_vars was empty ...&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;In limited tests, this worked for me, without breaking anything that I noticed. Time will tell.&#60;/p&#62;
&#60;p&#62;Thanks for the great work.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Display name and website fields do not update -- potential fix"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/display-name-and-website-fields-do-not-update-potential-fix#post-190108</link>
			<pubDate>Fri, 29 Mar 2013 23:49:04 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">190108@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thank you for the kind words.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Phil on "Display name and website fields do not update -- potential fix"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/display-name-and-website-fields-do-not-update-potential-fix#post-186852</link>
			<pubDate>Wed, 27 Mar 2013 15:09:20 +0000</pubDate>
			<dc:creator>Phil</dc:creator>
			<guid isPermaLink="false">186852@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;&#60;u&#62;RESOLVED&#60;/u&#62;&#60;br /&#62;
Yesterday a Gravity Forms developer sent along a more recent version of the beta in which all the above issues appear resolved. &#60;/p&#62;
&#60;p&#62;Thank you for the excellent support. Your ubiquitous good reputation is well-deserved.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Phil on "Display name and website fields do not update -- potential fix"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/display-name-and-website-fields-do-not-update-potential-fix#post-183157</link>
			<pubDate>Sun, 24 Mar 2013 16:45:03 +0000</pubDate>
			<dc:creator>Phil</dc:creator>
			<guid isPermaLink="false">183157@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks for sharing the later version of the add-on. You responded to my email within 20 minutes. Great service! I regret I didn't make time to try it out sooner. The revised version appears to resolve the original issues I was having. Data for display name and website now update successfully. &#60;/p&#62;
&#60;p&#62;However, in the version I previewed -- 1.5beta1.14 -- the code edits that fixed the original problem appear to cause the password to be overwritten (preventing future login) and the email field to no longer update. The fix may be simple, however, and perhaps your devs have already caught it.&#60;/p&#62;
&#60;p&#62;As a great alternative to code line 2 in my second post above, the devs refreshed the $user data array, and comment it with, &#34;// refreshing $user variable because it might have changed during add_user_meta&#34;. The problem is that the refresh wipes out the adjustments that were made to  $user['user_pass'] and $user['user_email']  just a few lines higher in the code. The solution appears to be to move those adjustments down a bit, placing them after the $user refresh but before the wp_update_user($user);. After shifting those adjustments downward, the revised code might appear like this: ( applies to 1.5beta1.14 )&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;// update user meta before display name due to dependency
self::add_user_meta($user_obj-&#38;gt;ID, $config, $form, $lead, array());

//refreshing $user variable because it might have changed during add_user_meta
$user_obj = new WP_User($user_obj-&#38;gt;ID);
$user = get_object_vars($user_obj-&#38;gt;data);

// update display name format
$user[&#38;#39;display_name&#38;#39;] = self::get_display_name($user[&#38;#39;ID&#38;#39;], $config);

$user[&#38;#39;user_email&#38;#39;] = $user_data[&#38;#39;user_email&#38;#39;];

// if password provided, store it for update in $user array and then remove from $lead
if($user_data[&#38;#39;password&#38;#39;]) {
    $user[&#38;#39;user_pass&#38;#39;] = $user_data[&#38;#39;password&#38;#39;];
    GFUserData::remove_password($form[&#38;#39;id&#38;#39;], $lead[&#38;#39;id&#38;#39;], rgar($meta, &#38;#39;password&#38;#39;));
} else {
    unset($user[&#38;#39;user_pass&#38;#39;]);
}

$user_id = wp_update_user($user);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;This appears to work for me for now, but I'll try to report back if I notice any problems.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Website field - not validating without http://"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/website-field-not-validating-without-http#post-162137</link>
			<pubDate>Wed, 06 Mar 2013 12:47:37 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">162137@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;@Phil, I fixed the original code.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Pre-populating fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/pre-populating-fields#post-161828</link>
			<pubDate>Wed, 06 Mar 2013 07:22:08 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">161828@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thank you Phil.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Website field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/website-field#post-161827</link>
			<pubDate>Wed, 06 Mar 2013 07:21:57 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">161827@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks Phil.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
