Title: Johannes's Replies | WordPress.org

---

# Johannes

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

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

 Search replies:

## Forum Replies Created

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

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Refer A Friend for WooCommerce by WPGens] How to echo the referral link with php or shortcode?](https://wordpress.org/support/topic/how-to-echo-referral-link-with-php-or-shortcode/)
 *  [Johannes](https://wordpress.org/support/users/samariter/)
 * (@samariter)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/how-to-echo-referral-link-with-php-or-shortcode/#post-8572686)
 * Could you add a filter so we’re able to rename the action to e.g. woocommerce_my_account_referral?
 * $this->loader->add_action(‘woocommerce_my_account_referral’, $plugin_public, ‘
   account_page_show_link’);
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PHP/MySQL CPU performance statistics] Test is Ok but mysql perfs are not](https://wordpress.org/support/topic/test-is-ok-but-mysql-perfs-are-not/)
 *  [Johannes](https://wordpress.org/support/users/samariter/)
 * (@samariter)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/test-is-ok-but-mysql-perfs-are-not/#post-6520000)
 * I have also very low results for MySQL Query test:
 * Query test (200 times): 25.35 seconds (8/sec)
 * Any suggestions on how to improve these?
 * Running on Nginx, php7, with redis cache.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] email notification to admin when order status is 'on-hold'](https://wordpress.org/support/topic/email-notification-to-admin-when-order-status-is-on-hold/)
 *  [Johannes](https://wordpress.org/support/users/samariter/)
 * (@samariter)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/email-notification-to-admin-when-order-status-is-on-hold/#post-6485645)
 * I’m also not receiving notification emails for on-hold orders. The customer receives
   the email. But admin doesn’t. Also I can’t change the recipients for this email
   notifications.
 * In the email settings list it just says “Customer”.
 * It’s important to know when an order is on hold, so staff can check whether a
   bank transfer payment was made oder not.
 * Using WooCommerce 2.6.2
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Refer A Friend for WooCommerce by WPGens] Shortcode](https://wordpress.org/support/topic/shortcode-432/)
 *  Thread Starter [Johannes](https://wordpress.org/support/users/samariter/)
 * (@samariter)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/shortcode-432/#post-7517411)
 * yes please let me know ones it is available. Thanks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Mail SMTP by WPForms - The Most Popular SMTP and Email Log Plugin] SUGGESTION – hide SMTP password](https://wordpress.org/support/topic/suggestion-hide-smtp-password/)
 *  [Johannes](https://wordpress.org/support/users/samariter/)
 * (@samariter)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/suggestion-hide-smtp-password/#post-7264627)
 * I installed Postman instead. Works perfect.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Mail SMTP by WPForms - The Most Popular SMTP and Email Log Plugin] SUGGESTION – hide SMTP password](https://wordpress.org/support/topic/suggestion-hide-smtp-password/)
 *  [Johannes](https://wordpress.org/support/users/samariter/)
 * (@samariter)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/suggestion-hide-smtp-password/#post-7264624)
 * yes please add this feature.
 * E.g. in case autofill is active in the browser the password will be stored visible
   for everyone, which is a huge security risk. Please store the password encrypted
   in the database.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] How to remove action buttons like "Complete" for specific user roles](https://wordpress.org/support/topic/how-to-remove-action-buttons-like-complete-for-specific-user-roles/)
 *  [Johannes](https://wordpress.org/support/users/samariter/)
 * (@samariter)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/how-to-remove-action-buttons-like-complete-for-specific-user-roles/#post-6364938)
 * yes, but I only wanted to remove that button, so no one accidentally clicks it.
   
   Thanks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] How to remove action buttons like "Complete" for specific user roles](https://wordpress.org/support/topic/how-to-remove-action-buttons-like-complete-for-specific-user-roles/)
 *  [Johannes](https://wordpress.org/support/users/samariter/)
 * (@samariter)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/how-to-remove-action-buttons-like-complete-for-specific-user-roles/#post-6364936)
 * This worked for me:
 *     ```
       // Remove Order Actions button
       if ( class_exists( 'woocommerce' ) ) {
       	add_filter('woocommerce_admin_order_actions','woo_disable_complete_action');
       	function woo_disable_complete_action( $actions ){
       	    unset($actions['complete']);
       	    return $actions;
       	}
       }
       ```
   
 * And in case user role editor is installed:
 *     ```
       // Remove Order Actions button
       if ( class_exists( 'woocommerce' ) && class_exists( 'User_Role_Editor' )) {
       	add_filter('woocommerce_admin_order_actions','woo_disable_complete_action');
       	function woo_disable_complete_action( $actions ){
       		if( !current_user_can('mark_order_complete') ) {
       		    unset($actions['complete']);
       		}
       	    return $actions;
       	}
       }
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] How to remove action buttons like "Complete" for specific user roles](https://wordpress.org/support/topic/how-to-remove-action-buttons-like-complete-for-specific-user-roles/)
 *  [Johannes](https://wordpress.org/support/users/samariter/)
 * (@samariter)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/how-to-remove-action-buttons-like-complete-for-specific-user-roles/#post-6364934)
 * have you found a solution?
 * I need to remove the “Complete” Button.
 * Is there a hook for it?
 *   Forum: [Reviews](https://wordpress.org/support/forum/reviews/)
    In reply to:
   [[MINDBODY Widget] A let down – Not what you expect](https://wordpress.org/support/topic/a-let-down-not-what-you-expect/)
 *  [Johannes](https://wordpress.org/support/users/samariter/)
 * (@samariter)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/a-let-down-not-what-you-expect/#post-8063059)
 * Have you found another solution that fits your needs?
    Many thanks for this review!
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Mystile – Woo commerce theme is showing blank page.](https://wordpress.org/support/topic/mystile-woo-commerce-theme-is-showing-blank-page/)
 *  [Johannes](https://wordpress.org/support/users/samariter/)
 * (@samariter)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/mystile-woo-commerce-theme-is-showing-blank-page/#post-6440195)
 * Ok looks like a Mystile problem. Even the demo on woothemes doesn’t work anymore.
   I switched to storefront theme.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Mystile – Woo commerce theme is showing blank page.](https://wordpress.org/support/topic/mystile-woo-commerce-theme-is-showing-blank-page/)
 *  [Johannes](https://wordpress.org/support/users/samariter/)
 * (@samariter)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/mystile-woo-commerce-theme-is-showing-blank-page/#post-6440194)
 * I have the same problem. The page is not loading. Showing only a blank page.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Search Everything] Error Saving CSS Colors on Settings Page](https://wordpress.org/support/topic/error-saving-css-colors-on-settings-page/)
 *  [Johannes](https://wordpress.org/support/users/samariter/)
 * (@samariter)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/error-saving-css-colors-on-settings-page/#post-6400000)
 * Thanks a lot!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Perfect Images: Regenerate Thumbnails, Image Sizes, WebP & AVIF] Does this plugin support CSS background-image?](https://wordpress.org/support/topic/does-this-plugin-support-css-background-image/)
 *  [Johannes](https://wordpress.org/support/users/samariter/)
 * (@samariter)
 * [11 years ago](https://wordpress.org/support/topic/does-this-plugin-support-css-background-image/#post-6395218)
 * Cool. Thanks for the hint!
 * Yeah I think one should wait until [object-fit ](http://caniuse.com/#feat=object-fit)
   has a wider support. The lack of browser support for _object-fit_ is actually
   the only reason I’m still using background-images 😉
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Perfect Images: Regenerate Thumbnails, Image Sizes, WebP & AVIF] Does this plugin support CSS background-image?](https://wordpress.org/support/topic/does-this-plugin-support-css-background-image/)
 *  [Johannes](https://wordpress.org/support/users/samariter/)
 * (@samariter)
 * [11 years ago](https://wordpress.org/support/topic/does-this-plugin-support-css-background-image/#post-6395209)
 * I have had the same problem and came up with a custom php snippet that generates
   a style tag for each background image.
    Not a very clean solution, but it works.
 *     ```
       <?php
       $my-image = MY-IMAGE-URL;
       $my-image-retina = str_replace(".jpg", "@2x.jpg", $my-image);
       echo '<style>
       		.my-background-image {
       			background-image: url(' . $my-image . ');
       		}
       		@media (-webkit-min-device-pixel-ratio: 1.5),
       		(min-resolution: 144dpi),
       		(min-device-pixel-ratio: 1.5) {
       			.my-background-image {
       				background-image: url(' . $my-image-retina . ');
       			}
       		}
       </style>';
       ?>
       ```
   
 * … Browser should automatically search and load retina images. Maybe in a near
   future.

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

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