Changeset 2655949
- Timestamp:
- 01/11/2022 03:41:05 PM (4 years ago)
- Location:
- dynamic-user-directory/trunk
- Files:
-
- 4 edited
-
dynamic-user-directory.php (modified) (1 diff)
-
includes/admin.php (modified) (1 diff)
-
includes/core.php (modified) (3 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
dynamic-user-directory/trunk/dynamic-user-directory.php
r2527298 r2655949 3 3 * Plugin URI: http://sgcustomwebsolutions.com 4 4 * Description: Creates an alphabetically sorted user directory that will format and display specified user meta data such as name, address, and email. 5 * Version: 1.6. 35 * Version: 1.6.4 6 6 * Author: Sarah Giles 7 7 * Author URI: http://sgcustomwebsolutions.com -
dynamic-user-directory/trunk/includes/admin.php
r2527298 r2655949 1913 1913 <OPTION value="11" <?php echo (!empty($dud_options['dud_fld_format_' . $inc]) && $dud_options['dud_fld_format_' . $inc] == "11") ? "SELECTED" : ""; ?>>Multiple Checkboxes => Bulleted (Show Label Only)</OPTION> 1914 1914 <OPTION value="8" <?php echo (!empty($dud_options['dud_fld_format_' . $inc]) && $dud_options['dud_fld_format_' . $inc] == "8") ? "SELECTED" : ""; ?>>Multiple Checkboxes => Comma Delimited (Show Label Only)</OPTION> 1915 <OPTION value="13" <?php echo (!empty($dud_options['dud_fld_format_' . $inc]) && $dud_options['dud_fld_format_' . $inc] == "13") ? "SELECTED" : ""; ?>>Single Checkbox => Show Label and Value</OPTION> 1915 1916 <OPTION value="14" <?php echo (!empty($dud_options['dud_fld_format_' . $inc]) && $dud_options['dud_fld_format_' . $inc] == "14") ? "SELECTED" : ""; ?>>Single Checkbox => Show Label Only</OPTION> 1917 <OPTION value="15" <?php echo (!empty($dud_options['dud_fld_format_' . $inc]) && $dud_options['dud_fld_format_' . $inc] == "15") ? "SELECTED" : ""; ?>>Single Checkbox => Show Value Only</OPTION> 1916 1918 <OPTION value="16" <?php echo (!empty($dud_options['dud_fld_format_' . $inc]) && $dud_options['dud_fld_format_' . $inc] == "16") ? "SELECTED" : ""; ?>>Date => dd.mm.yyyy hh:mm:ss</OPTION> 1917 1919 <OPTION value="17" <?php echo (!empty($dud_options['dud_fld_format_' . $inc]) && $dud_options['dud_fld_format_' . $inc] == "17") ? "SELECTED" : ""; ?>>Date => dd.mm.yy hh:mm:ss</OPTION> -
dynamic-user-directory/trunk/includes/core.php
r2527298 r2655949 1934 1934 { 1935 1935 $non_array_numeric_idx = false; 1936 1936 1937 1937 if(strlen($user_meta_fld) > 2 && substr($user_meta_fld, 0, 2) === "a:") 1938 1938 { 1939 1939 $list_items = unserialize(stripslashes($user_meta_fld)); 1940 1940 1941 if(empty($list_items)) return $user_meta_fld; 1941 //if(empty($list_items)) return $user_meta_fld; 1942 if(empty($list_items)) return ""; 1942 1943 1943 1944 foreach($list_items as $key => $value) … … 1948 1949 $value = ucwords($value); 1949 1950 } 1950 1951 1951 1952 if (is_string($key)) 1952 1953 { … … 2025 2026 2026 2027 $key_val_array = true; 2027 2028 2028 2029 /*if(sizeof($user_meta_fld) == 1) 2029 2030 $parsed_val .= $value; -
dynamic-user-directory/trunk/readme.txt
r2527413 r2655949 5 5 Tags: user directory, MemberPress, BuddyPress, Cimy User Extra Fields, user registration, user meta fields, profile fields, member directory, website directory, directory, user listing, users, members, user profile, user profiles 6 6 Requires at least: 3.0.1 7 Tested up to: 5. 7.18 Stable tag: 1.6. 37 Tested up to: 5.8.3 8 Stable tag: 1.6.4 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 98 98 == Changelog == 99 99 100 = 1.6.4 = 101 - Released 1/11/22 102 - Successfully tested against WordPress 5.8.3 103 - Fixed: When field format is "Single Checkbox => Show Label Only," empty string arrays were being displayed. This resulted in gibberish being shown when the user did not check the box. Now the field value will only be shown if there is a value to display. 104 - Enhancement: Added two new format options: "Single Checkbox => Show Label and Value" and "Single Checkbox => Show Value Only" 105 100 106 = 1.6.3 = 101 107 - Released 5/7/21
Note: See TracChangeset
for help on using the changeset viewer.