Plugin Directory

Changeset 2501246


Ignore:
Timestamp:
03/22/2021 06:18:42 PM (5 years ago)
Author:
Sarah_Dev
Message:

1.6.1

  • Released 3/22/21
  • Successfully tested against WordPress 5.7
  • Fixed: The meta field formatting was displaying a php warning message in certain scenarios.
  • Fixed: The avatar link was not clickable at smaller screen sizes for vertical directories.
  • Fixed: The directory totals were not displayed correctly for all directory instances when the Multiple Directories add-on is used in conjunction with the Exclude User Filter add-on.
  • Fixed: When switching from the dynamically populated search dropdown to the search input text box, the previous search value was not being cleared out.
  • Fixed: When the avatar size is larger than 96px, the avatar was overlapping the listing border
  • Fixed: When BuddyPress and S2Member are both installed and activated, DUD was not displaying S2Member fields.
  • New Feature: Added the new "dud_modify_social_fld_icons" filter that allows for custom coding to add new social media icons.
  • New Feature: Social media icon links are now opened in a new window
  • New Feature: You can now show the user's date registered(autogenerated by wordpress and stored in the wp_users table). The new checkbox is located in the "Meta Field Settings" section.
  • New Feature: You may optionally enter a label for the wordpress profile email address, website, and date registered fields. This is also located in the "Meta Field Settings" section.
