From: Steve Sutton Date: Tue, 20 Feb 2018 18:57:55 +0000 (-0500) Subject: Update the custom field form location when adding profile. X-Git-Tag: v2.10.24^2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=89bb9ca1a88262d8aed89ae0f3f760b7dd6cfe31;p=WP-Plugins%2Fglm-member-db.git Update the custom field form location when adding profile. When adding the profile record need to have the table with custom field surrounding the form. So it is hidden except for when it is showing. --- diff --git a/index.php b/index.php index d79ec80b..e6e46ef8 100644 --- a/index.php +++ b/index.php @@ -3,7 +3,7 @@ * Plugin Name: GLM Members Database * Plugin URI: http://www.gaslightmedia.com/ * Description: Gaslight Media Members Database. - * Version: 2.10.23 + * Version: 2.10.24 * Author: Gaslight Media * Author URI: http://www.gaslightmedia.com/ * License: GPL2 @@ -19,7 +19,7 @@ * @package glmMembersDatabase * @author Chuck Scott * @license http://www.gaslightmedia.com Gaslightmedia - * @version 2.10.23 + * @version 2.10.24 */ $GLOBALS['glmAssociateMemTracker'] = memory_get_usage(); @@ -46,7 +46,7 @@ if (!defined('ABSPATH')) { * */ -define('GLM_MEMBERS_PLUGIN_VERSION', '2.10.23'); +define('GLM_MEMBERS_PLUGIN_VERSION', '2.10.24'); define('GLM_MEMBERS_PLUGIN_DB_VERSION', '1.1.34'); // Check if plugin version is not current in WordPress option and if needed updated it diff --git a/readme.txt b/readme.txt index f13e66d5..ec545fcd 100644 --- a/readme.txt +++ b/readme.txt @@ -66,6 +66,10 @@ There is of course much more to this. (none) == Changelog == += 2.10.24 = +* Fix location of the custom field output in member edit profile form when + adding the member info record. + = 2.10.23 = * Add New File Upload Manager. This is for sites that have a lot of large PDF files or large number of files in general. diff --git a/views/admin/member/memberInfo.html b/views/admin/member/memberInfo.html index 6701639f..06d60919 100644 --- a/views/admin/member/memberInfo.html +++ b/views/admin/member/memberInfo.html @@ -129,13 +129,15 @@ {if $memberInfoID && $memberInfo} {$prefix = $slug|cat:'_'} {$uid = $prefix|cat:$memberInfoID} - +
{apply_filters('glm-members-custom-fields-form', '', $slug,$memberInfoID,$customFieldResults)} {apply_filters('glm-members-custom-fields-form', '', $uid,$memberInfoID,$customFieldResults)}
{else} - {apply_filters('glm-members-custom-fields-form', '', $slug,'','')} +
+ {apply_filters('glm-members-custom-fields-form', '', $slug,'','')} +
{/if}

* Required