Title: dat98cbr's Replies | WordPress.org

---

# dat98cbr

  [  ](https://wordpress.org/support/users/dat98cbr/)

 *   [Profile](https://wordpress.org/support/users/dat98cbr/)
 *   [Topics Started](https://wordpress.org/support/users/dat98cbr/topics/)
 *   [Replies Created](https://wordpress.org/support/users/dat98cbr/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/dat98cbr/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/dat98cbr/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/dat98cbr/engagements/)
 *   [Favorites](https://wordpress.org/support/users/dat98cbr/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 19 total)

1 [2](https://wordpress.org/support/users/dat98cbr/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/dat98cbr/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[EventON - Events Calendar] Warning: Undefined variable Warning: Undefined variable $IMG EventON](https://wordpress.org/support/topic/warning-undefined-variable-warning-undefined-variable-img-eventon/)
 *  Thread Starter [dat98cbr](https://wordpress.org/support/users/dat98cbr/)
 * (@dat98cbr)
 * [2 months, 3 weeks ago](https://wordpress.org/support/topic/warning-undefined-variable-warning-undefined-variable-img-eventon/#post-18879157)
 * Well done. Many thanks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Relevanssi - A Better Search] User searches statistics](https://wordpress.org/support/topic/user-searches-statistics/)
 *  Thread Starter [dat98cbr](https://wordpress.org/support/users/dat98cbr/)
 * (@dat98cbr)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/user-searches-statistics/#post-15691630)
 * I understand. No worries. Thank you so much for taking the time to reply.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Relevanssi - A Better Search] User searches statistics](https://wordpress.org/support/topic/user-searches-statistics/)
 *  Thread Starter [dat98cbr](https://wordpress.org/support/users/dat98cbr/)
 * (@dat98cbr)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/user-searches-statistics/#post-15684327)
 * The Predictive search plugin was activated in the backend but not implemented
   in the frontend.
 * This seems to have given the effect that it messed up the search statistics. 
   In the backlog for instance, a search for ”Searchstring” gave multiple search
   hits like this:
 * ”Sea”
    ”Sear” ”Searc” ”Search”
 * And so on.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Relevanssi - A Better Search] User searches statistics](https://wordpress.org/support/topic/user-searches-statistics/)
 *  Thread Starter [dat98cbr](https://wordpress.org/support/users/dat98cbr/)
 * (@dat98cbr)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/user-searches-statistics/#post-15677967)
 * I understand.
 * Almost all search words are legit though. I thought bots would generate weird
   search strings. What is your experience regarding that?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Search, Filters & Merchandising for WooCommerce] Search custom fields?](https://wordpress.org/support/topic/search-custom-fields-2/)
 *  Thread Starter [dat98cbr](https://wordpress.org/support/users/dat98cbr/)
 * (@dat98cbr)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/search-custom-fields-2/#post-6852868)
 * Cool. Thanks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Relevanssi - A Better Search] How to delete big logs?](https://wordpress.org/support/topic/how-to-delete-big-logs/)
 *  Thread Starter [dat98cbr](https://wordpress.org/support/users/dat98cbr/)
 * (@dat98cbr)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/how-to-delete-big-logs/#post-6481666)
 * Thanks. Very nice. I completely forget that there are extra options under the
   Dashboard.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[ALO EasyMail Newsletter] Auto add new subscribers from WooCommerce checkout](https://wordpress.org/support/topic/auto-add-new-subscribers-from-woocommerce-checkout/)
 *  Thread Starter [dat98cbr](https://wordpress.org/support/users/dat98cbr/)
 * (@dat98cbr)
 * [11 years ago](https://wordpress.org/support/topic/auto-add-new-subscribers-from-woocommerce-checkout/#post-6217668)
 * Right. Thanks!
 * A WooCommerce coder suggest that we use this hook instead: woocommerce_checkout_order_processed
 * Still there is something that’s not right though since the new user is not registered
   as a subscriber anyhow.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[ALO EasyMail Newsletter] Auto add new subscribers from WooCommerce checkout](https://wordpress.org/support/topic/auto-add-new-subscribers-from-woocommerce-checkout/)
 *  Thread Starter [dat98cbr](https://wordpress.org/support/users/dat98cbr/)
 * (@dat98cbr)
 * [11 years ago](https://wordpress.org/support/topic/auto-add-new-subscribers-from-woocommerce-checkout/#post-6217393)
 * I think the code should look something like this:
 * ‘function my_wc_easymail_add_subscriber ( $cf7 ) {
    global $woocommerce;
 *  $fields[’email’] = sanitize_email( $woocommerce->posted[‘billing_email’] );
   
   $fields[‘name’] = sanitize_text_field( $woocommerce->posted[‘billing_first_name’].’‘.
   $this->posted[‘billing_last_name’]); if ( function_exists (‘alo_em_add_subscriber’)&&
   is_email( $fields[’email’] ) ){ alo_em_add_subscriber( $fields, 1, alo_em_get_language(
   true) );} }
 * add_action( ‘woocommerce_checkout_customer_userdata’, ‘my_wc_easymail_add_subscriber’);’
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[TinyNav] Category menu – first row not working](https://wordpress.org/support/topic/category-menu-first-row-not-working/)
 *  Thread Starter [dat98cbr](https://wordpress.org/support/users/dat98cbr/)
 * (@dat98cbr)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/category-menu-first-row-not-working/#post-4880780)
 * That would be cool! Thanks.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[SlickQuiz] What character are you quiz](https://wordpress.org/support/topic/what-character-are-you-quiz/)
 *  Thread Starter [dat98cbr](https://wordpress.org/support/users/dat98cbr/)
 * (@dat98cbr)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/what-character-are-you-quiz/#post-4876624)
 * [@vasq](https://wordpress.org/support/users/vasq/), sorry found nothing.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[SlickQuiz] What character are you quiz](https://wordpress.org/support/topic/what-character-are-you-quiz/)
 *  Thread Starter [dat98cbr](https://wordpress.org/support/users/dat98cbr/)
 * (@dat98cbr)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/what-character-are-you-quiz/#post-4876515)
 * That would be very cool!
 * Would you know if there exists a personality quiz plugin for WordPress at this
   time?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[AWD Weight/Country Shipping for WooCommerce] New plugin for testing for Woocommerce 2.1](https://wordpress.org/support/topic/new-plugin-for-testing-for-woocommerce-21/)
 *  [dat98cbr](https://wordpress.org/support/users/dat98cbr/)
 * (@dat98cbr)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/new-plugin-for-testing-for-woocommerce-21/#post-4665705)
 * Very cool. Well done! Thanks man.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Disable some mail notifications in Woocommerce](https://wordpress.org/support/topic/disable-some-mail-notifications-in-woocommerce/)
 *  Thread Starter [dat98cbr](https://wordpress.org/support/users/dat98cbr/)
 * (@dat98cbr)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/disable-some-mail-notifications-in-woocommerce/#post-4038066)
 * Right thought I could do it in one hook, but two are needed 🙂
 *     ```
       /** Hook for disabling sending emails during order complete, except downloadable products*/
       	add_action( 'woocommerce_email', 'unhook_those_pesky_emails' );
       	add_action('woocommerce_order_status_completed', 'send_download_notification');
   
       	function unhook_those_pesky_emails( $email_class) {
       	remove_action('woocommerce_order_status_completed_notification', array(&$email_class, 'customer_completed_order'));
       	}
   
       	function send_download_notification($order_id) {
         		global $woocommerce;
       		  $order = new WC_Order($order_id);
       		  if ($order->has_downloadable_item()){
       		  $mailer = $woocommerce->mailer();
       		  $mailer->customer_invoice( $order );
       		  }
       		}
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Relevanssi - A Better Search] version 3.1.5 no longer compatible with WooCommerce?](https://wordpress.org/support/topic/version-315-no-longer-compatible-with-woocommerce/)
 *  Thread Starter [dat98cbr](https://wordpress.org/support/users/dat98cbr/)
 * (@dat98cbr)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/version-315-no-longer-compatible-with-woocommerce/#post-3605780)
 * samueljeden, you beat me to it 🙂
 * Good luck Mikko. Looking forward about hearing the details.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Facebook] Word Press Comments aren´t shown any more](https://wordpress.org/support/topic/word-press-comments-arent-shown-any-more/)
 *  [dat98cbr](https://wordpress.org/support/users/dat98cbr/)
 * (@dat98cbr)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/word-press-comments-arent-shown-any-more/#post-3202287)
 * Yumi’s suggestion to activate the comments box and then deactivate it worked 
   for me too. Now my comments är back!

Viewing 15 replies - 1 through 15 (of 19 total)

1 [2](https://wordpress.org/support/users/dat98cbr/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/dat98cbr/replies/page/2/?output_format=md)