Kim
Forum Replies Created
-
Forum: Plugins
In reply to: [Swift SMTP (formerly Welcome Email Editor)] conflict with Gravity FormsThanks joelnewcomer,
I’ve only just had a chance to test this and it appears to have fixed the problem for me.
Thanks for sharing your solution!Forum: Plugins
In reply to: [Swift SMTP (formerly Welcome Email Editor)] conflict with Gravity FormsHi dsutton01,
Unfortunately not. I changed my process to work around it. Avoiding using the welcome email altogether.
Hopefully there is a fix at some stage. Still keen to use this plugin.
Forum: Plugins
In reply to: [Swift SMTP (formerly Welcome Email Editor)] conflict with Gravity FormsI believe I’m also experiencing this problem. Running SB Welcome Email Editor v.4.8 and WP v.4.4.1. If anyone has any ideas that would be great! If I come up with anything I’ll remember to post back here too.
Forum: Plugins
In reply to: [Simple User Listing] Search by Display Name not working with query_id=Perfect! Well, at least it seems to be so far.
Thanks for your help and quick response – really appreciate it.Forum: Plugins
In reply to: [Simple User Listing] Search by Display Name not working with query_id=This is the code I’m using in the functions.php file.
/* User List // Only get users who are approved */ add_filter( 'sul_user_query_args', 'sul_custom_meta_query', 10, 2 ); function sul_custom_meta_query( $args, $query_id ){ // checking the query ID allows us to only target a specific shortcode if( $query_id == 'user_approved' ){ $args['meta_query'] = array( 'relation' => 'OR', array( 'key' => 'user_approved', 'value' => 'user_approved', 'compare' => '=', 'type' => 'CHAR', ) ); } return $args; } // Switch user search from user_login to display_name via query_where function kia_search_users_by_display_name( $query ) { if ( isset( $query->query_vars['query_id'] ) && $query->query_vars['query_id'] == 'simple_user_listing' ) { $query->query_where = str_replace( "user_login", "display_name", $query->query_where ); } } add_action( 'pre_user_query', 'kia_search_users_by_display_name' );
The shortcode that I’m using is [userlist query_id=”user_approved” role=”subscriber” meta_key=”last_name” orderby=”meta_value” order=”ASC”]
Thanks again!