Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'disable crop'

Viewing 25 results - 26 through 50 (of 80 total)
  • Author
    Search Results
  • chatty24
    Participant

    Hi

    I am running buddypress 2.1.1
    I have two problems –

    1. Crop function is not fitting in the web browser. How can I make it so that it fits the web browser screen. I found this solution but was unable to figure out where should I put the code. Else, how can I disable the crop feature and just show a box with defined dimensions which user would be able to move and set a location if the image is bigger than the box.

    2. Buddypress is not accepting capital letter file formats of avatar in the default android browser, however it is working on browsers like Google Chrome for android. Is there any specific reason for why is it happening?

    Thanks

    #192891
    @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.

    #177556

    In reply to: Disable Avatar Crop

    sunnyj
    Participant

    croping avatar on mobile phone not supported on all mobile browsers especially operal mini and the mini versions of other mobile browsers. Also low end smartphones cannot handle this thereby, given the user no ability to change their avatar on mobile phone.work great on PC, but as we all know these days users uses their mobile phone to access internet more than PC. It would have been great if buddypress was coded specifically to allow croping on mobile phone media library before uploading to the web just like the way whatsapp does. In whatapp user must first crop the image in media library before uploading.This is the reason why I will like disable avatar croping in buddypress avatar upload.

    #177534

    In reply to: Disable Avatar Crop

    Paul Wong-Gibbs
    Keymaster

    There is not a built in way to disable the cropping part, no. Interested to find out why you seem to want to allow avatar uploads but not let people size them?

    #175636
    slayerking
    Participant

    Is there a way to disable avatar crop feature of buddypress ?

    #173820
    rcfgwep
    Participant

    Hi, please help me, the crop avatar does not favor mobile users, most of my users visit via mobile(opera browser) and are having issues cropping their images. I’d prefer to just disable this cropping thing for mobile. Any help, please…

    #169097

    In reply to: Avatar crop issue

    fredje007
    Participant

    I found this issue is caused by RTmedia Plugin (former Buddypress media). Once disabled group avatars uploading went fine, once activated again group avatar uploads did not work anymore. I will post this issue on their forum

    chriswinch
    Participant

    Hey,
    I have setup buddypress and have noticed that when i goto ‘change avatar’ in the profile options and upload then crop, nothing happens. Buddypress just keeps using the mysteryman /default avatar.

    I have tried the following:
    – switching back to the buddypress test theme
    – disabling all plugins
    – checked GD is installed on the server
    – made sure wordpress, buddypress and all plugins are fully up to date
    – checked wp-content/uploads/avatar and the images are definitely there. Although they are in their original uncropped state.

    I have now disabled gravatar completely and now buddypress is using the following image as default ( http://unit23skatepark.co.uk/wp-content/themes/unit-23/_inc/images/bp_default_avatar.jpg )

    I have searched google high and low for answers but can’t seem to find a solution.
    Anyone have any ideas at all.
    It would be much appreciated!

    #162410
    Hugo Ashmore
    Participant

    You will need to supply a fair bit more technical info on what is actually happening when your users try and crop an image, what you describe above is not sufficient to be able to help much with.

     

    fwiw testing cropping an avatar in 1.7 / 2012 theme shows no issues whatsoever.

     

    if you have plugins that might affect things disable them and test again, likewise if you are using a custom theme that may also be causing the issue so enable the bp default theme or theme known to function correctly  – twentytwelve – and check again.

     

    #162241
    twistyfarmy
    Participant

    In order fix an issue regarding cropping avatar images I recently upgraded to BP 1.7. Now at the top of my webpage, when logged in is an obnoxious and OLD sitewide notification. I do not know how to disable this function as it is not something that I want to or need to have on this site. Here is my info:

    BuddyPress: 1.7
    WordPress: 3.5.1
    BBPress: 2.3

    Here is a link to a screenshot of what I am referring to: http://bit.ly/17aVWzu

    Please let me know how to get rid of this.

    #157649

    In reply to: Avatar Cropping Error

    Rushster
    Participant

    I disabled all plugins, same problem. BuddyBress default theme with a couple of changes as a child theme.

    #156665
    generalmacbeth
    Participant

    I’m using the following:

    `
    define ( ‘BP_AVATAR_THUMB_WIDTH’, 50 );
    define ( ‘BP_AVATAR_THUMB_HEIGHT’, 50 );
    define ( ‘BP_AVATAR_FULL_WIDTH’, 250 );
    define ( ‘BP_AVATAR_FULL_HEIGHT’, 250 );
    `

    in my bp-custom.php file which is located in my plugins folder (not plugins/buddypress).

    Unfortunately, it doesn’t seem to be working. Avatars are still being sized to 150 x 150. Can someone tell me why this isn’t working?

    Also, is there a way to disable the cropping option?

    #149886
    nkarafo
    Participant

    Hello,
    I have WP 3.4.1 and Buddypress 1.6.2 but I wouldn’t like to upgrade to WP 3.5.

    When I’m trying to upload an image to a profile or to a group, when I press the crop button I have “this page cannot be found” in browser and nothing happened.

    When I’m trying to upload a file in forums, the bar is loading and loading and nothing happens also.

    I have disabled ALL the plugins and left only buddypress with its default theme but no luck. I have also make these changes as described here:
    http://buddypress.trac.wordpress.org/changeset/6708
    but still the same errors.

    Can you please help? Any advise?
    Thank you!

    #149864
    nkarafo
    Participant

    Thank you for your reply but I made the changes but still nothing. Also, I disable ALL the plugins and there is only buddypress 1.6.2 installed with it’s default theme and nothing else at all. I CAN upload media files within wordpress normally but I cannot upload photos as avatars in buddypress profiles, groups, etc.

    I also tried buddypress 1.6.1 but still the same..

    🙁

    John Robben
    Participant

    I am having the same problem:

    I am trying to upload a picture from my computer for an avatar. Size at 50×50 and 100×100 , 300×150 the pictures upload fine, then the crop picture button and select box, after expanding the selection box for cropping ( the section to be cropped shows up next to picture) clicking crop picture button, refreshes the screen and produces this error .. There was a problem cropping your avatar, please try uploading it again. Tried this multiple times in both current versions of FF and Chrome. Same results.

    ps. I had buddypress media plugin installed after deleting the problem was the same.

    A bit more background, tracked back the location of the avatar pictures – wp-content/uploads/avatars ; The owner and group on the dir, subdir, and files are siteower and siteowner just like all of the other folders and files – the directory was set to 755 and files to 644; there were jpgs in my avatar folder for all my attempts at adding an avatar. Just to see what happened I changed all the files to 755 and attempted another upload, same error and the uploaded file had the permission set at 644.
    Process details:
    The upload worked , then the crop function fired and after including the full 100×100 image in crop selection and clicking crop. The Same “here was a problem cropping your avatar, please try uploading it again.” Error came up again.

    Any suggestions?

    System info:

    Infinity Version: 1.1a
    Developer Mode: Disabled
    BuddyPress: 1.6.1
    MySQL: 5.1.66
    Permalinks: custom
    PHP: 5.3.2-1ubuntu4.18
    WordPress: 3.4.2
    WordPress multisite: no

    #142933
    CannedBear
    Participant

    Update: A caching plugin was causing the Errormessage, I disabled it and the Errormessage is gone, but still I can’t crop profile images in groups. (strangely I can crop profile images of users) All I get is the “crop image” and “preview” but I don’t see the image I just uploaded. Firebug says the image couldn’t be loaded, but I don’t have any Idea why. After this step they appear, but uncropped. Any suggetions what to try to solve this?
    By the way, my site is http://www.hockeyville.de

    Diabolique
    Participant

    Hi,

    Is it posible to have portrait resolution for user avatars and horizontal resolution for group thumbnails. When I open bp-core-avatars.php and setup following parameters

    if ( !defined( ‘BP_AVATAR_FULL_WIDTH’ ) )
    define( ‘BP_AVATAR_FULL_WIDTH’, 250 );

    if ( !defined( ‘BP_AVATAR_FULL_HEIGHT’ ) )
    define( ‘BP_AVATAR_FULL_HEIGHT’, 150 );

    …then I see the same resolution for avatars and group thumbs :(
    Or maybe there is possible to disable thumbnail cropping?

    #136870
    thirstcard
    Member

    @ikosweb this CSS is essential for the avatar cropping feature. If anyone is developing their own theme and has decided to disable the default BuddyPress CSS then try adding this CSS snippet to your theme’s .css

    #30036
    ikosweb
    Member

    It is really hard to explain but…
    I’m using BuddyPress Template Pack to adapt Oxygen theme by devpress to be compatible with buddypress. Everything works very well except for the avatar cropping thing.
    When you upload a pic, and then use the cropping tool, the preview inside the crop and the preview below shows the wrong size, coordinates, and ratio. Ive been looking for a way to fix it but just cant. I disabled all js from my theme and still the same.

    So…is there a way to know whats going on?
    if not, is there a way to just leave the crop without preview?

    you can check my issue in http://www.graficacolectiva.com/wp-admin
    user: usuario
    pass: usuario

    oh and this happens with my theme, with default, the cropping works well.
    there are a lot of changes to be done in the css so not all pages look good (still working in the template pack)

    Thanks, hope someone can help me!

    #134755

    Sorry, Hugo, I need to know *exactly* what this is supposed to look like. Putting this in

    `<?php
    if ( !function_exists( ‘bp_dtheme_enqueue_styles’ ) ) :
    function bp_dtheme_enqueue_styles() {}
    endif;
    ?>

    function bp_dtheme_setup() {
    global $bp;

    // Load the AJAX functions for the theme
    require( TEMPLATEPATH . ‘/_inc/ajax.php’ );

    // This theme styles the visual editor with editor-style.css to match the theme style.
    add_editor_style();

    // This theme uses post thumbnails
    add_theme_support( ‘post-thumbnails’ );

    // Add default posts and comments RSS feed links to head
    add_theme_support( ‘automatic-feed-links’ );

    // Add responsive layout support to bp-default without forcing child
    // themes to inherit it if they don’t want to
    add_theme_support( ‘bp-default-responsive’ );

    // This theme uses wp_nav_menu() in one location.
    register_nav_menus( array(
    ‘primary’ => __( ‘Primary Navigation’, ‘buddypress’ ),
    ) );

    // This theme allows users to set a custom background
    add_custom_background( ‘bp_dtheme_custom_background_style’ );

    // 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’, 401 ) );
    define( ‘HEADER_IMAGE_HEIGHT’, apply_filters( ‘bp_dtheme_header_image_height’, 80 ) );

    // 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’ );
    }`

    makes it worse, not better, because the code shows up above the header.

    Here’s the CSS:

    http://snazzymob.com/wp-content/themes/Snazzy/style.css

    I don’t care how stupid I look to you as long as the end result is that I’m given the correct information. That means providing me with the actual code in the actual way it’s supposed to be entered in the functions.php file.

    This is what is there now:

    `<?php
    if ( !function_exists( ‘bp_dtheme_enqueue_styles’ ) ) :
    function bp_dtheme_enqueue_styles() {}
    endif;
    ?>`

    There’s got to be a way to stop the header image repeating.

    xcelguy
    Member

    Created the site, from scratch. Added Bulletproof Security (BPS) from the start because all my other BP sites got hacked by hackers I lost everything, they even gained ftp access to my 1and1 server. Since I changed all my sites with BPS hackers are stopped. This is my first buddypress redo, from scratch. But users can’t change the avatar, they can upload it, then crop, but when they press the crop button, nothing happens. I have spend 3 days searching for a fix. (Note: I did find a plugin that let me add an avatar from the dashboard side, but it only added it to the front end, profile) so i deleted that plugin. I also went back to a basic .htaccess file and disabled BPS. Someone please help me. (Note: the administrator can change his avatar and upload them).

    #129449

    Thanks for your both late, and speedy reply. I figured I’d check back before I went to sleep, I didn’t think anyone would post so late. I was able to locate the appropriate .css files, for future reference (so no one else is confused), they are located in pluginsbp-template-pack right under my nose. I feel like a bit of an idiot now, however I managed to edit several margins that had been set to negative numbers, such as negative nineteen, which my style does not support it would seem.

    As for the Avatar cropping, I have had no luck with this. I scanned the page you linked me, changed my theme, and even disabled it entirely just to rule out that possibility all together to no avail. I did notice however, that this error message is now popping up: There was a problem cropping the avatar, please try uploading it again.

    When I attempt to crop any avatar’s for both groups and persons joining, the crop window does not appear over the picture. I can still select crop picture, only nothing happens. It grabs the corner of said image, and chooses that.

    #127294
    enderpal444
    Participant

    Bump..really need help with this

    #26559
    enderpal444
    Participant

    There’s no longer an option to crop images for new avatars. I’m guessing this is a conflict with another jquery script. I was thinking of using a custom header for the page and excluding any extra scripts Im using but I’m not sure where the theme file is that controls it. Any clues?

    #26463
    seravifer
    Member

    I want the users profile tab disappears but the option to change avatar aparezca en otra pagina distinta del perfil de usuario. In profile form of the “theme my login plugin”.

    <?php

    $GLOBALS = $current_user = wp_get_current_user();
    $GLOBALS = $profileuser = get_user_to_edit( $current_user->ID );

    $user_can_edit = false;
    foreach ( array( ‘posts’, ‘pages’ ) as $post_cap )
    $user_can_edit |= current_user_can( “edit_$post_cap” );
    ?>

    <div class="login profile" id="theme-my-loginthe_instance(); ?>”>
    the_action_template_message( ‘profile’ ); ?>
    the_errors(); ?>

    ID ) ?>

    <input type="hidden" name="checkuser_id" value="ID; ?>” />

    <input type="text" name="user_login" id="user_login" value="user_login ); ?>” disabled=”disabled” class=”regular-text” />
    <input type="text" name="first_name" id="first_name" value="first_name ) ?>” class=”regular-text” />
    <input type="text" name="last_name" id="last_name" value="last_name ) ?>” class=”regular-text” />
    <input type="text" name="nickname" id="nickname" value="nickname ) ?>” class=”regular-text” />

    <?php
    $public_display = array();
    $public_display = $profileuser->nickname;
    $public_display = $profileuser->user_login;
    if ( !empty( $profileuser->first_name ) )
    $public_display = $profileuser->first_name;
    if ( !empty( $profileuser->last_name ) )
    $public_display = $profileuser->last_name;
    if ( !empty( $profileuser->first_name ) && !empty( $profileuser->last_name ) ) {
    $public_display = $profileuser->first_name . ‘ ‘ . $profileuser->last_name;
    $public_display = $profileuser->last_name . ‘ ‘ . $profileuser->first_name;
    }
    if ( !in_array( $profileuser->display_name, $public_display ) )// Only add this if it isn’t duplicated elsewhere
    $public_display = array( ‘display_displayname’ => $profileuser->display_name ) + $public_display;
    $public_display = array_map( ‘trim’, $public_display );
    foreach ( $public_display as $id => $item ) {
    $selected = ( $profileuser->display_name == $item ) ? ‘ selected=”selected”‘ : ”;
    ?>
    <option id="” value=””>

    <input type="text" name="email" id="email" value="user_email ) ?>” class=”regular-text” />
    <input type="text" name="url" id="url" value="user_url ) ?>” class=”regular-text code” />

    <?php
    $show_password_fields = apply_filters( ‘show_password_fields’, true, $profileuser );
    if ( $show_password_fields ) :
    ?>

    <?php
    do_action( ‘show_user_profile’, $profileuser );
    ?>

    caps ) > count( $profileuser->roles ) && apply_filters( ‘additional_capabilities_display’, true, $profileuser ) ) { ?>

    <?php
    $output = ”;
    global $wp_roles;
    foreach ( $profileuser->caps as $cap => $value ) {
    if ( !$wp_roles->is_role( $cap ) ) {
    if ( $output != ” )
    $output .= ‘, ‘;
    $output .= $value ? $cap : “Denied: {$cap}”;
    }
    }
    echo $output;
    ?>

    <input type="hidden" name="user_id" id="user_id" value="ID ); ?>” />
    <input type="submit" class="button-primary" value="” name=”submit” />

    This code has to work in the code above:

    <?php _e( 'Your avatar will be used on your profile and throughout the site. If there is a Gravatar associated with your account email we will use that, or you can upload an image from your computer.’, ‘buddypress’) ?>

    <input type="submit" name="upload" id="upload" value="” />

    <a class="button edit" href="” title=””>

    <img src="” id=”avatar-to-crop” class=”avatar” alt=”” />

    <img src="” id=”avatar-crop-preview” class=”avatar” alt=”” />

    <input type="submit" name="avatar-crop-submit" id="avatar-crop-submit" value="” />

    <input type="hidden" name="image_src" id="image_src" value="” />

    <?php _e( 'Your avatar will be used on your profile and throughout the site. To change your avatar, please create an account with Gravatar using the same email address as you used to register with this site.’, ‘buddypress’ ) ?>

    How?

Viewing 25 results - 26 through 50 (of 80 total)
Skip to toolbar