Title: pmpt's Replies | WordPress.org

---

# pmpt

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

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

 Search replies:

## Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[wpForo Forum] UM Integration – our newest member](https://wordpress.org/support/topic/um-integration-our-newest-member/)
 *  [pmpt](https://wordpress.org/support/users/pmpt/)
 * (@pmpt)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/um-integration-our-newest-member/#post-14045813)
 * Hi!
 * 1) thanks for the snippet.. spent sometime myself to find that the offending 
   function was ‘wpforo_member_link’.. your solution works well. Hopefully we will
   see that fixed in a new release of this amazing plugin.
 * 2) In my case I wanted also to prevent the navigation to the Admin user profile..
   I am no expert but managed to get it done by tweaking a bit your code:
 *     ```
       	if( wpfval($member, 'profile_url') ){
   
       		um_fetch_user($member['ID']); 
       		$profile_url = um_user_profile_url();
   
       		if ( !user_can( $member['ID'], 'manage_options' ) ) {
       			// Non Admins
       			$link = '<a href="' . esc_url($profile_url) . '">' . ( strpos($prefix, '%s') !== FALSE ? sprintf( wpforo_phrase($prefix, FALSE), esc_html( wpforo_text($display_name, $length, FALSE) ) ) : ( $prefix ? wpforo_phrase($prefix, false) . ' ' : '') . ( $length ? esc_html( wpforo_text($display_name, $length, false) ) : esc_html($display_name) ) ) . '</a>';
       		} else {
       			// Is Admin
       			$link = '<span ' . $color . '> ' . ( $length ? esc_html( wpforo_text($display_name, $length, false) ) : esc_html($display_name) ) . '</span>';
       		}
       		um_reset_user();
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin Organizer] Posts settings not overriding Category page settings](https://wordpress.org/support/topic/posts-settings-not-overriding-category-page-settings/)
 *  Thread Starter [pmpt](https://wordpress.org/support/users/pmpt/)
 * (@pmpt)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/posts-settings-not-overriding-category-page-settings/#post-13575658)
 * I found that the issue is not related to Plugin Organizer plugin.
 * With F12-Profiler plugin I was able to evidence the social sharing plugin was
   actually loading in Posts pages, but it was not rendering.. thus, that lead me
   to suspect that the origin of the problem should be different.
 * Thanks
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ultimate Member - reCAPTCHA] reCaptcha not mandatory field](https://wordpress.org/support/topic/recaptcha-not-mandatory-field/)
 *  Thread Starter [pmpt](https://wordpress.org/support/users/pmpt/)
 * (@pmpt)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/recaptcha-not-mandatory-field/#post-13519193)
 * Hi,
 * Just in case somebody has the same issue I raised above (Google Captcha not being
   a mandatory field).
 * The problem was that if you have the following setting in your wp-config.php:
   
   define(‘WP_HTTP_BLOCK_EXTERNAL’, true);
 * Then do not forget to add ‘*.google.com’ to your WP_ACCESIBLE_HOSTS. I.e.:
 * define(‘WP_ACCESSIBLE_HOSTS’, ‘*.google.com’);
 * Cheers
    -  This reply was modified 5 years, 8 months ago by [pmpt](https://wordpress.org/support/users/pmpt/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Polylang] Problem with the redirect to /it instead of /it/home](https://wordpress.org/support/topic/problem-with-the-redirect-to-it-instead-of-ithome/)
 *  [pmpt](https://wordpress.org/support/users/pmpt/)
 * (@pmpt)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/problem-with-the-redirect-to-it-instead-of-ithome/#post-8322911)
 * 2.0.5. is working. [@isfak](https://wordpress.org/support/users/isfak/), managed
   to get it working after updating prod environment with “migrate db plugin”, as
   in my first attempt to download the 205.zip from the repository did not succeed.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Polylang] Problem with the redirect to /it instead of /it/home](https://wordpress.org/support/topic/problem-with-the-redirect-to-it-instead-of-ithome/)
 *  [pmpt](https://wordpress.org/support/users/pmpt/)
 * (@pmpt)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/problem-with-the-redirect-to-it-instead-of-ithome/#post-8322780)
 * same here.. it redirects from homepage/es/inicio to homepage/es
    going back to
   2.0.5. is not doing the trick for me.
 * my dev/local installation works fine with 2.0.6, only prod environment fails.

Viewing 5 replies - 1 through 5 (of 5 total)