Location:
dynamic-user-directory/trunk
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • dynamic-user-directory/trunk/css/user-directory-admin-min.css

    r2460447 r2501246  
    1 ul.select2-selection__rendered{padding-right:30px!important}ul.select2-selection__rendered:after{content:"";position:absolute;right:10px;top:50%;transform:translateY(-50%);border-top:5px solid #333;border-left:5px solid transparent;border-right:5px solid transparent}.select2-container--default .select2-selection--multiple{background-color:#fff;border:1px solid #dedede;border-radius:0;cursor:text}table.form-table td:nth-child(1){width:16%}table.form-table td:nth-child(2){width:22%}table.form-table td:nth-child(3){font-size:13.5px;font-style:italic;line-height:21px;width:57%;padding-left:40px}table.form-table td:nth-child(4){width:23%}table.meta-flds td{padding-top:20px}table.meta-flds td:nth-child(1){width:16%;padding-right:15px}table.meta-flds td:nth-child(2){width:12%;padding-right:15px}table.meta-flds td:nth-child(3){width:20%}table.meta-flds td:nth-child(4){width:50%}table.search-meta-flds td{padding-top:20px}table.search-meta-flds td:nth-child(1){width:17%;padding-right:14px}table.search-meta-flds td:nth-child(2){width:17%;padding-right:14px}table.search-meta-flds td:nth-child(3){width:21%;padding-right:14px}table.search-meta-flds td:nth-child(4){width:22%;padding-right:14px}table.search-meta-flds td:nth-child(5){padding-right:14px}table.border-settings td:nth-child(1){padding-left:25px;width:1%}table.border-settings td:nth-child(2){line-height:20px;position:relative;width:2%}table.border-settings td:nth-child(3){font-style:normal;line-height:normal;position:relative;width:1%}table.border-settings td:nth-child(4){position:relative;width:2%}table.border-settings td:nth-child(5){width:17%}#divider-indent{padding-left:15px}.sort-order-list-item{background:rgba(0,0,0,0) linear-gradient(to bottom,#7d7e7d 16%,#0e0e0e 60%) repeat scroll 0 0;border-radius:5px;color:#fff;height:30px;margin-bottom:10px;text-align:center;width:153px}.sort-order-text{position:relative;top:3px;letter-spacing:1px;font-size:15px}textarea#styled{color:#909090}#user-directory-settings{position:relative}#list-box-instructions{width:57%;padding-left:40px;font-size:13.5px;font-style:italic;line-height:21px}#bot,#top{position:relative}#top{top:9px}#bot{bottom:12px}#divider-colors{position:relative;top:-9px}#stripes-n-header-checkboxes-1{top:-14px;position:relative}#stripes-n-header-checkboxes-2{top:-22px;position:relative}#sort-cat-font-size{margin-top:5px}.dd-menu-chk-box-width{width:83%}.dd-menu-no-chk-box-width{width:96%}.multiple-dirs-instructions{padding-left:0}.meta-flds-srch-key-input{width:100%}.meta-flds-srch-label-input{width:96%}#social-down-arrow,#social-up-arrow{left:158px;position:relative;top:-23px;cursor:pointer}#address-down-arrow,#address-up-arrow{left:158px;position:relative;top:-21px;cursor:pointer}#wc-down-arrow{position:relative;left:110px;top:-23px;cursor:pointer}#wc-up-arrow{position:relative;left:110px;top:-23px;cursor:pointer}#bp-down-arrow{position:relative;left:85px;top:-23px;cursor:pointer}#bp-up-arrow{position:relative;left:85px;top:-23px;cursor:pointer}#mp-down-arrow{position:relative;left:96px;top:-23px;cursor:pointer}#mp-up-arrow{position:relative;left:96px;top:-23px;cursor:pointer}.fa-angle-down,.fa-angle-up{font-size:27px}.fa-facebook,.fa-facebook-official,.fa-google-plus,.fa-google-plus-square,.fa-instagram,.fa-linkedin,.fa-linkedin-square,.fa-pinterest,.fa-pinterest-square,.fa-twitter,.fa-twitter-square{font-size:22px}.dud-settings-section-header{padding:8px;color:#eee;font-size:12pt;font-weight:700;width:85%;background:#11b8b8;background:-webkit-gradient(linear,left top,left bottom,from(#11b8b8),to(#088));background:-webkit-linear-gradient(top,#11b8b8,#088);background:-moz-linear-gradient(top,#11b8b8,#088);background:-ms-linear-gradient(top,#11b8b8,#088);background:-o-linear-gradient(top,#11b8b8,#088);background-image:-ms-linear-gradient(top,#11b8b8 0,#088 100%)}.dud-settings-section{background-color:#fff;border:1px solid #e5e5e5;padding:7px;width:85%}@media (min-width:240px) and (max-width:481px){.dud-settings-section,.dud-settings-section-header{width:99%}#lb_inc_exc{height:128px;padding-top:57px}#lb_hide_roles{height:128px}table.form-table{width:100%}table.form-table td:nth-child(1){width:100%}table.form-table td:nth-child(2){width:100%}table.form-table td:nth-child(3){font-size:100%;font-style:italic;line-height:21px;width:100%}table.form-table td:nth-child(4){width:0}table.border-settings{width:100%}table.border-settings td:nth-child(1){width:100%!important}table.border-settings td:nth-child(2){width:100%!important}table.border-settings td:nth-child(3){font-style:normal!important;line-height:normal!important;width:100%!important}table.border-settings td:nth-child(4){width:100%!important}#bot{bottom:0;height:100px}#list-box-instructions{width:100%}}@media (min-width:482px) and (max-width:767px){.dud-settings-section,.dud-settings-section-header{width:98%}#lb_inc_exc{height:128px;padding-top:57px}#lb_hide_roles{height:128px}table.form-table{width:80%}table.form-table td:nth-child(1){width:90%}table.form-table td:nth-child(2){width:90%}table.form-table td:nth-child(3){font-size:13.5px;font-style:italic;line-height:21px;width:90%}table.form-table td:nth-child(4){width:0}table.border-settings td:nth-child(1){padding-left:9px;width:1%}table.border-settings td:nth-child(2){line-height:20px;position:relative;width:2%}table.border-settings td:nth-child(3){font-style:normal;line-height:normal;position:relative;width:1%}table.border-settings td:nth-child(4){position:relative;width:2%}table.border-settings td:nth-child(5){width:17%}#bot{bottom:0;height:100px}#list-box-instructions{width:90%}.multiple-dirs-instructions{padding-left:5%}.meta-flds-srch-label-input{width:75%}}@media (min-width:768px) and (max-width:1023px){.dud-settings-section,.dud-settings-section-header{width:98%}table.form-table td:nth-child(1){width:22%}table.form-table td:nth-child(2){width:34%}table.form-table td:nth-child(3){width:70%}table.form-table td:nth-child(4){width:0}table.border-settings td:nth-child(1){padding-left:9px;width:1%}table.border-settings td:nth-child(2){line-height:20px;position:relative;width:4%}table.border-settings td:nth-child(3){font-style:normal;line-height:normal;position:relative;width:2%}table.border-settings td:nth-child(4){position:relative;width:2%}table.border-settings td:nth-child(5){width:17%}#list-box-instructions{width:70%}.multiple-dirs-instructions{padding-left:5%}.meta-flds-srch-label-input{width:80%}}@media (min-width:1024px) and (max-width:1280px){.dud-settings-section,.dud-settings-section-header{width:95%}table.form-table td:nth-child(1){width:22%}table.form-table td:nth-child(2){width:31%}table.form-table td:nth-child(3){width:70%}table.form-table td:nth-child(4){width:0}table.border-settings td:nth-child(1){padding-left:9px;width:1%}table.border-settings td:nth-child(2){line-height:20px;position:relative;width:4%}table.border-settings td:nth-child(3){font-style:normal;line-height:normal;position:relative;width:2%}table.border-settings td:nth-child(4){position:relative;width:2%}table.border-settings td:nth-child(5){width:17%}#list-box-instructions{width:70%}.multiple-dirs-instructions{padding-left:5%}}@media (min-width:1281px) and (max-width:1439px){.multiple-dirs-instructions{padding-left:4%}table.form-table td:nth-child(2){width:28%}table.form-table td:nth-child(1){width:18%}}@media (min-width:1281px){.dud-settings-section,.dud-settings-section-header{width:83%}}
     1ul.select2-selection__rendered{padding-right:30px!important}ul.select2-selection__rendered:after{content:"";position:absolute;right:10px;top:50%;transform:translateY(-50%);border-top:5px solid #333;border-left:5px solid transparent;border-right:5px solid transparent}.select2-container--default .select2-selection--multiple{background-color:#fff;border:1px solid #dedede;border-radius:0;cursor:text}table.form-table td:nth-child(1){width:16%}table.form-table td:nth-child(2){width:22%}table.form-table td:nth-child(3){font-size:13.5px;font-style:italic;line-height:21px;width:57%;padding-left:40px}table.form-table td:nth-child(4){width:23%}table.meta-flds td{padding-top:20px}table.meta-flds td:nth-child(1){width:16%;padding-right:15px}table.meta-flds td:nth-child(2){width:12%;padding-right:15px}table.meta-flds td:nth-child(3){width:20%}table.meta-flds td:nth-child(4){width:50%}table.search-meta-flds td{padding-top:20px}table.search-meta-flds td:nth-child(1){width:17%;padding-right:14px}table.search-meta-flds td:nth-child(2){width:17%;padding-right:14px}table.search-meta-flds td:nth-child(3){width:21%;padding-right:14px}table.search-meta-flds td:nth-child(4){width:22%;padding-right:14px}table.search-meta-flds td:nth-child(5){padding-right:14px}table.border-settings td:nth-child(1){padding-left:25px;width:1%}table.border-settings td:nth-child(2){line-height:20px;position:relative;width:2%}table.border-settings td:nth-child(3){font-style:normal;line-height:normal;position:relative;width:1%}table.border-settings td:nth-child(4){position:relative;width:2%}table.border-settings td:nth-child(5){width:17%}#divider-indent{padding-left:15px}.sort-order-list-item{background:rgba(0,0,0,0) linear-gradient(to bottom,#7d7e7d 16%,#0e0e0e 60%) repeat scroll 0 0;border-radius:5px;color:#fff;height:30px;margin-bottom:10px;text-align:center;width:153px}.sort-order-text{position:relative;top:3px;letter-spacing:1px;font-size:15px}textarea#styled{color:#909090}#user-directory-settings{position:relative}#list-box-instructions{width:57%;padding-left:40px;font-size:13.5px;font-style:italic;line-height:21px}#bot,#top{position:relative}#top{top:9px}#bot{bottom:12px}#divider-colors{position:relative;top:-9px}#stripes-n-header-checkboxes-1{top:-14px;position:relative}#stripes-n-header-checkboxes-2{top:-22px;position:relative}#sort-cat-font-size{margin-top:5px}.dd-menu-chk-box-width{width:83%}.dd-menu-no-chk-box-width{width:96%}.multiple-dirs-instructions{padding-left:0}.meta-flds-srch-key-input{width:100%}.meta-flds-srch-label-input{width:96%}#social-down-arrow,#social-up-arrow{left:158px;position:relative;top:-23px;cursor:pointer}#address-down-arrow,#address-up-arrow{left:158px;position:relative;top:-39px;cursor:pointer}#wc-down-arrow{position:relative;left:110px;top:-23px;cursor:pointer}#wc-up-arrow{position:relative;left:110px;top:-23px;cursor:pointer}#bp-down-arrow{position:relative;left:85px;top:-23px;cursor:pointer}#bp-up-arrow{position:relative;left:85px;top:-23px;cursor:pointer}#mp-down-arrow{position:relative;left:96px;top:-23px;cursor:pointer}#mp-up-arrow{position:relative;left:96px;top:-23px;cursor:pointer}.fa-angle-down,.fa-angle-up{font-size:27px}.fa-facebook,.fa-facebook-official,.fa-google-plus,.fa-google-plus-square,.fa-instagram,.fa-linkedin,.fa-linkedin-square,.fa-pinterest,.fa-pinterest-square,.fa-twitter,.fa-twitter-square{font-size:22px}.dud-settings-section-header{padding:8px;color:#eee;font-size:12pt;font-weight:700;width:85%;background:#11b8b8;background:-webkit-gradient(linear,left top,left bottom,from(#11b8b8),to(#088));background:-webkit-linear-gradient(top,#11b8b8,#088);background:-moz-linear-gradient(top,#11b8b8,#088);background:-ms-linear-gradient(top,#11b8b8,#088);background:-o-linear-gradient(top,#11b8b8,#088);background-image:-ms-linear-gradient(top,#11b8b8 0,#088 100%)}.dud-settings-section{background-color:#fff;border:1px solid #e5e5e5;padding:7px;width:85%}@media (min-width:240px) and (max-width:481px){.dud-settings-section,.dud-settings-section-header{width:99%}#lb_inc_exc{height:128px;padding-top:57px}#lb_hide_roles{height:128px}table.form-table{width:100%}table.form-table td:nth-child(1){width:100%}table.form-table td:nth-child(2){width:100%}table.form-table td:nth-child(3){font-size:100%;font-style:italic;line-height:21px;width:100%}table.form-table td:nth-child(4){width:0}table.border-settings{width:100%}table.border-settings td:nth-child(1){width:100%!important}table.border-settings td:nth-child(2){width:100%!important}table.border-settings td:nth-child(3){font-style:normal!important;line-height:normal!important;width:100%!important}table.border-settings td:nth-child(4){width:100%!important}#bot{bottom:0;height:100px}#list-box-instructions{width:100%}}@media (min-width:482px) and (max-width:767px){.dud-settings-section,.dud-settings-section-header{width:98%}#lb_inc_exc{height:128px;padding-top:57px}#lb_hide_roles{height:128px}table.form-table{width:80%}table.form-table td:nth-child(1){width:90%}table.form-table td:nth-child(2){width:90%}table.form-table td:nth-child(3){font-size:13.5px;font-style:italic;line-height:21px;width:90%}table.form-table td:nth-child(4){width:0}table.border-settings td:nth-child(1){padding-left:9px;width:1%}table.border-settings td:nth-child(2){line-height:20px;position:relative;width:2%}table.border-settings td:nth-child(3){font-style:normal;line-height:normal;position:relative;width:1%}table.border-settings td:nth-child(4){position:relative;width:2%}table.border-settings td:nth-child(5){width:17%}#bot{bottom:0;height:100px}#list-box-instructions{width:90%}.multiple-dirs-instructions{padding-left:5%}.meta-flds-srch-label-input{width:75%}}@media (min-width:768px) and (max-width:1023px){.dud-settings-section,.dud-settings-section-header{width:98%}table.form-table td:nth-child(1){width:22%}table.form-table td:nth-child(2){width:34%}table.form-table td:nth-child(3){width:70%}table.form-table td:nth-child(4){width:0}table.border-settings td:nth-child(1){padding-left:9px;width:1%}table.border-settings td:nth-child(2){line-height:20px;position:relative;width:4%}table.border-settings td:nth-child(3){font-style:normal;line-height:normal;position:relative;width:2%}table.border-settings td:nth-child(4){position:relative;width:2%}table.border-settings td:nth-child(5){width:17%}#list-box-instructions{width:70%}.multiple-dirs-instructions{padding-left:5%}.meta-flds-srch-label-input{width:80%}}@media (min-width:1024px) and (max-width:1280px){.dud-settings-section,.dud-settings-section-header{width:95%}table.form-table td:nth-child(1){width:22%}table.form-table td:nth-child(2){width:31%}table.form-table td:nth-child(3){width:70%}table.form-table td:nth-child(4){width:0}table.border-settings td:nth-child(1){padding-left:9px;width:1%}table.border-settings td:nth-child(2){line-height:20px;position:relative;width:4%}table.border-settings td:nth-child(3){font-style:normal;line-height:normal;position:relative;width:2%}table.border-settings td:nth-child(4){position:relative;width:2%}table.border-settings td:nth-child(5){width:17%}#list-box-instructions{width:70%}.multiple-dirs-instructions{padding-left:5%}}@media (min-width:1281px) and (max-width:1439px){.multiple-dirs-instructions{padding-left:4%}table.form-table td:nth-child(2){width:28%}table.form-table td:nth-child(1){width:18%}}@media (min-width:1281px){.dud-settings-section,.dud-settings-section-header{width:83%}}
  • dynamic-user-directory/trunk/css/user-directory-admin.css

    r2460447 r2501246  
    211211    left: 158px;
    212212    position: relative;
    213     top: -21px;
     213    top: -39px;
    214214    cursor: pointer;
    215215}
  • dynamic-user-directory/trunk/css/user-directory-min.css

    r2422454 r2501246  
    1 #user-srch input[type=text]{border:1px solid #c9c9c9;border-radius:4px 4px;box-shadow:none;color:#696969;display:block;font-family:sans-serif;font-size:15px;margin:0;padding:10px;transition:border .3s ease 0s;width:100%;border-right:0}#user-srch input[type=text]:focus{border-color:#a9a9a9}::-webkit-input-placeholder{color:silver}#dud_user_srch_name{flex:1}#user-srch{display:flex}.fa-search{color:gray;display:inline-block;position:relative;text-align:center;vertical-align:middle;width:55px;top:-1px}#dud_user_srch_submit{background:#d3d3d3 none repeat scroll 0 0;border:1px solid #c9c9c9;border-radius:0 4px 4px 0;box-shadow:none;left:-1%;margin-left:auto;margin-right:auto;position:relative;text-align:center;top:0;padding:2px;margin-top:0;margin-bottom:0}.dir-listing{margin:7px 7px 25px 4px}.user-avatar{position:absolute;width:96px;padding-top:2px}.user-avatar-circle{position:absolute;width:96px}.dir-listing-text{-ms-word-break:break-all;word-break:break-all;word-break:break-word;padding-left:120px;min-height:110px}.dir-listing-text-surr-border{-ms-word-break:break-all;word-break:break-all;word-break:break-word;padding-left:120px;min-height:96px}.dir-listing-text-no-avatar{-ms-word-break:break-all;word-break:break-all;word-break:break-word;padding-left:6px}.printed-letter{font-size:35px;font-weight:700;vertical-align:middle}.printed-letter-div{border-radius:4px;display:inline-block;line-height:35px;margin-bottom:30px;margin-top:9px;padding-left:8px;position:relative}#letter-divider a{text-decoration:none;color:inherit}#letter-divider a:hover{color:inherit;text-decoration:none}.letter-div-shadow{-webkit-box-shadow:0 2px 3px 0 rgba(0,0,0,.75);-moz-box-shadow:0 2px 3px 0 rgba(0,0,0,.75);box-shadow:0 2px 3px 0 rgba(0,0,0,.75)}.dir-listing-border{border-radius:8px;padding:10px;width:750px}.dir-listing-border-2{border:1px solid;opacity:.6}.alpha-links{padding-left:1%;width:100%}.alpha-links a{text-decoration:none!important;box-shadow:none!important;line-height:25px}.avatar-rounded-edges{border-radius:6px}.custom-letter-div-vertical-dir{display:inline-block;padding-left:7px;position:relative;margin-bottom:25px}.dud-fa-bullet{padding-right:4px;font-size:7px!important;color:inherit;position:relative;top:-3px;display:inline!important}.custom-sort-links table{border:0!important;display:inline-block!important}.custom-sort-links td{border:0!important;padding:0!important;width:100%!important;text-align:left!important;padding-bottom:1%!important}.custom-sort-links a{text-decoration:none!important;box-shadow:none!important}.custom-sort-cat-dd{border:1px solid #c9c9c9;border-radius:4px;box-shadow:none;color:#696969;font-size:15px;height:40px;margin:0;padding:0 0 0 5px;width:347px}[data-pagination],[data-pagination] *,[data-pagination] :after,[data-pagination] :before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-kerning:auto}[data-pagination]{line-height:1;font-weight:600;-webkit-text-size-adjust:100%;margin:0 auto;margin-bottom:10px;text-align:left;transition:font-size .2s ease-in-out}[data-pagination] ul{list-style-type:none;display:inline;font-size:100%;margin:0;padding:.5em}[data-pagination] ul li{display:inline-block;font-size:100%;width:auto;border-radius:3px;padding:0!important;margin:0!important}[data-pagination]>a{font-size:140%}[data-pagination] a{font-size:100%;padding:.5em;text-decoration:none}[data-pagination] .disabled,[data-pagination] [disabled],[data-pagination] [hidden]{opacity:.5;pointer-events:none}@media (min-width:240px){[data-pagination]{font-size:95%!important}[data-pagination] ul{padding:5px}[data-pagination] a{line-height:25px;padding:5px;font-size:95%!important}}@media (min-width:500px){[data-pagination]{font-size:100%!important}[data-pagination] ul{padding:.5em}[data-pagination] a{padding:.5em}}@media (min-width:700px){[data-pagination]{font-size:100%!important}[data-pagination] ul{padding:.5em}[data-pagination] a{padding:.5em}}@media (min-width:900px){[data-pagination]{font-size:100%!important}[data-pagination] ul{padding:.5em}[data-pagination] a{padding:.5em}}div.dud_total_users{font-weight:500;letter-spacing:1px;margin-left:5px;padding-bottom:10px}div.dud_total_users_border{margin-top:10px;margin-bottom:15px;border-bottom:solid 1px}@media (min-width:240px) and (max-width:400px){#user-srch{width:100%!important}#dud_user_srch_name{flex:1 1 0;max-width:100%}.dir-listing{margin:7px 7px 18px 0;width:100%}.user-avatar{display:table;margin-left:auto;margin-right:auto;padding-bottom:10px;position:absolute;max-width:52px!important;width:52px!important;height:100%!important}.user-avatar-circle{position:absolute;max-width:52px!important;width:52px!important}.avatar{max-width:52px!important;width:52px!important;height:100%!important}.avatar-rounded-edges{max-width:52px!important;width:52px!important;height:100%!important}#avatar-size,#avatar-size img{max-width:52px!important;width:52px!important;height:52px!important}.printed-letter-div{line-height:29px!important;min-width:100%!important}.printed-letter{font-size:25px!important}.dir-listing-text,.dir-listing-text-surr-border{font-size:90%!important;margin-right:0;padding-left:65px!important;position:relative;min-height:65px}.dir-listing-border{padding:0;padding-left:8px;display:block;width:100%!important}.dir-listing-text-surr-border{padding-right:5px;width:100%!important}.dir-listing-text-no-avatar{font-size:89%!important;margin-right:0;position:relative;min-height:55px}.alpha-links{font-size:95%!important}.alpha-links a{line-height:25px}.custom-sort-links{display:none!important}.custom-sort-links-responsive-medium{display:inline-block!important}.custom-sort-links-responsive-medium table{border:0!important;display:inline-block!important}.custom-sort-links-responsive-medium td{border:0!important;padding:0!important;width:3%!important;text-align:left!important;padding-bottom:1%!important}.custom-sort-links-responsive-medium a{text-decoration:none!important;box-shadow:none!important;display:inline-block!important;padding-top:5px!important}.custom-sort-cat-dd{width:100%!important}}@media (min-width:401px) and (max-width:700px){.dir-listing{margin:15px 7px 18px 7px;width:100%}.user-avatar{display:table;max-width:80px!important;width:80px;padding-bottom:23px;position:absolute}.user-avatar-circle{position:absolute;max-width:80px!important;width:80px!important}.avatar{max-width:80px!important;height:100%!important;width:80px!important}.avatar-rounded-edges{max-width:80px!important;height:100%!important;width:80px!important}#avatar-size,#avatar-size img{max-width:80px!important;width:80px!important;height:80px!important}.dir-listing-text,.dir-listing-text-surr-border{margin-right:2%;padding-left:97px!important;position:relative;min-height:93px}.dir-listing-text-surr-border{padding-right:6px;width:99%!important}.dir-listing-border{padding:0;padding-left:8px;display:block;width:99%!important}.printed-letter{font-size:28px}.printed-letter-div{line-height:30px!important;min-width:100%!important}.custom-sort-links{display:none!important}.custom-sort-links-responsive-medium{display:inline-block!important}.custom-sort-links-responsive-medium table{border:0!important;display:inline-block!important}.custom-sort-links-responsive-medium td{border:0!important;padding:0!important;width:3%!important;text-align:left!important;padding-bottom:1%!important}.custom-sort-links-responsive-medium a{text-decoration:none!important;box-shadow:none!important;display:inline-block!important;padding-top:5px!important}}@media (min-width:701px) and (max-width:1023px){.dir-listing{margin:7px 7px 18px 0;width:100%}.user-avatar{display:table;max-width:96px;padding-bottom:23px;position:absolute}#avatar-size,#avatar-size img{max-width:96px!important;width:96px!important;height:96px!important}.dir-listing-text,.dir-listing-text-surr-border{margin-right:2%;padding-left:125px!important;position:relative}.dir-listing-border{padding-top:7px;padding-left:0;display:block}.alpha-links{padding-left:1%}}@media (min-width:1024px){.dir-listing-border{display:block}}
     1#user-srch input[type=text]{border:1px solid #c9c9c9;border-radius:4px 4px;box-shadow:none;color:#696969;display:block;font-family:sans-serif;font-size:15px;margin:0;padding:10px;transition:border .3s ease 0s;width:100%;border-right:0}#user-srch input[type=text]:focus{border-color:#a9a9a9}::-webkit-input-placeholder{color:silver}#dud_user_srch_name{flex:1}#user-srch{display:flex}.fa-search{color:gray;display:inline-block;position:relative;text-align:center;vertical-align:middle;width:55px;top:-1px}#dud_user_srch_submit{background:#d3d3d3 none repeat scroll 0 0;border:1px solid #c9c9c9;border-radius:0 4px 4px 0;box-shadow:none;left:-1%;margin-left:auto;margin-right:auto;position:relative;text-align:center;top:0;padding:2px;margin-top:0;margin-bottom:0}.dir-listing{margin:7px 7px 20px 4px}.user-avatar{position:absolute;width:96px;padding-top:2px}.user-avatar-circle{position:absolute;width:96px}.dir-listing-text{-ms-word-break:break-all;word-break:break-all;word-break:break-word;padding-left:120px;min-height:110px}.dir-listing-text-surr-border{-ms-word-break:break-all;word-break:break-all;word-break:break-word;padding-left:120px;min-height:96px}.dir-listing-text-no-avatar{-ms-word-break:break-all;word-break:break-all;word-break:break-word;padding-left:6px}.printed-letter{font-size:35px;font-weight:700;vertical-align:middle}.printed-letter-div{border-radius:4px;display:inline-block;line-height:35px;margin-bottom:30px;margin-top:9px;padding-left:8px;position:relative}#letter-divider a{text-decoration:none;color:inherit}#letter-divider a:hover{color:inherit;text-decoration:none}.letter-div-shadow{-webkit-box-shadow:0 2px 3px 0 rgba(0,0,0,.75);-moz-box-shadow:0 2px 3px 0 rgba(0,0,0,.75);box-shadow:0 2px 3px 0 rgba(0,0,0,.75)}.dir-listing-border{border-radius:8px;padding:10px;width:750px}.dir-listing-border-2{border:1px solid;opacity:.6}.alpha-links{padding-left:1%;width:100%}.alpha-links a{text-decoration:none!important;box-shadow:none!important;line-height:25px}.avatar-rounded-edges{border-radius:6px}.custom-letter-div-vertical-dir{display:inline-block;padding-left:7px;position:relative;margin-bottom:25px}.dud-fa-bullet{padding-right:4px;font-size:7px!important;color:inherit;position:relative;top:-3px;display:inline!important}.custom-sort-links table{border:0!important;display:inline-block!important}.custom-sort-links td{border:0!important;padding:0!important;width:100%!important;text-align:left!important;padding-bottom:1%!important}.custom-sort-links a{text-decoration:none!important;box-shadow:none!important}.custom-sort-cat-dd{border:1px solid #c9c9c9;border-radius:4px;box-shadow:none;color:#696969;font-size:15px;height:40px;margin:0;padding:0 0 0 5px;width:347px}[data-pagination],[data-pagination] *,[data-pagination] :after,[data-pagination] :before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-kerning:auto}[data-pagination]{line-height:1;font-weight:600;-webkit-text-size-adjust:100%;margin:0 auto;margin-bottom:10px;text-align:left;transition:font-size .2s ease-in-out}[data-pagination] ul{list-style-type:none;display:inline;font-size:100%;margin:0;padding:.5em}[data-pagination] ul li{display:inline-block;font-size:100%;width:auto;border-radius:3px;padding:0!important;margin:0!important}[data-pagination]>a{font-size:140%}[data-pagination] a{font-size:100%;padding:.5em;text-decoration:none}[data-pagination] .disabled,[data-pagination] [disabled],[data-pagination] [hidden]{opacity:.5;pointer-events:none}@media (min-width:240px){[data-pagination]{font-size:95%!important}[data-pagination] ul{padding:5px}[data-pagination] a{line-height:25px;padding:5px;font-size:95%!important}}@media (min-width:500px){[data-pagination]{font-size:100%!important}[data-pagination] ul{padding:.5em}[data-pagination] a{padding:.5em}}@media (min-width:700px){[data-pagination]{font-size:100%!important}[data-pagination] ul{padding:.5em}[data-pagination] a{padding:.5em}}@media (min-width:900px){[data-pagination]{font-size:100%!important}[data-pagination] ul{padding:.5em}[data-pagination] a{padding:.5em}}div.dud_total_users{font-weight:500;letter-spacing:1px;margin-left:5px;padding-bottom:10px}div.dud_total_users_border{margin-top:10px;margin-bottom:15px;border-bottom:solid 1px}@media (min-width:240px) and (max-width:400px){#user-srch{width:100%!important}#dud_user_srch_name{flex:1 1 0;max-width:100%}.dir-listing{margin:7px 7px 18px 0;width:100%;min-height:unset!important}.user-avatar{display:table;margin-left:auto;margin-right:auto;padding-bottom:10px;position:absolute;max-width:52px!important;width:52px!important;height:100%!important}.user-avatar-circle{position:absolute;max-width:52px!important;width:52px!important}.avatar{max-width:52px!important;width:52px!important;height:100%!important}.avatar-rounded-edges{max-width:52px!important;width:52px!important;height:100%!important}#avatar-size,#avatar-size img{max-width:52px!important;width:52px!important;height:52px!important}.printed-letter-div{line-height:29px!important;min-width:100%!important}.printed-letter{font-size:25px!important}.dir-listing-text,.dir-listing-text-surr-border{font-size:90%!important;margin-right:0;padding-left:65px!important;position:relative;min-height:65px}.dir-listing-border{padding:0;padding-left:8px;display:block;width:100%!important}.dir-listing-text-surr-border{padding-right:5px;width:100%!important}.dir-listing-text-no-avatar{font-size:89%!important;margin-right:0;position:relative;min-height:55px}.alpha-links{font-size:95%!important}.alpha-links a{line-height:25px}.custom-sort-links{display:none!important}.custom-sort-links-responsive-medium{display:inline-block!important}.custom-sort-links-responsive-medium table{border:0!important;display:inline-block!important}.custom-sort-links-responsive-medium td{border:0!important;padding:0!important;width:3%!important;text-align:left!important;padding-bottom:1%!important}.custom-sort-links-responsive-medium a{text-decoration:none!important;box-shadow:none!important;display:inline-block!important;padding-top:5px!important}.custom-sort-cat-dd{width:100%!important}}@media (min-width:401px) and (max-width:700px){.dir-listing{margin:15px 7px 18px 7px;width:100%;min-height:unset!important}.user-avatar{display:table;max-width:80px!important;width:80px;padding-bottom:23px;position:absolute}.user-avatar-circle{position:absolute;max-width:80px!important;width:80px!important}.avatar{max-width:80px!important;height:100%!important;width:80px!important}.avatar-rounded-edges{max-width:80px!important;height:100%!important;width:80px!important}#avatar-size,#avatar-size img{max-width:80px!important;width:80px!important;height:80px!important}.dir-listing-text,.dir-listing-text-surr-border{margin-right:2%;padding-left:97px!important;position:relative;min-height:93px}.dir-listing-text-surr-border{padding-right:6px;width:99%!important}.dir-listing-border{padding:0;padding-left:8px;display:block;width:99%!important}.printed-letter{font-size:28px}.printed-letter-div{line-height:30px!important;min-width:100%!important}.custom-sort-links{display:none!important}.custom-sort-links-responsive-medium{display:inline-block!important}.custom-sort-links-responsive-medium table{border:0!important;display:inline-block!important}.custom-sort-links-responsive-medium td{border:0!important;padding:0!important;width:3%!important;text-align:left!important;padding-bottom:1%!important}.custom-sort-links-responsive-medium a{text-decoration:none!important;box-shadow:none!important;display:inline-block!important;padding-top:5px!important}}@media (min-width:1024px){.dir-listing-border{display:block}}
  • dynamic-user-directory/trunk/css/user-directory.css

    r2422454 r2501246  
    7777
    7878.dir-listing {
    79     margin: 7px 7px 25px 4px;
     79    margin: 7px 7px 20px 4px;
    8080}
    8181
     
    367367    margin: 7px 7px 18px 0;
    368368    width: 100%;
     369    min-height:unset !important;
    369370}
    370371
     
    486487    margin: 15px 7px 18px 7px;
    487488    width: 100%;
     489    min-height:unset !important;
    488490}
    489491
     
    583585@media (min-width: 701px) and (max-width: 1023px) {
    584586
    585 .dir-listing {
     587/*.dir-listing {
    586588    margin: 7px 7px 18px 0%;
    587589    width: 100%;
     
    614616.alpha-links {
    615617    padding-left: 1%;
    616 }
     618}*/
    617619}
    618620
  • dynamic-user-directory/trunk/dynamic-user-directory.php

    r2460447 r2501246  
    33* Plugin URI: http://sgcustomwebsolutions.com
    44* 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.0
     5* Version: 1.6.1
    66* Author: Sarah Giles
    77* Author URI: http://sgcustomwebsolutions.com
  • dynamic-user-directory/trunk/includes/admin.php

    r2460447 r2501246  
    216216        'ud_col_width_name' => '',
    217217        'ud_col_width_email' => '',
    218         'ud_col_width_website' => '',
     218        'ud_col_width_website' => '',
     219        'ud_col_width_date' => '',
    219220        'ud_col_width_address' => '',
    220221        'ud_col_width_social' => '',
     
    248249        'ud_col_label_email' => '',
    249250        'ud_col_label_website' => '',
     251        'ud_col_label_date' => '',
    250252        'ud_col_label_address' => '',
    251253        'ud_col_label_social' => '',
     
    353355        'dud_export_srch_link_text' => '',
    354356        'dud_export_initial_dir_link_text' => '',
    355         'dud_export_link_position' => ''
     357        'dud_export_link_position' => '',
     358        'dud_export_performance' => '',
     359        'dud_export_file_prefix' => '',
     360        'ud_date_registered' => '',
     361        'ud_date_registered_format' => '',
     362        'ud_date_lbl' => '',
     363        'ud_email_lbl' => '',
     364        'ud_website_lbl' => ''
    356365    );
    357366
     
    11441153   
    11451154    <tr>
    1146         <td><b>Show/Hide User Name</b></td>
     1155        <td><b>Show User's Full Name/Display Name</b></td>
    11471156        <td>
    11481157            <select class="dd-menu-no-chk-box-width" name="<?php echo $dud_option_name;?>[ud_hide_username]" id="ud_hide_username">
    1149                     <OPTION value="show">Show Username</OPTION>
    1150                     <OPTION value="hide" <?php echo (!empty($dud_options['ud_hide_username']) && $dud_options['ud_hide_username'] == "hide") ? "SELECTED" : ""; ?>>Hide Username</OPTION>                             
     1158                    <OPTION value="show">Yes</OPTION>
     1159                    <OPTION value="hide" <?php echo (!empty($dud_options['ud_hide_username']) && $dud_options['ud_hide_username'] == "hide") ? "SELECTED" : ""; ?>>No</OPTION>                               
    11511160            </select>
    11521161        </td>
    1153         <td>Optionally hide the user name shown by default at the beginning of each listing. IMPORTANT NOTE: All users must still have a Last Name or Display Name filled out in their WordPress profile.</td>
     1162        <td>Optionally hide the user's full name or display name (depending on which sort field you're using) that is shown by default at the beginning of each listing. IMPORTANT NOTE: All users must still have a Last Name or Display Name filled out in their WordPress profile.</td>
    11541163        <td></td>
    11551164    </tr>
     
    15341543            <td></td>
    15351544        </tr>
    1536        
     1545        <tr>
     1546            <td><b>Export File Prefix</b></td>
     1547            <td><input style="width:331px;" type="text" maxlength="150" id="dud_export_file_prefix" name="<?php echo $dud_option_name;?>[dud_export_file_prefix]"
     1548                    value="<?php echo (!empty($dud_options['dud_export_file_prefix'] )) ? esc_attr( $dud_options['dud_export_file_prefix'] ) : "Directory-Export-"; ?>" /></td>
     1549            <td>Customize the export filename prefix that is added to the timestamp. Default is "Directory-Export-"</td>
     1550            <td></td>
     1551        </tr>
    15371552        <tr>
    15381553            <td><b>Only Show Directory Export Link For These Roles</b></td>
     
    15601575         </tr>
    15611576        <tr>
    1562             <td><b>Directory Export Link Text</b></td>
    1563             <td><input style="width:331px;" type="text" maxlength="150" id="dud_export_initial_dir_link_text" name="<?php echo $dud_option_name;?>[dud_export_initial_dir_link_text]"
    1564                     value="<?php echo (!empty($dud_options['dud_export_initial_dir_link_text'] )) ? esc_attr( $dud_options['dud_export_initial_dir_link_text'] ) : "Export Directory to CSV"; ?>" /></td>
    1565             <td>This link is shown when the directory initially loads. Clicking this will trigger the creation of the full directory export file. The page will then refresh and the directory download link will appear.</td>
    1566             <td></td>
    1567         </tr>
    1568         <tr>
    15691577            <td><b>Directory Download Link Text</b></td>
    15701578            <td><input style="width:331px;" type="text" maxlength="150" id="dud_export_directory_link_text" name="<?php echo $dud_option_name;?>[dud_export_directory_link_text]"
     
    15991607            <td>Show a letter divider (normal directory) or category divider (Custom Sort Field add-on) in the export listings.</td>
    16001608            <td></td>
    1601          </tr>
     1609        </tr>
     1610        <tr>
     1611            <td><b>Performance Improvement: Show Directory Export Link</b></td>
     1612            <td><input name="<?php echo $dud_option_name;?>[dud_export_performance]" id="dud_export_performance" type="checkbox"
     1613               value="1" <?php if(!empty($dud_options['dud_export_performance'])) { checked( '1', $dud_options['dud_export_performance'] ); } ?> />
     1614            </td>
     1615            <td>Check this box if you are experiencing slow page load time or a high number of export files are appearing in your root directory. Instead of auto-generating the export file each time the page loads, an "export" link will be shown that must be clicked before the export file is created. When the page refreshes, the "download" link will then be shown.</td>
     1616            <td></td>
     1617        </tr>
     1618        <tr>
     1619            <td><b>Directory Export Link Text</b></td>
     1620            <td><input style="width:331px;" type="text" maxlength="150" id="dud_export_initial_dir_link_text" name="<?php echo $dud_option_name;?>[dud_export_initial_dir_link_text]"
     1621                    value="<?php echo (!empty($dud_options['dud_export_initial_dir_link_text'] )) ? esc_attr( $dud_options['dud_export_initial_dir_link_text'] ) : "Export Directory to CSV"; ?>" /></td>
     1622            <td>This link is only shown if the "Performance Improvement" box above is checked.</td>
     1623            <td></td>
     1624        </tr>
    16021625    </table>   
    16031626<br/><br/>
     
    17461769            <td>Check the boxes to show these built-in WordPress user profile fields in the directory. If you wish to show an email or website address that is stored in a meta field instead, do *not* check these boxes, and simply add the email and/or website meta field key names below. </td>
    17471770            <td></td>
    1748          </tr>   
     1771         </tr>
     1772        <tr>
     1773            <td><b>Show Date Registered</b>&nbsp;&nbsp;<input name="<?php echo $dud_option_name;?>[ud_date_registered]" id="ud_date_registered" type="checkbox" value="1"
     1774                <?php if(!empty($dud_options['ud_date_registered'])) { checked( '1', $dud_options['ud_date_registered'] ); } ?> /></td>
     1775            <td><b>Date Format</b><br>
     1776                        <select class="dd-menu-no-chk-box-width" name="<?php echo $dud_option_name;?>[ud_date_registered_format]">
     1777                            <OPTION value="" <?php echo (!empty($dud_options['ud_date_registered_format']) && $dud_options['ud_date_registered_format'] == "") ? "SELECTED" : ""; ?>>Default</OPTION>
     1778                            <OPTION value="16" <?php echo (!empty($dud_options['ud_date_registered_format']) && $dud_options['ud_date_registered_format'] == "16") ? "SELECTED" : ""; ?>>dd.mm.yyyy hh:mm:ss</OPTION>
     1779                            <OPTION value="17" <?php echo (!empty($dud_options['ud_date_registered_format']) && $dud_options['ud_date_registered_format'] == "17") ? "SELECTED" : ""; ?>>dd.mm.yy hh:mm:ss</OPTION>
     1780                            <OPTION value="18" <?php echo (!empty($dud_options['ud_date_registered_format']) && $dud_options['ud_date_registered_format'] == "18") ? "SELECTED" : ""; ?>>dd.mm.yy</OPTION>
     1781                            <OPTION value="19" <?php echo (!empty($dud_options['ud_date_registered_format']) && $dud_options['ud_date_registered_format'] == "19") ? "SELECTED" : ""; ?>>dd.mm.yyyy</OPTION>
     1782                            <OPTION value="20" <?php echo (!empty($dud_options['ud_date_registered_format']) && $dud_options['ud_date_registered_format'] == "20") ? "SELECTED" : ""; ?>>mm/dd/yyyy hh:mm:ss</OPTION>
     1783                            <OPTION value="21" <?php echo (!empty($dud_options['ud_date_registered_format']) && $dud_options['ud_date_registered_format'] == "21") ? "SELECTED" : ""; ?>>mm/dd/yy hh:mm:ss</OPTION>
     1784                            <OPTION value="22" <?php echo (!empty($dud_options['ud_date_registered_format']) && $dud_options['ud_date_registered_format'] == "22") ? "SELECTED" : ""; ?>>mm/dd/yy</OPTION>
     1785                            <OPTION value="23" <?php echo (!empty($dud_options['ud_date_registered_format']) && $dud_options['ud_date_registered_format'] == "23") ? "SELECTED" : ""; ?>>mm/dd/yyyy</OPTION>
     1786                        </select>
     1787            </td>
     1788            <td>Check the box to show the date registered from the built-in WordPress user profile field in the directory.</td>
     1789            <td></td>
     1790        </tr>
     1791        <tr id="email_lbl_row">
     1792            <td><b>Email Addr Label</b></td>
     1793            <td><input type="text" id="ud_email_lbl" class="dd-menu-no-chk-box-width" name="<?php echo $dud_option_name;?>[ud_email_lbl]"
     1794                    value="<?php echo !empty($dud_options['ud_email_lbl']) ? esc_attr( $dud_options['ud_email_lbl'] ) : ""; ?>" /></td>
     1795            <td>Enter a label for the email address. If left blank, no label will be shown.</td>
     1796            <td></td>
     1797        </tr>       
     1798        <tr id="website_lbl_row">
     1799            <td><b>Website Label</b></td>
     1800            <td><input type="text" id="ud_website_lbl" class="dd-menu-no-chk-box-width" name="<?php echo $dud_option_name;?>[ud_website_lbl]"
     1801                    value="<?php echo !empty($dud_options['ud_website_lbl']) ? esc_attr( $dud_options['ud_website_lbl'] ) : ""; ?>" /></td>
     1802            <td>Enter a label for the website. If left blank, no label will be shown.</td>
     1803            <td></td>
     1804        </tr>       
     1805        <tr id="date_lbl_row">
     1806            <td><b>Date Registered Label</b></td>
     1807            <td><input type="text" id="ud_date_lbl" class="dd-menu-no-chk-box-width" name="<?php echo $dud_option_name;?>[ud_date_lbl]"
     1808                    value="<?php echo !empty($dud_options['ud_date_lbl']) ? esc_attr( $dud_options['ud_date_lbl'] ) : ""; ?>" /></td>
     1809            <td>Enter a label for the date registered. If left blank, no label will be shown.</td>
     1810            <td></td>
     1811        </tr>       
    17491812        <tr>
    17501813            <td colspan="2"><b>WordPress Meta Key Names</b><br><?php echo dynamic_ud_load_meta_keys("wp"); ?></td>
     
    20932156                <td><div id="website_label"><b>Website Heading Label</b><br><input class="dd-menu-chk-box-width" type="text" id="ud_col_label_website" name="<?php echo $dud_option_name;?>[ud_col_label_website]"
    20942157                    value="<?php echo !empty($dud_options['ud_col_label_website']) ? esc_attr( $dud_options['ud_col_label_website'] ) : ""; ?>" size="2" maxlength="40"/></div></td>
     2158                <td></td>
     2159                <td></td>
     2160            </tr>
     2161           
     2162            <tr id="col_width_date">
     2163                <td><b>Date Registered Col Width</b><br><input class="dd-menu-chk-box-width" type="text" id="ud_col_width_date" name="<?php echo $dud_option_name;?>[ud_col_width_date]"
     2164                    value="<?php echo !empty($dud_options['ud_col_width_date']) ? esc_attr( $dud_options['ud_col_width_date'] ) : ""; ?>" size="2" maxlength="2"/> %</td>
     2165                <td><div id="date_registered_label"><b>Date Registered Heading Label</b><br><input class="dd-menu-chk-box-width" type="text" id="ud_col_label_date" name="<?php echo $dud_option_name;?>[ud_col_label_date]"
     2166                    value="<?php echo !empty($dud_options['ud_col_label_date']) ? esc_attr( $dud_options['ud_col_label_date'] ) : ""; ?>" size="2" maxlength="40"/></div></td>
    20952167                <td></td>
    20962168                <td></td>
     
    28122884         if(strpos($input, 'MetaKey10') === FALSE)$input .= ',MetaKey10';
    28132885         if(strpos($input, 'Social') === FALSE)   $input .= ',Social';
    2814          
     2886         if(strpos($input, 'DateRegistered') === FALSE)   $input .= ',DateRegistered';
     2887         
    28152888         $output = explode(',', $input); 
    28162889     }
    28172890     else
    28182891     {
    2819         $output = "Address,Social,Email,Website,MetaKey1,MetaKey2,MetaKey3,MetaKey4,MetaKey5,MetaKey6,MetaKey7,MetaKey8,MetaKey9,MetaKey10";
     2892        $output = "Address,Social,Email,Website,DateRegistered,MetaKey1,MetaKey2,MetaKey3,MetaKey4,MetaKey5,MetaKey6,MetaKey7,MetaKey8,MetaKey9,MetaKey10";
    28202893        $output = explode(',', $output);
    28212894     }
     
    32343307        }
    32353308       
     3309        fwrite($newfile, '                  $( "#dud_user_srch_val" ).val("");' . PHP_EOL);
    32363310        fwrite($newfile, '                  $("#dud_text_input").show();' . PHP_EOL);
    32373311        fwrite($newfile, '            }' . PHP_EOL);
  • dynamic-user-directory/trunk/includes/core.php

    r2460447 r2501246  
    2323* dud_set_user_email_display            = modify the text of the email link wihtout changing the email address itself
    2424* dud_modify_social_flds                = modify the social media field values
     25* dud_modify_social_fld_icons           = modify the social media field icons
    2526* dud_directory_totals_notification     = modify the user and search result totals notification text
    2627*
     
    6263$exclude_user_filter_active = false;
    6364$export_active = false;
     65$load_S2M = false;
    6466
    6567$dud_options = get_option( 'dud_plugin_settings' );
     
    451453            {
    452454                $tmp_uids = dud_filter_users($tmp_uids, $dud_options);
     455                $total_users = count($tmp_uids);
    453456                $uids = dud_filter_users($uids, $dud_options);
    454457                $letters = apply_filters( 'dud_filter_users_letter_links', $letters, $tmp_uids, $dud_options );
     
    459462            else
    460463            {
    461                 $uids = dud_filter_users($uids, $dud_options);
     464                $uids = dud_filter_users($uids, $dud_options);
     465                $total_users = count($uids);
    462466                $letters = apply_filters( 'dud_filter_users_letter_links', $letters, $uids, $dud_options );
    463467            }
     
    466470        {
    467471            $uids = dud_filter_users($uids, $dud_options);
     472            $total_users = count($uids);
    468473            $letters = apply_filters( 'dud_filter_users_letter_links', $letters, $uids, $dud_options );
    469474           
     
    480485    {
    481486        $uids = dud_filter_users($uids, $dud_options);
     487        $total_users = count($uids);
    482488        $letters = apply_filters( 'dud_filter_users_letter_links', $letters, $uids, $dud_options );
    483489    }
    484490}
    485 
    486 //Set the total user count after running all filters
    487 if(!empty($tmp_uids))
    488 {
    489     $tmp_uids = apply_filters( 'dud_after_load_uids', $tmp_uids);
    490     $tmp_uids = apply_filters( 'dud_after_load_uids_multi_dirs', $tmp_uids, $loaded_options);
    491     $total_users =  count($tmp_uids);
    492 }
    493491else
    494     $total_users = count($uids);
     492{
     493    //Set the total user count after running all filters
     494    if(!empty($tmp_uids))
     495    {
     496        $tmp_uids = apply_filters( 'dud_after_load_uids', $tmp_uids);
     497        $tmp_uids = apply_filters( 'dud_after_load_uids_multi_dirs', $tmp_uids, $loaded_options);
     498        $total_users =  count($tmp_uids);
     499    }
     500    else
     501    {
     502        $total_users = count($uids);
     503    }
     504}
    495505
    496506// For the Hide Dir Before Srch add-on
     
    584594    $ud_hide_username                      = !empty($dud_options['ud_hide_username']) ? $dud_options['ud_hide_username'] : null;
    585595    $ud_letter_spacing                     = !empty($dud_options['ud_letter_spacing']) ? $dud_options['ud_letter_spacing'] : "1px";
     596    $ud_date_registered_format             = !empty($dud_options['ud_date_registered_format']) ? $dud_options['ud_date_registered_format'] : "";
     597    $ud_email_lbl                          = !empty($dud_options['ud_email_lbl']) ? $dud_options['ud_email_lbl'] : "";
     598    $ud_website_lbl                        = !empty($dud_options['ud_website_lbl']) ? $dud_options['ud_website_lbl'] : "";
     599    $ud_date_lbl                           = !empty($dud_options['ud_date_lbl']) ? $dud_options['ud_date_lbl'] : "";   
    586600   
    587601    //Export Add-on
     
    656670        }
    657671    }
    658    
     672       
    659673    //Custom Sort Field Add-On: Check for category change. Used for printing category header only.
    660674    if(!empty($ud_sort_fld_key) && $custom_sort_active && $ud_sort_cat_header !== "nch")
     
    684698        echo "<BR></PRE>";
    685699    }
    686        
     700   
     701    if(in_array( 's2member/s2member.php' , $plugins))
     702    {
     703        //See if there are S2Member Keys for this directory
     704        $flds_arr = get_s2member_custom_fields();
     705       
     706        foreach($flds_arr as $key => $value)
     707        {
     708            for($inc=0; $inc < sizeof($user_directory_meta_flds); $inc++)
     709            {
     710                if(strtoupper($user_directory_meta_flds[$inc]['field']) === strtoupper($key))
     711                {
     712                    $load_S2M = true;
     713                    break;
     714                }   
     715            }
     716           
     717            if(strtoupper($user_directory_addr_1_op) === strtoupper($key)) $load_S2M = true;     
     718            else if(strtoupper($user_directory_addr_2_op) === strtoupper($key)) $load_S2M = true;
     719            else if(strtoupper($user_directory_city_op) === strtoupper($key)) $load_S2M = true;         
     720            else if(strtoupper($user_directory_state_op) === strtoupper($key)) $load_S2M = true;     
     721            else if(strtoupper($user_directory_zip_op) === strtoupper($key)) $load_S2M = true;       
     722            else if(strtoupper($user_directory_country_op) === strtoupper($key)) $load_S2M = true;         
     723            else if(strtoupper($ud_facebook_op) === strtoupper($key)) $load_S2M = true;         
     724            else if(strtoupper($ud_twitter_op) === strtoupper($key)) $load_S2M = true;       
     725            else if(strtoupper($ud_linkedin_op) === strtoupper($key)) $load_S2M = true;     
     726            else if(strtoupper($ud_google_op) === strtoupper($key)) $load_S2M = true;   
     727            else if(strtoupper($ud_pinterest_op) === strtoupper($key)) $load_S2M = true;     
     728            else if(strtoupper($ud_instagram_op) === strtoupper($key)) $load_S2M = true; 
     729        }
     730    }
     731   
    687732    $user_directory_meta_flds = apply_filters('dud_after_load_meta_flds', $user_directory_meta_flds);
    688733   
     
    690735    $user_directory_email = !empty($dud_options['user_directory_email']) ? $dud_options['user_directory_email'] : null;        //wp_users field
    691736    $user_directory_website = !empty($dud_options['user_directory_website']) ? $dud_options['user_directory_website'] : null;  //wp_users field
     737    $ud_date_registered = !empty($dud_options['ud_date_registered']) ? $dud_options['ud_date_registered'] : null;  //wp_users field
    692738   
    693739    /*** Set defaults for empty options ***/
     
    909955        $user_website = "";
    910956        $user_email = "";
     957        $user_registered = "";
    911958        $user_first_name = "";
    912959        $user_last_name = "";
     
    10171064            $user_directory_meta_flds_tmp = dud_load_bp_vals($user_id, $dud_options, $user_directory_meta_flds_tmp);
    10181065
    1019         else if(in_array( 's2member/s2member.php' , $plugins ) ) //s2Member fields
     1066        // Load S2Member fields if there is at least one matching key
     1067        if(in_array( 's2member/s2member.php' , $plugins) && $load_S2M)
    10201068            $user_directory_meta_flds_tmp = dud_load_s2m_vals($user_id, $dud_options, $user_directory_meta_flds_tmp);
    10211069       
     
    11311179            $user_website =  $userdata->user_url;
    11321180        if(!empty($user_directory_email) && !empty($userdata))
    1133             $user_email =  $userdata->user_email;   
     1181            $user_email =  $userdata->user_email;
     1182        if(!empty($ud_date_registered) && !empty($userdata))
     1183            $user_registered = $userdata->user_registered;
    11341184       
    11351185        $user_email = apply_filters('dud_set_user_email', $user_email, $user_id);
     
    12621312        }
    12631313
    1264         $user_contact_info .= "\n<DIV class=\"dir-listing\">\n";   
     1314
     1315        if($user_directory_show_avatar)
     1316            $user_contact_info .= "\n<DIV class=\"dir-listing\" style=\"min-height:" . $user_directory_avatar_size . "px;\">\n";
     1317        else
     1318            $user_contact_info .= "\n<DIV class=\"dir-listing\">\n";
    12651319                   
    12661320        /*** Print Avatar ***/     
     
    12911345            {
    12921346                $user_avatar_url = str_replace ( "96", $user_directory_avatar_size, $user_avatar_url );
    1293                 $user_avatar_url = str_replace ( ">", " style=\"height:" . $user_directory_avatar_size . "px;\">", $user_avatar_url );
     1347                $user_avatar_url = str_replace ( ">", " style=\"height:" . $user_directory_avatar_size . "px;width:100%;\">", $user_avatar_url );
    12941348            }
    12951349           
     
    13121366           
    13131367            if($user_directory_border === "surrounding_border")
    1314                 $user_contact_info .= "<DIV style='font-size:" . $user_directory_listing_fs . "px;padding-left: " . $user_directory_avatar_padding . "px;letter-spacing: " . $ud_letter_spacing . ";' class='dir-listing-text-surr-border'>\n\t\t";
     1368                $user_contact_info .= "<DIV style='font-size:" . $user_directory_listing_fs . "px;padding-left: " . $user_directory_avatar_padding . "px;pointer-events:none;letter-spacing: " . $ud_letter_spacing . ";' class='dir-listing-text-surr-border'>\n\t\t";
    13151369            else
    1316                 $user_contact_info .= "<DIV style='font-size:" . $user_directory_listing_fs . "px;padding-left: " . $user_directory_avatar_padding . "px;letter-spacing: " . $ud_letter_spacing . ";' class='dir-listing-text'>\n\t\t";
     1370                $user_contact_info .= "<DIV style='font-size:" . $user_directory_listing_fs . "px;padding-left: " . $user_directory_avatar_padding . "px;pointer-events:none;letter-spacing: " . $ud_letter_spacing . ";' class='dir-listing-text'>\n\t\t";
    13171371        }
    13181372        else   
    13191373            $user_contact_info .= "\n\t<DIV style='font-size:"
    1320                 . $user_directory_listing_fs . "px;letter-spacing: " . $ud_letter_spacing . ";' class='dir-listing-text-no-avatar'>\n\t\t";
     1374                . $user_directory_listing_fs . "px;pointer-events:none;letter-spacing: " . $ud_letter_spacing . ";' class='dir-listing-text-no-avatar'>\n\t\t";
    13211375           
    13221376        /*** Sort Field field is always displayed first ***/
    1323        
    13241377        if($user_fullname !== '' && !($ud_hide_username === "hide"))
    1325             $user_contact_info .= "\t<div class='dud_field_name'>" . $user_fullname . "</div>\n";
     1378            $user_contact_info .= "\t<div style='pointer-events:all;' class='dud_field_name'>" . $user_fullname . "</div>\n";
    13261379             
    13271380        /*** Print remaining fields in the chosen display order ***/     
     
    13361389            {
    13371390                if($user_directory_email && $user_email !== '') {
    1338                     $user_contact_info .= "\t\t\t<div class='dud_field_email'><a href=\"mailto:" . $user_email . "\" target=\"_top\">" . apply_filters('dud_set_user_email_display', $user_email, $user_id) . "</a></div>\n";   
     1391                   
     1392                    if(!empty($ud_email_lbl)) $ud_email_lbl = "<strong>" . $ud_email_lbl . "</strong> ";
     1393                                       
     1394                    $user_contact_info .= "\t\t\t<div class='dud_field_email'>$ud_email_lbl <a href=\"mailto:" . $user_email . "\" target=\"_top\">" . apply_filters('dud_set_user_email_display', $user_email, $user_id) . "</a></div>\n";
    13391395                    $line_cnt++;
    13401396                }
     
    13431399            {
    13441400                if($user_directory_website && $user_website !== '') {
     1401                   
     1402                    if(!empty($ud_website_lbl)) $user_website = "<strong>" . $ud_webiste_lbl . "</strong> " . $user_website;
     1403                       
    13451404                    $user_contact_info .= "\t\t\t<div class='dud_field_website'><a href=\"" . $user_website . "\">" . $user_website . "</a></div>\n";   
     1405                    $line_cnt++;
     1406                }
     1407            }
     1408            else if($item === "DateRegistered")
     1409            {
     1410                if($ud_date_registered && $user_registered !== '') {
     1411                                   
     1412                    $user_registered = formatDateTime($user_registered, $ud_date_registered_format);
     1413                   
     1414                    if(!empty($ud_date_lbl)) $user_registered = "<strong>" . $ud_date_lbl . "</strong> " . $user_registered;
     1415                   
     1416                    $user_contact_info .= "\t\t\t<div class='dud_field_date_registered'>" . $user_registered . "</div>\n"; 
    13461417                    $line_cnt++;
    13471418                }
     
    13661437                    if(!empty($social_flds[0]))
    13671438                    {                       
    1368                         if($ud_icon_style === "1") $social_icons .= "<a href= '" . $social_flds[0] . "' style='color:" . $ud_icon_color . ";'><i class='fab fa-facebook-square' style='color:" . $ud_icon_color . "!important;font-size:" . $ud_icon_size . "px !important;' aria-hidden='true'></i></a>&nbsp;";
    1369                         else                       $social_icons .= "<a href= '" . $social_flds[0] . "' style='color:" . $ud_icon_color . ";'><i class='fab fa-facebook-f' style='color:" . $ud_icon_color . "!important;font-size:" . $ud_icon_size . "px !important;' aria-hidden='true'></i></a>&nbsp;";
     1439                        if($ud_icon_style === "1") $social_icons .= "<a href= '" . $social_flds[0] . "' target='_blank' style='color:" . $ud_icon_color . ";'><i class='fab fa-facebook-square' style='color:" . $ud_icon_color . "!important;font-size:" . $ud_icon_size . "px !important;' aria-hidden='true'></i></a>&nbsp;";
     1440                        else                       $social_icons .= "<a href= '" . $social_flds[0] . "' target='_blank' style='color:" . $ud_icon_color . ";'><i class='fab fa-facebook-f' style='color:" . $ud_icon_color . "!important;font-size:" . $ud_icon_size . "px !important;' aria-hidden='true'></i></a>&nbsp;";
    13701441                    }
    13711442                    if(!empty($social_flds[1]))
    13721443                    {
    1373                         if($ud_icon_style === "1") $social_icons .= "<a href= '" . $social_flds[1] . "' style='color:" . $ud_icon_color . ";'><i class='fab fa-twitter-square' style='color:" . $ud_icon_color . "!important;font-size:" . $ud_icon_size . "px !important;' aria-hidden='true'></i></a>&nbsp;";
    1374                         else                       $social_icons .= "<a href= '" . $social_flds[1] . "' style='color:" . $ud_icon_color . ";'><i class='fab fa-twitter' style='color:" . $ud_icon_color . "!important;font-size:" . $ud_icon_size . "px !important;' aria-hidden='true'></i></a>&nbsp;";
     1444                        if($ud_icon_style === "1") $social_icons .= "<a href= '" . $social_flds[1] . "' target='_blank' style='color:" . $ud_icon_color . ";'><i class='fab fa-twitter-square' style='color:" . $ud_icon_color . "!important;font-size:" . $ud_icon_size . "px !important;' aria-hidden='true'></i></a>&nbsp;";
     1445                        else                       $social_icons .= "<a href= '" . $social_flds[1] . "' target='_blank' style='color:" . $ud_icon_color . ";'><i class='fab fa-twitter' style='color:" . $ud_icon_color . "!important;font-size:" . $ud_icon_size . "px !important;' aria-hidden='true'></i></a>&nbsp;";
    13751446                    }
    13761447                    if(!empty($social_flds[2]))
    13771448                    {
    1378                         if($ud_icon_style === "1") $social_icons .= "<a href= '" . $social_flds[2] . "' style='color:" . $ud_icon_color . ";'><i class='fab fa-linkedin' style='color:" . $ud_icon_color . "!important;font-size:" . $ud_icon_size . "px !important;' aria-hidden='true'></i></a>&nbsp;";
    1379                         else                       $social_icons .= "<a href= '" . $social_flds[2] . "' style='color:" . $ud_icon_color . ";'><i class='fab fa-linkedin-in' style='color:" . $ud_icon_color . "!important;font-size:" . $ud_icon_size . "px !important;' aria-hidden='true'></i></a>&nbsp;";
     1449                        if($ud_icon_style === "1") $social_icons .= "<a href= '" . $social_flds[2] . "' target='_blank' style='color:" . $ud_icon_color . ";'><i class='fab fa-linkedin' style='color:" . $ud_icon_color . "!important;font-size:" . $ud_icon_size . "px !important;' aria-hidden='true'></i></a>&nbsp;";
     1450                        else                       $social_icons .= "<a href= '" . $social_flds[2] . "' target='_blank' style='color:" . $ud_icon_color . ";'><i class='fab fa-linkedin-in' style='color:" . $ud_icon_color . "!important;font-size:" . $ud_icon_size . "px !important;' aria-hidden='true'></i></a>&nbsp;";
    13801451                    }
    13811452                    if(!empty($social_flds[3]))
    13821453                    {
    1383                         if($ud_icon_style === "1") $social_icons .= "<a href= '" . $social_flds[3] . "' style='color:" . $ud_icon_color . ";'><i class='fab fa-google-plus-square' style='color:" . $ud_icon_color . "!important;font-size:" . $ud_icon_size . "px !important;' aria-hidden='true'></i></a>&nbsp;";
    1384                         else                       $social_icons .= "<a href= '" . $social_flds[3] . "' style='color:" . $ud_icon_color . ";'><i class='fab fa-google-plus-g' style='color:" . $ud_icon_color . "!important;font-size:" . $ud_icon_size . "px !important;' aria-hidden='true'></i></a>&nbsp;";
     1454                        if($ud_icon_style === "1") $social_icons .= "<a href= '" . $social_flds[3] . "' target='_blank' style='color:" . $ud_icon_color . ";'><i class='fab fa-google-plus-square' style='color:" . $ud_icon_color . "!important;font-size:" . $ud_icon_size . "px !important;' aria-hidden='true'></i></a>&nbsp;";
     1455                        else                       $social_icons .= "<a href= '" . $social_flds[3] . "' target='_blank' style='color:" . $ud_icon_color . ";'><i class='fab fa-google-plus-g' style='color:" . $ud_icon_color . "!important;font-size:" . $ud_icon_size . "px !important;' aria-hidden='true'></i></a>&nbsp;";
    13851456                    }
    13861457                    if(!empty($social_flds[4]))
    13871458                    {
    1388                         if($ud_icon_style === "1") $social_icons .= "<a href= '" . $social_flds[4] . "' style='color:" . $ud_icon_color . ";'><i class='fab fa-pinterest-square' style='color:" . $ud_icon_color . "!important;font-size:" . $ud_icon_size . "px !important;' aria-hidden='true'></i></a>&nbsp;";
    1389                         else                       $social_icons .= "<a href= '" . $social_flds[4] . "' style='color:" . $ud_icon_color . ";'><i class='fab fa-pinterest-p' style='color:" . $ud_icon_color . "!important;font-size:" . $ud_icon_size . "px !important;' aria-hidden='true'></i></a>&nbsp;";
     1459                        if($ud_icon_style === "1") $social_icons .= "<a href= '" . $social_flds[4] . "' target='_blank' style='color:" . $ud_icon_color . ";'><i class='fab fa-pinterest-square' style='color:" . $ud_icon_color . "!important;font-size:" . $ud_icon_size . "px !important;' aria-hidden='true'></i></a>&nbsp;";
     1460                        else                       $social_icons .= "<a href= '" . $social_flds[4] . "' target='_blank' style='color:" . $ud_icon_color . ";'><i class='fab fa-pinterest-p' style='color:" . $ud_icon_color . "!important;font-size:" . $ud_icon_size . "px !important;' aria-hidden='true'></i></a>&nbsp;";
    13901461                    }
    13911462                    if(!empty($social_flds[5]))
    13921463                    {
    1393                         if($ud_icon_style === "1") $social_icons .= "<a href= '" . $social_flds[5] . "' style='color:" . $ud_icon_color . ";'><i class='fab fa-instagram' style='color:" . $ud_icon_color . "!important;font-size:" . $ud_icon_size . "px !important;' aria-hidden='true'></i></a>&nbsp;";
    1394                         else                       $social_icons .= "<a href= '" . $social_flds[5] . "' style='color:" . $ud_icon_color . ";'><i class='fab fa-instagram' style='color:" . $ud_icon_color . "!important;font-size:" . $ud_icon_size . "px !important;' aria-hidden='true'></i></a>&nbsp;";
     1464                        if($ud_icon_style === "1") $social_icons .= "<a href= '" . $social_flds[5] . "' target='_blank' style='color:" . $ud_icon_color . ";'><i class='fab fa-instagram' style='color:" . $ud_icon_color . "!important;font-size:" . $ud_icon_size . "px !important;' aria-hidden='true'></i></a>&nbsp;";
     1465                        else                       $social_icons .= "<a href= '" . $social_flds[5] . "' target='_blank' style='color:" . $ud_icon_color . ";'><i class='fab fa-instagram' style='color:" . $ud_icon_color . "!important;font-size:" . $ud_icon_size . "px !important;' aria-hidden='true'></i></a>&nbsp;";
    13951466                    }
    13961467                                   
    1397                     $user_contact_info .= apply_filters('dud_modify_social_flds', $social_icons, $ud_icon_style, $ud_icon_color, $ud_icon_size, $user_id, $loaded_options);
     1468                    $user_contact_info .= apply_filters('dud_modify_social_fld_icons', $social_icons, $ud_icon_style, $ud_icon_color, $ud_icon_size, $user_id, $loaded_options);
    13981469                   
    13991470                    $user_contact_info .= "</div>";
     
    18551926        {
    18561927            $list_items = unserialize(stripslashes($user_meta_fld));
     1928           
     1929            if(empty($list_items)) return $user_meta_fld;
    18571930           
    18581931            foreach($list_items  as $key => $value)
     
    23462419     else
    23472420     {
    2348         $output = "Address,Social,Email,Website,MetaKey1,MetaKey2,MetaKey3,MetaKey4,MetaKey5,MetaKey6,MetaKey7,MetaKey8,MetaKey9,MetaKey10";
     2421        $output = "Address,Social,Email,Website,DateRegistered,MetaKey1,MetaKey2,MetaKey3,MetaKey4,MetaKey5,MetaKey6,MetaKey7,MetaKey8,MetaKey9,MetaKey10";
    23492422        $output = explode(',', $output);
    23502423     }
  • dynamic-user-directory/trunk/js/jquery.user-directory.js

    r2245646 r2501246  
    11491149                        $("#website_label").hide();
    11501150                    }
     1151                   
     1152                    $("#website_lbl_row").hide();
     1153                }
     1154                else
     1155                {
     1156                    $("#website_lbl_row").show();
    11511157                }
    11521158            }
     
    11601166                $("#col_width_website").hide();
    11611167                $("#website_label").hide();
     1168                $("#website_lbl_row").hide();
    11621169            }
    11631170            catch(err){;}
     
    11801187                        $("#website_label").hide();
    11811188                }
     1189                else
     1190                {
     1191                    $("#website_lbl_row").show();
     1192                }
    11821193            }
    11831194            catch(err){;}
     
    11931204                        $("#website_label").hide();
    11941205                       
     1206                    }
     1207                    else
     1208                    {
     1209                        $("#website_lbl_row").hide();
    11951210                    }
    11961211            }
     
    12031218           });
    12041219    });
    1205        
     1220     
     1221
     1222    $(document).ready(function() { 
     1223       
     1224        if ($("#ud_date_registered").is(':checked'))
     1225        {
     1226            try {
     1227                if ($("#ud_display_listings").val() == 'horizontally')
     1228                {
     1229                    $("#col_width_date").show();
     1230                    if ($("#ud_show_heading_labels").is(':checked'))
     1231                    {
     1232                        $("#date_registered_label").show();
     1233                    }
     1234                    else
     1235                    {
     1236                        $("#date_registered_label").hide();
     1237                    }
     1238                   
     1239                    $("#date_lbl_row").hide();
     1240                }
     1241                else
     1242                {
     1243                    $("#date_lbl_row").show();
     1244                }
     1245            }
     1246            catch(err){;}
     1247           
     1248            $("#DateRegistered").show();
     1249        }
     1250        else
     1251        {
     1252            try {
     1253                $("#col_width_date").hide();
     1254                $("#date_registered_label").hide();
     1255                $("#date_lbl_row").hide();
     1256            }
     1257            catch(err){;}
     1258           
     1259            $("#DateRegistered").hide();
     1260        }           
     1261    }); 
     1262       
     1263    $(function() {
     1264    $('#ud_date_registered').change(function() {
     1265       
     1266        if ($("#ud_date_registered").is(':checked'))
     1267        {
     1268            try {
     1269                if ($("#ud_display_listings").val() == 'horizontally')
     1270                {
     1271                    $("#col_width_date").show();
     1272                    if ($("#ud_show_heading_labels").is(':checked'))
     1273                        $("#date_registered_label").show();
     1274                    else
     1275                        $("#date_registered_label").hide();
     1276                }
     1277                else
     1278                {
     1279                    $("#date_lbl_row").show();
     1280                }
     1281            }
     1282            catch(err){;}
     1283           
     1284            $("#DateRegistered").show();
     1285        }
     1286        else
     1287        {
     1288            try {
     1289                    if ($("#ud_display_listings").val() == 'horizontally')
     1290                    {
     1291                        $("#col_width_date").hide();
     1292                        $("#date_registered_label").hide();
     1293                    }
     1294                    else
     1295                    {
     1296                        $("#date_lbl_row").hide();
     1297                    }
     1298            }
     1299            catch(err){;}
     1300               
     1301            $("#DateRegistered").hide();
     1302        }       
     1303            var Order = $("#sortable").sortable('toArray').toString();
     1304                $('#user_directory_sort_order').val(Order);
     1305           });
     1306    });   
     1307       
    12061308     $(document).ready(function() {
    12071309        if ($("#ud_display_listings").val() == 'horizontally' && $("#ud_show_heading_labels").is(':checked'))
     
    13091411                        else
    13101412                            $("#email_label").hide();
     1413                           
     1414                        $("#email_lbl_row").hide();
     1415                    }
     1416                    else
     1417                    {
     1418                        $("#email_lbl_row").show();
    13111419                    }
    13121420            }
     
    13221430                        $("#col_width_email").hide();
    13231431                        $("#email_label").hide();
     1432                        $("#email_lbl_row").hide();
     1433                    }
     1434                    else
     1435                    {
     1436                        $("#email_lbl_row").hide();
    13241437                    }
    13251438            }
     
    13561469                            $("#email_label").hide();
    13571470                    }
     1471                    else
     1472                    {
     1473                        $("#email_lbl_row").show();
     1474                    }
    13581475            }
    13591476            catch(err){;}
     
    13681485                        $("#col_width_email").hide();
    13691486                        $("#email_label").hide();
     1487                    }
     1488                    else
     1489                    {
     1490                        $("#email_lbl_row").hide();
    13701491                    }
    13711492            }
     
    19292050        $(this).css('cursor','pointer');
    19302051    });
     2052    $('#DateRegistered').hover(function() {
     2053        $(this).css('cursor','pointer');
     2054    });
    19312055    $('#MetaKey1').hover(function() {
    19322056        $(this).css('cursor','pointer');
  • dynamic-user-directory/trunk/readme.txt

    r2460447 r2501246  
    55Tags: 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
    66Requires at least: 3.0.1
    7 Tested up to: 5.6
    8 Stable tag: 1.6.0
     7Tested up to: 5.7
     8Stable tag: 1.6.1
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    426426- Fixed: Hyperlink field formatting did not account for a URL that doesn't contain "http://" This resulted in the formatted link pointing back to the host website rather than the linked site.
    427427
     428= 1.6.1 =
     429- Released 3/22/21
     430- Successfully tested against WordPress 5.7
     431- Fixed: The meta field formatting was displaying a php warning message in certain scenarios.
     432- Fixed: The avatar link was not clickable at smaller screen sizes for vertical directories.
     433- Fixed: The directory totals were not displayed correctly for all directory instances when the Multiple Directories add-on is used in conjunction with the Exclude User Filter add-on.
     434- Fixed: When switching from the dynamically populated search dropdown to the search input text box, the previous search value was not being cleared out.
     435- Fixed: When the avatar size is larger than 96px, the avatar was overlapping the listing border
     436- Fixed: When BuddyPress and S2Member are both installed and activated, DUD was not displaying S2Member fields.
     437- New Feature: Added the new "dud_modify_social_fld_icons" filter that allows for custom coding to add new social media icons.
     438- New Feature: Social media icon links are now opened in a new window
     439- New Feature: You can now show the user's date registered(autogenerated by wordpress and stored in the wp_users table). The new checkbox is located in the "Meta Field Settings" section.
     440- New Feature: You may optionally enter a label for the wordpress profile email address, website, and date registered fields. This is also located in the "Meta Field Settings" section.
Note: See TracChangeset for help on using the changeset viewer.