Search Results for 'crop'
-
AuthorSearch Results
-
March 12, 2015 at 6:56 am #235869
In reply to: "Whats New" – Post box – and "POST Button"
mcpeanut
ParticipantThis seems to be a continuous problem for buddypress users and its a problem that crops up ALOT on these forums maybe there should be a sticky thread about this css button issue people are having with various themes and installs? It might stop this same question being asked over and over again by new users? I know it does not happen to everyone but it does happen on quite alot of themes and alot of people are confused how to initially fix this issue.
@rosyteddy can i ask you a question? do you live on these forums? hehe. I thought i spent enough time knocking around here haha.
@kissui after a brief search for you i came across this i aint sure if this can help about the resize issue you have http://stackoverflow.com/questions/26581807/how-to-prevent-a-specific-animate-from-running-via-a-seperate-jquery-scriptFebruary 25, 2015 at 3:20 pm #235147In reply to: [resolved] Profile Image Error
kyxsune
ParticipantFound it, Jetpack and specifically the photon module within jetpack was causing a dynamic resize of the generated thumbnails that failed.
Thanks for your consideration, I hope this helps someone else down the line.
Same solution as given here: https://buddypress.org/support/topic/avatar-cropping-errors/
February 6, 2015 at 4:07 pm #233975In reply to: BP 2.2 also broke Drop-Down Menu
Hugo Ashmore
ParticipantSo this ‘dropdown menu’ is not the WP adminbar just the themes main WP menu bar?
Have you checked with the theme authors whether this is something they’re aware of?
These issues, although I understand the apparent common denominator seeming to be BP, will tend to be something that perhaps the theme, plugin or whatever third party code was doing wrong or didn’t account for, BP tends to be pretty well tested, as there are quite a few of us working with it and the trunk code day in day out and bar the inevitable minor issues that crop up after a release there tend to be few major ones.
February 3, 2015 at 5:50 pm #233500In reply to: Cannot Crop Avatars
modemlooper
Moderatornot sure how they do the set up but sometimes if its an auto install of WP file permissions are off and the crop can break
January 26, 2015 at 4:06 pm #232964In reply to: Avatar upload on sign up, s2members
ouegy
ParticipantHi @henrywright
I’ve taken a slightly different approach as I couldn’t figure out customising the s2member form.
What now happens is the user registers and is assigned a restricted membership level (level_1) and automatically logged in and redirected to /profile/change-avatar.
At the point that the user clicks
<input type="submit" name="avatar-crop-submit" id="avatar-crop-submit" value="<?php esc_attr_e( 'Crop Image', 'buddypress' ); ?>" />in change-avatar.php, is there some sort of event hook that could fire on this to change the user’s role eg. make them a full member (level_2)
It’s a requirement that the user uploads a photo to become a member of the community.
Thanks again
January 26, 2015 at 2:04 pm #232951In reply to: Avatar upload on sign up, s2members
Henry Wright
ModeratorThere’s a lot more to uploading an avatar than just saving the meta. Check out
xprofile_screen_change_avatar()to see how BuddyPress handles the process.Along with saving meta info, you’ll need to handle the actual file and save it to your file system (just as BuddyPress does). Then there’s cropping to think about too.
Hope this info helps.
December 3, 2014 at 4:06 pm #230066In reply to: [Resolved] Photo Profile
danbp
Participantavatar size are defined in WP settings. And BP use a default size of respectively 50px and 150px.
With some theme, you have to increase these default size.To do so you can add this to your bp-custom or child theme functions.php file.
/* AVATAR MAX CROP SIZING */ define ( 'BP_AVATAR_THUMB_WIDTH', 60 ); define ( 'BP_AVATAR_THUMB_HEIGHT', 60 ); define( 'BP_AVATAR_FULL_WIDTH', 175 ); define( 'BP_AVATAR_FULL_HEIGHT', 175 );November 27, 2014 at 9:54 pm #229787In reply to: error when trying to upload group photo
cybervang
ParticipantI’ve had that issue before. I found out a plugin was causing the upload and crop issue.
Have you tried juggling plugins on and off?October 8, 2014 at 2:53 pm #206309In reply to: Avatar resize not working
danbp
Participantyou already reported around this in the past, but apparently you didn’t follow the answers. 😉
https://buddypress.trac.wordpress.org/ticket/5182
Open a new ticket if you cinsider there is something incorrect with cropping.
October 8, 2014 at 1:37 pm #206293In reply to: Avatar resize not working
Matt
ParticipantFurther update: I’ve narrowed it down to the $aspect_Ratio variable in bp-core-cssjs.php on line 163 which I’ve used a hack to fix the variable for the time being.
158 <script type="text/javascript"> 159 jQuery(window).load( function(){ 160 jQuery('#avatar-to-crop').Jcrop({ 161 onChange: showPreview, 162 onSelect: updateCoords, 163 aspectRatio: 1.72817, // NEW HACKED LINE WITH FIXED-RATIO 164// ORIGINAL LINE aspectRatio: <?php echo (int) $aspect_ratio; ?>, 165 setSelect: [ <?php echo (int) $crop_left; ?>, <?php echo (int) $crop_top; ?>, <?php echo (int) $crop_right; ?>, <?php echo (int) $crop_bottom; ?> ] 166 }); 167 updateCoords({x: <?php echo (int) $crop_left; ?>, y: <?php echo (int) $crop_top; ?>, w: <?php echo (int) $crop_right; ?>, h: <?php echo (int) $crop_bottom; ?>}); 168 });October 8, 2014 at 12:11 pm #206274In reply to: Avatar resize not working
Matt
ParticipantUpdate: I added
<?php echo "Avatar size: ".bp_core_avatar_full_width()."x".bp_core_avatar_full_height()." (".bp_core_avatar_thumb_width()."x".bp_core_avatar_thumb_height()." thumb)"; ?>
to change-avatar.php and it output “Avatar size: 1920×1111 (86×50 thumb)” next to the crop, which is still only allowing a square ratio crop. (View screenshot)That means it must be to do with the cropper itself then, right?
September 19, 2014 at 10:01 pm #198012In reply to: Add an alt @user_name
mcpeanut
Participant@ChiefAlchemist I agree with alot of what you said above, however i havent tested 2.1 yet as im still on 2.0.3, i am a little bit wary of updating at the min after reading various problems already cropping up for people. but surely the best way around this would be to let the new @ mentions only show users friends?
I mean if you could only show friends when mentioning someone then the admin account would never be visible to anyone unless the admin started adding friends lol, if you wanted to mention someone that was not your friend you would have to just type ther full username? what do you think?
Infact i would prefare it only to visibly show my friends when mentioning someone instead of the whole site members lol, this way if you was mentioning someone that wasnt a friend you would have to know exactly who you wanted to mention like i just did with you.
so to sum up what i just said.
1. auto suggest should only show friends
2. mentioning someone outside of you friends should require you to know exactly who you wanted to mentionSeptember 13, 2014 at 3:19 am #192891In reply to: buddypress avatar cutting off
@mercime
Participant.. profile avatars. They used to be circular and now they seem to be square and cutting off on the profile.
Your avatar in your profile pages are all circular. Have you tried clearing cache?
also noticed that when trying to change the avatar i cannot crop it :/
Can’t say what the issue is as the profile pages of the throw-away account is disabled, i.e., pages related to the account lead to 404 pages.
September 12, 2014 at 11:47 pm #192890In reply to: buddypress avatar cutting off
avitmusic
Participantuser: thomas
password: 1234567890well i can see the problem when i inspect the element but i am not sure how to correct even the margin problem on the avatar.
also noticed that when trying to change the avatar i cannot crop it :/
September 4, 2014 at 11:06 pm #189663In reply to: Avatar Cropping Not Working
rynoesco
ParticipantYes, I understand that css could potentially break js. I was just referring to simple styling within css, not changing class names or anything like that. Thank you for the links. I’ll take a look at them and see if those will help with my avatar cropping issue.
September 4, 2014 at 8:17 pm #189645In reply to: Avatar Cropping Not Working
danbp
ParticipantIf you think it is not CSS who breaks the js query working in the background, i guess you think false.
For example if you changed some class name, the script can’t correctly handle the cropping.
Here a very old topic, related to a css problem with avatar. Nothing to do with yours today, but to make you understand that playing with CSS is not a innocent game.
You could also read this related to avatar customization on the codex.
Have you deactivate the actual theme and tried with 2014 ?
Now, at least, as you use a premium theme, you have to ask on the theme support if you encounter issues. We cannot help much for such themes, as we have no access to them.
September 2, 2014 at 7:45 pm #189003danbp
Participantthank you for your reply !
The php GD2 library is necessary on your server to handle images.To all readers:
In case of issues with common image handling and/or image cropping, ensure that your php has GD library enabled.
On hosted servers, it is generally the case, but not on local with WAMP for example.
Making a phpinfo will help you.
Read also here about other server requirements (required or optionnal)
September 2, 2014 at 6:00 pm #189000Juan M. Gonzalez
ParticipantI had this same error, “There was a problem cropping your avatar”. After trying many things, what finally worked was installing php5-gd and do a restart.
On Debian:
apt-get install php5-gd
After this, usually people restart Apache server. But in this case there was Nginx server instead, and restarting it wasn’t enough. A PHP restart was needed.
So, I went to Webmin control panel to restart the Nginx PHP fcgi server:
System > Bootup and Shutdown > php-fcgi-…
And avatar cropping started to work for BuddyPress groups, profiles…
September 1, 2014 at 4:46 pm #188877In reply to: [Resolved] Warning message on my activity page
Learner
ParticipantHi !
I recently changed my WordPress Theme to ” Customizer ” and this error message crops up at the bottom of every page thereafter.
Disabling the plugin : Social Login ” of Login Radius makes it go away…
So, either the theme or the [plugin is causing this….
Alll solutions appreciated !
August 21, 2014 at 2:19 pm #187699elshobokshy
ParticipantOkay so I created a file named bp-custom.php and uploaded it here: wp-content/plugins/bp-custom.php
And wrote this code in it:define ( ‘BP_AVATAR_THUMB_WIDTH’, 50 );
define ( ‘BP_AVATAR_THUMB_HEIGHT’, 50 );
define ( ‘BP_AVATAR_FULL_WIDTH’, 50 );
define ( ‘BP_AVATAR_FULL_HEIGHT’, 50 );
define ( ‘BP_AVATAR_ORIGINAL_MAX_FILESIZE’, 5120 );
define ( ‘BP_AVATAR_DEFAULT’, ‘http://animalsfunnypictures.com/wp-content/uploads/2014/08/cropped-Untitled-1.png’ );
define ( ‘BP_AVATAR_DEFAULT_THUMB’, ‘http://animalsfunnypictures.com/wp-content/uploads/2014/08/cropped-Untitled-1.png’ );But nothing changed in my site.. any ideas why?
July 5, 2014 at 6:26 am #184815giorgosnl
Participant@mercime Thanks for pointing this. In my case it is a theme issue as it is already redirecting to the admins profile before crop is done. It is redirecting already when I click on upload.
Patch is solving the redirect after crop is done. I notified the theme author.as mentioned in ticket 5580:
It’s a great idea, but very annoying if you are an admin editing a different user’s avatar. Instead of getting redirected to their profile after the avatar crop, you get redirected to your own profile every time
June 27, 2014 at 5:16 pm #184502In reply to: How to viewing profiles
@mercime
ParticipantWhy is there no “Profile” page listed among the “Pages” portion of this plugin???? … Please help me understand why I cannot upload or crop avatar images.
@gt-director RE Profile pages missing: probably theme issue or BP missing files in upload. So Change to the Twenty Fourteen theme to see if issue is resolved. If not, keep Twenty Fourteen activated and re-upload BuddyPress plugin manually.
RE cannot upload or crop avatar uploads: Did you enable avatar uploads in Settings > BuddyPress > Settings? https://mercime.files.wordpress.com/2013/12/bpsettings1.pngJune 27, 2014 at 2:33 pm #184492In reply to: How to viewing profiles
GT Director
ParticipantI’m very sorry. This is all so confusing for me – I didn’t realize that there was a difference between the WordPress “Dashboard”, (which is the v3.4.4 that I initially referred to when I started this thread) and the “WordPress” that I have installed (Which is v3.9.1). This version of WP should be more than compatible. 🙂 Please help me understand why I cannot upload or crop avatar images. Thank you for your help.
June 26, 2014 at 3:43 pm #184446In reply to: How do I move profile subnavs to Settings subnav
juhanib
ParticipantI was able to get the avatar form to show up with this snippet:
function setup_custom_nav() { global $bp; bp_core_new_subnav_item( array( 'name' => __( 'Change Avatar', 'buddypress' ), 'slug' => 'change-avatar', 'parent_url' => $bp->loggedin_user->domain . 'settings/', 'parent_slug' => 'settings', 'screen_function' => 'ca_screen_function', 'position' => 30, ) ); } add_action( 'bp_setup_nav', 'setup_custom_nav'); function ca_screen_function() { add_action( 'bp_template_content', 'change_profile_picture_screen_content' ); bp_core_load_template( apply_filters( 'xprofile_template_change_avatar', 'members/single/plugins' ) ); xprofile_screen_change_avatar(); } function change_profile_picture_screen_content() { bp_get_template_part( 'members/single/profile/change-avatar' ); }But when I try to upload a new avatar the resizing/cropping screen doesn’t show up.
June 17, 2014 at 7:40 pm #184150Tommy White
Participant@frisch11 I have the same problem today! Can you tell me what you deleted? I removed the BP plugin, deleted all tables in the DB related to wp_bp and also wp_bb (forums). Removed the avatar folder in uploads for images but I still have the same problem ;(
My problem is 100% the same as yours. Everything is set, upload and crop works fine but the image isn’t included in the HTML to appear.
-
AuthorSearch Results