locomo
Forum Replies Created
-
it seems like in addition something else is going on because i don’t even think the name from the google account is being used .. for example if my google account settings are
"My Name" [email protected]
my emails are coming from “blar” (“My Name” never gets used)
Forum: Plugins
In reply to: [Relevanssi - A Better Search] how to troubleshoot slow indexingok thanks .. i understand about the number of posts, but i thought that might effect search not indexing
its strange .. our posts are actually quite short and simple, and on the indexing settings i’ve disabled almost everything (i’m not indexing custom fields, excerpts, expanding shortcodes, etc etc) … seems weird that it would take 10 seconds to index a single post ..
anyhow, thanks for the fast reply
Forum: Plugins
In reply to: [LittleBot ACH for Stripe + Plaid] Uncaught Stripe\Error\InvalidRequestsorry my fault .. i didn’t realize i needed to enable stripe integration with my plaid account .. now its working!
question: do you have additional development plans for this plugin? once i got it working i’ve noticed that each time a user wants to make a payment they must reauthenticate their bank account via plaid even though their bank is now verified within Stripe. Would be nice for users who have verified bank accounts if they could either skip the “select bank account” step and go directly to pay.
Or perhaps they could see 2 buttons: 1) Pay with Account on File and 2) Select New Bank
thanks!
Forum: Plugins
In reply to: [Theme My Login] tml_minimum_password_length filter and display errorForum: Plugins
In reply to: [Theme My Login] tml_minimum_password_length filter and display errori’m having the same issue – in the following block of code you provide a filter for minimum password length but the error message does not reflect the filtered value
so this
} elseif ( strlen( $_POST['pass1'] ) < apply_filters( 'tml_minimum_password_length', 6 ) ) { $errors->add( 'password_length', __( '<strong>ERROR</strong>: Your password must be at least 6 characters in length.', 'theme-my-login' ) );
should be something like this:
} elseif ( strlen( $_POST['pass1'] ) < apply_filters( 'tml_minimum_password_length', 6 ) ) { $errors->add( 'password_length', __( '<strong>ERROR</strong>: Your password must be at least ' . apply_filters( 'tml_minimum_password_length', 6 ) . ' characters in length.', 'theme-my-login' ) );
- This reply was modified 6 years, 9 months ago by locomo.
great thanks!
perfect thanks!
Forum: Plugins
In reply to: [MC4WP: Mailchimp for WordPress] Hidden group for Registration integrationthanks .. i was just curious .. you method worked so i’ll stick with that!
Forum: Plugins
In reply to: [MC4WP: Mailchimp for WordPress] Hidden group for Registration integrationthat’s great, thanks
out of curiosity would something like this also work for the registration form?
add_action( 'register_form', 'prefix_register_form_mailchimp_group', 20 ); function prefix_register_form_mailchimp_group() { ?> <input type="hidden" name="INTERESTS[12345678]" value="MyGroup"> <?php } add_filter( 'mc4wp_integration_data', function( $vars ) { $vars['INTERESTS'] = isset( $_POST['INTERESTS'] ) ? $_POST['INTERESTS'] : array(); return $vars; });
Forum: Plugins
In reply to: [Relevanssi - A Better Search] display status of OR fallbackgreat – thank you!
Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] Dynamic table dataHere’s a simplified version of what I did … its a company directory: 2 column table listing people’s names and their phone numbers .. I’m querying a custom post type call Person and I’m grabbing data stored in ACF fields. Hope this helps .. you’ll need to customize the WP_Query args to suit your needs.
add_filter( 'tablepress_table_render_data', 'gameaddik_tablepress_table_render_data', 10, 3 ); function gameaddik_tablepress_table_render_data( $table, $orig_table, $render_options ) { $table_id = 123; // replace with your table id $header_row = array( 'Name', 'Phone' ); // column names if ( $table_id == $table['id'] ) { $data = array(); $data[] = $header_row; $data = array_merge( $data, gameaddik_generate_table_data() ); $table['data'] = $data; } return $table; } function gameaddik_generate_table_data() { $args = array( 'posts_per_page' => -1, 'post_type' => 'person', 'post_status' => 'publish', 'order' => 'ASC', 'orderby' => 'meta_value', 'meta_key' => 'last_name', 'cache_results' => false ); $data = array(); global $wp_query; $wp_query = new WP_Query( $args ); if ( $wp_query->have_posts() ) { while ( $wp_query->have_posts() ) { $wp_query->the_post(); global $post; $item = array(); $first_name = get_field( 'first_name' ); $last_name = get_field( 'last_name' ); $item[] = $last_name . ', ' . $first_name; // name $phone = get_field( 'phone' ); $phone = ( empty($phone) ) ? '' : $phone; $item[] = $phone; // phone $data[] = $item; } wp_reset_postdata(); } return $data; }
Forum: Plugins
In reply to: [Shopify eCommerce Plugin - Shopping Cart] Please fix this PHP NoticeI’m seeing this too
WP 4.7.2
PHP 5.2.4- This reply was modified 7 years, 10 months ago by locomo.
Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] manually purge the cache?awesome!!
Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] manually purge the cache?i personally like how you wrapped the protected function .. seems more flexible down the road? but either way it looks great
thank you
Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] manually purge the cache?Thanks for the fast reply!
Would you consider adding a public version of this function:
protected function _invalidate_table_output_cache( $table_id ) {that way we could invalidate the cache in a more targeted manner?
i’m adding data to a table dynamically rather than via your backend interface .. so I don’t explicitly save the table when new data is available