Title: amila's Replies - page 4 | WordPress.org

---

# amila

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

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

 Search replies:

## Forum Replies Created

Viewing 15 replies - 46 through 60 (of 75 total)

[←](https://wordpress.org/support/users/flatworld21/replies/page/3/?output_format=md)
[1](https://wordpress.org/support/users/flatworld21/replies/?output_format=md) [2](https://wordpress.org/support/users/flatworld21/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/flatworld21/replies/page/3/?output_format=md)
4 [5](https://wordpress.org/support/users/flatworld21/replies/page/5/?output_format=md)
[→](https://wordpress.org/support/users/flatworld21/replies/page/5/?output_format=md)

 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [can not be login status when multi domains](https://wordpress.org/support/topic/can-not-be-login-status-when-multi-domains/)
 *  Thread Starter [amila](https://wordpress.org/support/users/flatworld21/)
 * (@flatworld21)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/can-not-be-login-status-when-multi-domains/#post-7412967)
 * Thank you !
    Is there any solution for map domains?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WeChat Payments for WooCommerce] 扫码支付成功后，页面好像没有接收到消息导致不能自动更新订单](https://wordpress.org/support/topic/%e6%89%ab%e7%a0%81%e6%94%af%e4%bb%98%e6%88%90%e5%8a%9f%e5%90%8e%ef%bc%8c%e9%a1%b5%e9%9d%a2%e5%a5%bd%e5%83%8f%e6%b2%a1%e6%9c%89%e6%8e%a5%e6%94%b6%e5%88%b0%e6%b6%88%e6%81%af%e5%af%bc%e8%87%b4%e4%b8%8d/)
 *  Thread Starter [amila](https://wordpress.org/support/users/flatworld21/)
 * (@flatworld21)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/%e6%89%ab%e7%a0%81%e6%94%af%e4%bb%98%e6%88%90%e5%8a%9f%e5%90%8e%ef%bc%8c%e9%a1%b5%e9%9d%a2%e5%a5%bd%e5%83%8f%e6%b2%a1%e6%9c%89%e6%8e%a5%e6%94%b6%e5%88%b0%e6%b6%88%e6%81%af%e5%af%bc%e8%87%b4%e4%b8%8d/#post-7370026)
 * Yes, server manager told me to add this to .htaccess
    `SiteGuard_User_ExcludeSig
   bof-try-2`
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [Multisite,multi server, different countries](https://wordpress.org/support/topic/multisitemulti-server-different-countries/)
 *  Thread Starter [amila](https://wordpress.org/support/users/flatworld21/)
 * (@flatworld21)
 * [10 years ago](https://wordpress.org/support/topic/multisitemulti-server-different-countries/#post-7263438)
 * maybe difficult
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [Multisite,multi server, different countries](https://wordpress.org/support/topic/multisitemulti-server-different-countries/)
 *  Thread Starter [amila](https://wordpress.org/support/users/flatworld21/)
 * (@flatworld21)
 * [10 years ago](https://wordpress.org/support/topic/multisitemulti-server-different-countries/#post-7263395)
 * Hope anyone can help!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Paid Memberships Pro - Content Restriction, User Registration, & Paid Subscriptions] how to change redirect url for /membership-account/](https://wordpress.org/support/topic/how-to-change-redirect-url-for-membership-account/)
 *  Thread Starter [amila](https://wordpress.org/support/users/flatworld21/)
 * (@flatworld21)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/how-to-change-redirect-url-for-membership-account/#post-7198940)
 * I solve by this in functions.php
 *     ```
       add_filter('pmpro_account_preheader_redirect', '');
       ```
   
 * But I got a message:
    Warning: call_user_func_array() expects parameter 1 to 
   be a valid callback, function ” not found or invalid function name in /home/sites/
   heteml/users/f/l/a/flatworld/web/flatja.com/wp-includes/plugin.php on line 235
 * I add this in wp-config.php and then disappear. I hope there is a better solution
 *     ```
       ini_set('log_errors','On');
       ini_set('display_errors','Off');
       ini_set('error_reporting', E_ALL );
       define('WP_DEBUG', false);
       define('WP_DEBUG_LOG', true);
       define('WP_DEBUG_DISPLAY', false);
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Paid Memberships Pro - Content Restriction, User Registration, & Paid Subscriptions] how to change redirect url for /membership-account/](https://wordpress.org/support/topic/how-to-change-redirect-url-for-membership-account/)
 *  Thread Starter [amila](https://wordpress.org/support/users/flatworld21/)
 * (@flatworld21)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/how-to-change-redirect-url-for-membership-account/#post-7198939)
 * Thank you, unwiredtech and Pete
    But what I need is not login/logut redirect.
   Now, even though I am login status, but if I have no membership, when I access
   to /membership-account/, I will redirect to /membership-levels/, I want to change
   this
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Paid Memberships Pro - Content Restriction, User Registration, & Paid Subscriptions] how to change redirect url for /membership-account/](https://wordpress.org/support/topic/how-to-change-redirect-url-for-membership-account/)
 *  Thread Starter [amila](https://wordpress.org/support/users/flatworld21/)
 * (@flatworld21)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/how-to-change-redirect-url-for-membership-account/#post-7198936)
 * Does any one know how to change and not influence the update?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Paid Memberships Pro - Content Restriction, User Registration, & Paid Subscriptions] how to change redirect url for /membership-account/](https://wordpress.org/support/topic/how-to-change-redirect-url-for-membership-account/)
 *  Thread Starter [amila](https://wordpress.org/support/users/flatworld21/)
 * (@flatworld21)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/how-to-change-redirect-url-for-membership-account/#post-7198835)
 * I did by changing
    paid-memberships-pro/preheaders/account.php
 * by comment out line 29-36
 *     ```
       if (empty($current_user->membership_level->ID)) {
       /*
           $redirect = apply_filters("pmpro_account_preheader_redirect", pmpro_url("levels"));
           if ($redirect) {
               wp_redirect($redirect);
               exit;
           }
       */
       }
       ```
   
 * But one problem is that I have to change every time after update
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Favorites] How to Display Featured Image in Fav List?](https://wordpress.org/support/topic/how-to-display-featured-image-in-fav-list/)
 *  [amila](https://wordpress.org/support/users/flatworld21/)
 * (@flatworld21)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/how-to-display-featured-image-in-fav-list/#post-6844005)
 * I did.
 * at this in line 121 of UserFavorites.php
 *     ```
       $out .=get_the_post_thumbnail($favorite, array( 50, 50));
       ```
   
 * css
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Favorites] can not display in the right widget](https://wordpress.org/support/topic/can-not-display-in-the-right-widget/)
 *  Thread Starter [amila](https://wordpress.org/support/users/flatworld21/)
 * (@flatworld21)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/can-not-display-in-the-right-widget/#post-7199196)
 * solve by adding this
    location.reload(); to 86 line of simple-favorites.min.js
 * But it means we have to reload the page
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Favorites] How to Display Featured Image in Fav List?](https://wordpress.org/support/topic/how-to-display-featured-image-in-fav-list/)
 *  [amila](https://wordpress.org/support/users/flatworld21/)
 * (@flatworld21)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/how-to-display-featured-image-in-fav-list/#post-6844004)
 * I have the same question
    Have you solved it?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [php files are modified by virus, how to delete this line?](https://wordpress.org/support/topic/php-files-are-modified-by-virus-how-to-delete-this-line/)
 *  Thread Starter [amila](https://wordpress.org/support/users/flatworld21/)
 * (@flatworld21)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/php-files-are-modified-by-virus-how-to-delete-this-line/#post-7034075)
 * I find a sh file here.
    [http://stackoverflow.com/questions/25653364/keep-finding-inject-gibberish-php-in-my-wordpress-theme-files](http://stackoverflow.com/questions/25653364/keep-finding-inject-gibberish-php-in-my-wordpress-theme-files)
 * But since it does not work because the malware content is a little different.
   
   Who can modified the sh file so that I can use for the upper malware content?
 * _[moderated]_
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] where should I add the following code to check quantity after paying](https://wordpress.org/support/topic/where-should-i-add-the-following-code-to-check-quantity-after-paying/)
 *  Thread Starter [amila](https://wordpress.org/support/users/flatworld21/)
 * (@flatworld21)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/where-should-i-add-the-following-code-to-check-quantity-after-paying/#post-7017214)
 * I changed it to test the hook like this code in the functions.php of the theme.
   
   But nothing happened. i changed hook to woocommerce_thankyou but also nothing
   output.
 * add_action( ‘woocommerce_order_status_completed’, ‘check_quantity’ );
    function
   check_quantity($order_id) { echo 1111111111111; }
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] where should I add the following code to check quantity after paying](https://wordpress.org/support/topic/where-should-i-add-the-following-code-to-check-quantity-after-paying/)
 *  Thread Starter [amila](https://wordpress.org/support/users/flatworld21/)
 * (@flatworld21)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/where-should-i-add-the-following-code-to-check-quantity-after-paying/#post-7017167)
 * do you mean the hook “woocommerce_order_status_completed” does not work?
    so 
   what hook will you use? I do not need check_quantity and I will make a new function.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Page Builder by SiteOrigin] Oops! That page can’t be found.](https://wordpress.org/support/topic/oops-that-page-cant-be-found-9/)
 *  Thread Starter [amila](https://wordpress.org/support/users/flatworld21/)
 * (@flatworld21)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/oops-that-page-cant-be-found-9/#post-6666761)
 * Thank u
    I tried to deleted almost all of the plugins but still exist. Any way
   I tried not to use and or or

Viewing 15 replies - 46 through 60 (of 75 total)

[←](https://wordpress.org/support/users/flatworld21/replies/page/3/?output_format=md)
[1](https://wordpress.org/support/users/flatworld21/replies/?output_format=md) [2](https://wordpress.org/support/users/flatworld21/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/flatworld21/replies/page/3/?output_format=md)
4 [5](https://wordpress.org/support/users/flatworld21/replies/page/5/?output_format=md)
[→](https://wordpress.org/support/users/flatworld21/replies/page/5/?output_format=md)