shpitzyl
Forum Replies Created
-
I think I found were the problem is.
In bp-avatar-suggestions-front.php, inside the function prepare_for_js() there is this condition:
if ( ! empty( $suggestion_size['thumbnail'] ) && $suggestion_size['thumbnail'][3] ) { $avatar['sizes']['thumbnail'] = array( 'height' => $suggestion_size['thumbnail'][2], 'width' => $suggestion_size['thumbnail'][1], 'url' => str_replace( array( 'https:', 'http:' ), '', $suggestion_size['thumbnail'][0] ), 'orientation' => $suggestion_size['thumbnail'][2] > $suggestion_size['thumbnail'][1] ? 'portrait' : 'landscape', ); } else { return false; } }
After removing this from the if statement:
&& $suggestion_size['thumbnail'][3]
I can see the suggestions on the front end.
I’m not a php developer and not sure what the issue is. This bug is the only thing that prevent me from upgrading to buddypress 2.3.0 and bp-avatar-suggestions 1.3.0
Would it be safe to remove that condition from the if statement?
After some testing it seems that the issue is different. For some strange reason it doesn’t show 150x150px images. It only works when uploading larger images.
What could be the problem?
I’m experiencing the same problem. Setting type to ‘user’ doesn’t solve the issue.
Forum: Plugins
In reply to: [WP Design Maps & Places] Another BugThe problem is only when calibrating with google maps.
The map that I’m using is a modified screenshot from google maps so it fits perfectly.
I think the latitude doesn’t come right because when zooming out to the whole world in google maps, the map reapets from the sides. Your plugin takes the reference points from the top left and bottom right of the image. The bottom right falls exactly where google map reapet itself and it get the worng latitude.
It’s hard for me to calibrate manualy because I’m using a blank map. I’ve manage to calibrate the map with small islands.
Forum: Plugins
In reply to: [WP Design Maps & Places] Anoying bugThanks for the fix.
Forum: Plugins
In reply to: [WP Design Maps & Places] Anoying bugThe plugin also messing up my theme option page.
I think I found what is messing up the theme option page. It’s in ui-tabs.css. Maybe some of the styles are confilcting with wordpress styles.
When commenting the line:
wp_enqueue_style('wpdmp-tabs-styles', WPDMP_PLUGIN_URL . "css/ui-tabs.css", false, WPDMP_VERSION, "screen");
in wpdmp_admin_script(). the page looks fine.
The conflict with the featured image is also in that function but I can’t find the exact script. All I know is that after commenting the line
add_action('admin_menu', 'wpdmp_admin_script');
I can add images without a problemI hope it helps
Thanks