mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
Version 1.0.17
This commit is contained in:
@@ -195,6 +195,7 @@
|
||||
}
|
||||
|
||||
.um-admin-dash-col a:hover {text-decoration: underline}
|
||||
.um-admin-dash-col a {text-decoration: none}
|
||||
|
||||
.um-admin-dash-item {
|
||||
padding: 5px 0;
|
||||
@@ -206,10 +207,6 @@
|
||||
}
|
||||
.um-admin-dash-item * {vertical-align: middle}
|
||||
|
||||
.um-admin-dash-col a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.um-admin-dash-thumb {
|
||||
display: inline-block;
|
||||
width: 30px;
|
||||
@@ -225,8 +222,12 @@
|
||||
|
||||
.um-admin-dash-info {
|
||||
display: inline-block;
|
||||
width: 120px;
|
||||
width: 130px;
|
||||
margin-right: 6px;
|
||||
-ms-word-break: break-all;
|
||||
word-break: break-word;
|
||||
word-wrap: break-word;
|
||||
line-height: 14px;
|
||||
}
|
||||
|
||||
.um-admin-dash-meta {
|
||||
@@ -234,9 +235,11 @@
|
||||
width: 100px;
|
||||
margin-right: 6px;
|
||||
position: relative;
|
||||
line-height: 14px;
|
||||
}
|
||||
|
||||
.um-admin-dash-more {
|
||||
display: inline-block;
|
||||
color: #aaa;
|
||||
line-height: 14px;
|
||||
}
|
||||
@@ -547,6 +547,7 @@ a.um-link-alt {
|
||||
text-decoration: none !important;
|
||||
font-weight: normal;
|
||||
text-align: center;
|
||||
border-bottom: none !important;
|
||||
}
|
||||
a.um-link-alt:hover {text-decoration: underline !important;}
|
||||
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
@@ -91,6 +91,9 @@ class UM_Files {
|
||||
$this->upload_basedir = $this->upload_dir['basedir'] . '/ultimatemember/';
|
||||
$this->upload_baseurl = $this->upload_dir['baseurl'] . '/ultimatemember/';
|
||||
|
||||
$this->upload_basedir = apply_filters('um_upload_basedir_filter', $this->upload_basedir );
|
||||
$this->upload_baseurl = apply_filters('um_upload_baseurl_filter', $this->upload_baseurl );
|
||||
|
||||
$this->upload_temp = $this->upload_basedir . 'temp/';
|
||||
$this->upload_temp_url = $this->upload_baseurl . 'temp/';
|
||||
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
/***
|
||||
*** @Support multisite
|
||||
***/
|
||||
add_filter('um_upload_basedir_filter','um_multisite_urls_support', 99 );
|
||||
add_filter('um_upload_baseurl_filter','um_multisite_urls_support', 99 );
|
||||
function um_multisite_urls_support( $dir ) {
|
||||
|
||||
if ( is_multisite() ) { // Need to the work
|
||||
|
||||
if ( get_current_blog_id() == '1' ) return;
|
||||
|
||||
$split = explode('sites',$dir);
|
||||
$um_dir = 'ultimatemember/';
|
||||
$dir = $split[0] . $um_dir;
|
||||
|
||||
}
|
||||
|
||||
return $dir;
|
||||
}
|
||||
@@ -5,8 +5,28 @@
|
||||
***/
|
||||
add_filter('um_prepare_user_query_args', 'um_prepare_user_query_args', 10, 2);
|
||||
add_filter('um_prepare_user_query_args', 'um_add_search_to_query', 50, 2);
|
||||
add_filter('um_prepare_user_query_args', 'um_search_usernames_emails', 51, 2);
|
||||
add_filter('um_prepare_user_query_args', 'um_remove_special_users_from_list', 99, 2);
|
||||
|
||||
/***
|
||||
*** @WP API user search
|
||||
***/
|
||||
function um_search_usernames_emails( $query_args, $args ) {
|
||||
global $ultimatemember;
|
||||
extract( $args );
|
||||
|
||||
$query = $ultimatemember->permalinks->get_query_array();
|
||||
|
||||
foreach( $ultimatemember->members->core_search_fields as $key ) {
|
||||
if ( isset( $query[$key] ) ) {
|
||||
$query_args['search'] = '*' . $query[$key] . '*';
|
||||
$query_args['search_columns'] = array( 'user_login', 'user_email' );
|
||||
}
|
||||
}
|
||||
|
||||
return $query_args;
|
||||
}
|
||||
|
||||
/***
|
||||
*** @Remove users we do not need to show in directory
|
||||
***/
|
||||
@@ -54,11 +74,15 @@
|
||||
|
||||
if ( $value && $field != 'um_search' ) {
|
||||
|
||||
$query_args['meta_query'][] = array(
|
||||
'key' => $field,
|
||||
'value' => $value,
|
||||
'compare' => $operator,
|
||||
);
|
||||
if ( !in_array( $field, $ultimatemember->members->core_search_fields ) ) {
|
||||
|
||||
$query_args['meta_query'][] = array(
|
||||
'key' => $field,
|
||||
'value' => $value,
|
||||
'compare' => $operator,
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -8,6 +8,11 @@ class UM_Members {
|
||||
|
||||
add_action('template_redirect', array(&$this, 'access_members'), 555);
|
||||
|
||||
$this->core_search_fields = array(
|
||||
'user_login',
|
||||
'username',
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
/***
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
Plugin Name: Ultimate Member
|
||||
Plugin URI: http://ultimatemember.com/
|
||||
Description: Ultimate Member is a powerful community and membership plugin that allows you to create beautiful community and membership sites with WordPress
|
||||
Version: 1.0.16
|
||||
Version: 1.0.17
|
||||
Author: Ultimate Member
|
||||
Author URI: http://ultimatemember.com/
|
||||
*/
|
||||
|
||||
+12
-7
@@ -7,7 +7,7 @@ Tags: members, member, membership, community, communities, profile, profiles, re
|
||||
Requires at least: 4.1
|
||||
Tested up to: 4.1
|
||||
|
||||
Stable Tag: 1.0.16
|
||||
Stable Tag: 1.0.17
|
||||
|
||||
License: GNU Version 2 or Any Later Version
|
||||
|
||||
@@ -17,9 +17,9 @@ The easiest way to create powerful online communities and beautiful user profile
|
||||
|
||||
Ultimate Member is a powerful plugin that allows you to add beautiful user profiles to your site and create advanced online communities. The plugin enables users to sign up and become members of your site all from the front-end. With a focus on flexibility and simplicity creating a community and membership site with WordPress has never been so easy.
|
||||
|
||||
**Beta release**
|
||||
**Live Demo: Check out all of Ultimate Member's features on our [live demo](http://ultimatememberdemo.com/)!**
|
||||
|
||||
Please note this is the first release of the plugin and whilst we have done a lot of testing to ensure plugin and theme compatibility it is possible that you may come across a bug or plugin/theme conflict. If you do we kindly ask you to post on our [community forum](https://ultimatemember.com/forums) so we can fix any potential issues you may find.
|
||||
**Get support by posting in our [community forum](https://ultimatemember.com/forums/).**
|
||||
|
||||
Features of the plugin include:
|
||||
|
||||
@@ -92,9 +92,7 @@ The plugin is very SEO friendly and provides customizable dynamic page titles an
|
||||
|
||||
**Developer friendly**
|
||||
|
||||
Ultimate Member is developer friendly and includes hundreds of actions and filters for developers to customize the plugin. If you are wanting to integrate with Ultimate Member you can view codex here.
|
||||
|
||||
**[Join the Ultimate Member community](https://ultimatemember.com/register/)**
|
||||
Ultimate Member is developer friendly and includes hundreds of actions and filters for developers to customize the plugin. If you are wanting to integrate with Ultimate Member you can view codex here.
|
||||
|
||||
**Future Plans for Ultimate Member**
|
||||
|
||||
@@ -142,7 +140,7 @@ The plugin works with popular caching plugins by automatically excluding Ultimat
|
||||
|
||||
= Does the plugin work on WordPress Multisite? =
|
||||
|
||||
We are currently in beta phase so at the moment the plugin only works on single site installs. However, we will be working on ensuring multisite compatibility during the beta period.
|
||||
Yes. The plugin works fine with WordPress network / multisite now. In a recent update, we have made it possible to show the user photos network-wide.
|
||||
|
||||
== Screenshots ==
|
||||
|
||||
@@ -165,6 +163,13 @@ We are currently in beta phase so at the moment the plugin only works on single
|
||||
|
||||
== Changelog ==
|
||||
|
||||
= 1.0.17: January 22, 2015 =
|
||||
|
||||
* New: WordPress Multisite compatibility for user uploads and photos
|
||||
* Fixed: Searching members by username or email in directory (partial search supported)
|
||||
* Fixed: Anonymous tracking
|
||||
* Fixed: Minor css fixes
|
||||
|
||||
= 1.0.16: January 22, 2015 =
|
||||
|
||||
* Fixed: Settings page: tracking popup removed
|
||||
|
||||
Reference in New Issue
Block a user