Search Results for 'disable crop'
-
Search Results
-
I’m using a custom child theme based on the default Buddypress theme. This code in functions.php for the default Buddypress theme is giving me some trouble:
` // Add custom header support if allowed
/* if ( !defined( ‘BP_DTHEME_DISABLE_CUSTOM_HEADER’ ) ) {
define( ‘HEADER_TEXTCOLOR’, ‘FFFFFF’ );// The height and width of your custom header. You can hook into the theme’s own filters to change these values.
// Add a filter to bp_dtheme_header_image_width and bp_dtheme_header_image_height to change these values.
define( ‘HEADER_IMAGE_WIDTH’, apply_filters( ‘bp_dtheme_header_image_width’, 1250 ) );
define( ‘HEADER_IMAGE_HEIGHT’, apply_filters( ‘bp_dtheme_header_image_height’, 133 ) );// We’ll be using post thumbnails for custom header images on posts and pages. We want them to be 1250 pixels wide by 133 pixels tall.
// Larger images will be auto-cropped to fit, smaller ones will be ignored.
set_post_thumbnail_size( HEADER_IMAGE_WIDTH, HEADER_IMAGE_HEIGHT, true );// Add a way for the custom header to be styled in the admin panel that controls custom headers.
add_custom_image_header( ‘bp_dtheme_header_style’, ‘bp_dtheme_admin_header_style’ );
} */`Because of this, whenever I create a post with a gallery in it, then select an image as the featured image, the image appears in my theme header. I don’t want this to happen.
I’ve found I can fix the problem by editing out this code in functions.php. But obviously this is not a long-term solution.
Ideally I need to add some code to the functions.php in my custom theme to disable it. But, despite having tried a few likely-looking solutions I found in the forum, nothing so far has worked.
Can anyone tell me how I can fix this?
I have a site running WordPress (3.3.1) and BuddyPress(1.2.

The problem we are experiencing is on registration and changing the avatar via the profile it doesn’t save. You click the “Upload Avatar” button an get taken to the crop screen fine. But when saving from the crop screen back to the “Sign up complete step” or “the change avatar step” it saves a default avatar. It saves fine in FF.
WordPress has been set to MultiSite. I have noticed that in IE and Chrome the site seems to cache pages. Even though we have disabled all kinds of caching. The site has been locked off to outside users only displaying a tabbed login box. If you need access to see I can create a user on our demo server.
Here is the link to the phpinfo.php file for the server. http://successacademy.biz/phpinfo.php
I have also cloned the Groups module into a Company module. ( but i tested with a fresh unalted copy of bp and its still didnt work in IE or Chrome.)
Topic: crop avatar bug?
hi everyone, i have been experimenting with a brand new installation of buddypress (latest) on WP2.9.2, however, even with all plugins disabled i’m having problems with the crop avatar picture.
interestingly i just tried to change my avatar picture on the buddypress.org and i am experiencing exactly the same problem: firefox doesn’t display anything more than the alt text ‘avatar to crop’ and ‘avatar preview’ and an error returned on the page ‘There was an error handling that image, please try again’.on my own installation i verified that the image is actually uploaded, but there is an error in the javascript somewhere with an error ‘expected declaration but found ‘*’. skipped to next declaration…. .jcrop-handle’ in the change-avatar file line 80
both the basic theme and this custom one on the buddypress site act the same hence i’m deducing there is a bug. any ideas?
thanks!
lorenzo
Hello, all. I’ve having trouble uploading avatars for members (haven’t tried groups). I’ve looked around the forums but haven’t found a thread for this specific issue.
What happens is I can choose the image, it seems to upload and I get the crop screen. Except the image is blank and there are no graphics for the cropper tool. If I click the crop button I get an error message: “There was a problem cropping your avatar, please try uploading it again”
So what I see is basically this:
Crop Your New Avatar
Avatar to cropAvatar preview
Below it is an avatar-sized space with no image and below that is the “Crop Image” button.
1. In BP settings “Disable avatar uploads?” is checked no.
2. I can upload images to Media.
3. Identicons work.
4. I’ve got three active plugins. I deactivated them one by one to try uploading an avatar and it didn’t make any difference. Jquery (the conflicting plugin in another thread) is not one of them.
5. Right-clicking in the blank space suggests the image isn’t there at all (no image-related options).
WP 2.9.2
BP 1.2.2.1
Firefox 3.6 (prior/after an update installed today), Opera 10.10
BuddyPress Widget Theme 1.2
I’m missing something, right?
Topic: Several issues
Hello,
I’m hoping someone can help me with a major problems that I’m encountering with my BP installation.
I’m running WordPress MU 2.8.4. and BuddyPress 1.0.3
1) After registering, when a user gets the “Activate avatar” e-mail and clicks on the link they see their avatar. It’s uploaded just fine but the cropping tool is missing! So after proceeding you end up with the infamous bacl box. If you click on change avatar, this time it works fine and cropping tool functions properly.
2) Another cropping tool problem. This time with groups. The group avatar is uploaded fine. The cropping tool functions fine. Once you click on “Crop Full Size and Save” a new page comes up with:
Are you sure you want to do this?
Please try again.
You click on Please try again. and it takes you back. Same thing happens if you try again.
If you skip this step and finish creating the group. Then go to admin->group avatar and upload and crop the avatar it works fine.
3)Is the the abillity of users to delete their account disabled by default? If so how do I enable this? This is very important. I have seen it in another installation of BP.
For example: http://bp-dev.org/members/MEMBERNAME/settings/delete-account
However that page is missing in my installation but the code seems to be in the core files.
4) How can I disable/remove the activity labels across the board that display “active X time ago”. Most users obviously want to hide their online status and don’t want others to see when they logged in and for how long. Ideally this would be a user defined setting but since it’s not, how can I disable this?
Thanks.
Topic: Avatar turning black
Hello all,
Before you yell at me, I looked at the various other threads on this subject, but still haven’t found a resolution. When uploading an avatar, I can see the picture that I uploaded, but cannot crop it. Then I just hit done for both sizes, and it turns black. My permissions are 777 for blog.dir, what else could be the problem?
Also, I disabled a few plugins to see if that was the problem. If there were any conflicts, what could it be from?
Thanks in advance.
The problem with that script without js appears to be the (depricated) form name, which has been specified with a hyphen and not camelCase, and doesn’t work with the inline onkeyup/onkeydown call. I’m not one for inline scripting anyway, so modemlooper’s is the one for me now.
