pmpt
Forum Replies Created
-
Forum: Plugins
In reply to: [wpForo Forum] UM Integration – our newest memberHi!
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
In reply to: [Plugin Organizer] Posts settings not overriding Category page settingsI 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
In reply to: [Ultimate Member - reCAPTCHA] reCaptcha not mandatory fieldHi,
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 4 years, 5 months ago by pmpt.
Forum: Plugins
In reply to: [Polylang] Problem with the redirect to /it instead of /it/home2.0.5. is working. @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
In reply to: [Polylang] Problem with the redirect to /it instead of /it/homesame 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.