Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'crop'

Viewing 25 results - 901 through 925 (of 1,245 total)
  • Author
    Search Results
  • nessradio
    Participant

    So in my case I find the problem of why “upload avatar” doesn’t work.
    It’s because of the BuddyPress Template pack plugin. When I use the bp default theme everything works perfectly.
    When I use any wordpress theme that I made compatible with BuddyPress using the plugin bp Template pack I find exactly the same problem: Avatar Upload, private message, register… all of that doesn’t work… as soon as you click on the button “Submit” or “Crop” you go back to the same page and nothing happen?! It’s like the information wasn’t given at all…
    There is a conflict somewhere that I can’t find!
    Any Ideas???

    [EDIT] Ok I solved the problem!!!
    Ok so if none of the solution you have in this topic works for you it’s probably because you have a conflict between a js script in your default theme and a js script in your wordpress theme… take a minute tu disable all the js action in your wordpress theme ton test if it’s coming from there…

    Psyber
    Participant

    Go to admin side of your blog then click from left menu Settings -> Miscellaneous Settings — I don’t think this menu is available in WordPress MU, am I missing something?

    theBestProgrammers
    Participant

    Go to admin side of your blog then click from left menu Settings -> Miscellaneous Settings
    Set “Store uploads in this folder” to “wp-content/uploads”.
    Set “Full URL path to files” to the REAL FULL PATH of your uploads. e.g “http://yoursiteblog/wp-content/uploads”

    Go to wp-content/plugins/buddypress/bp-core/bp-core-avatars.php
    Then change bp-core-avatars.php line 389

    Replace:
    if ( !$path = get_option( ‘upload_path’ ) )
    $path = WP_CONTENT_DIR . ‘/uploads’;

    With:
    if ( !$path = get_option( ‘upload_path’ ) )
    $path = WP_CONTENT_DIR . ‘/uploads’;
    else $path = ABSPATH . $path;

    Note: Take care for quotes you must remove and again add by yourself, otherwise you will get Warning: Division by zero …
    Hope it will work perfectly for image upload and crop issue.

    theBestProgrammers
    Participant

    @nessradio and @psyber I am repeating all steps gain in detail mentioned by @gian-ava

    Go to admin side of your blog then click from left menu Settings -> Miscellaneous Settings
    Set “Store uploads in this folder” to “wp-content/uploads”.
    Set “Full URL path to files” to the REAL FULL PATH of your uploads. e.g “http://yoursiteblog/wp-content/uploads”

    Go to wp-content/plugins/buddypress/bp-core/bp-core-avatars.php
    Then change bp-core-avatars.php line 389

    Replace:
    if ( !$path = get_option( ‘upload_path’ ) )
    $path = WP_CONTENT_DIR . ‘/uploads’;

    With:
    if ( !$path = get_option( ‘upload_path’ ) )
    $path = WP_CONTENT_DIR . ‘/uploads’;
    else $path = ABSPATH . $path;

    Note: Take care for quotes you must remove and again add by yourself, otherwise you will get Warning: Division by zero …
    Hope it will work perfectly for image upload and crop issue.

    #78178
    Psyber
    Participant

    I have the same problem, I am experiencing exactly what you described triv, and while I am running a custom child theme, I do have all the default divs in place.

    Psyber
    Participant

    I have the same issue, although I haven’t attempted a code fix yet. I am running a custom child theme with BP 1.2.3.

    nessradio
    Participant

    I’ve got a similar problem and I tried all the solution present in this topic but none of them worked…

    Please have a look to my Topic to help me:
    https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/impossible-to-upload-image-on-change-avatar-and-album-upload-picture-and-cant-send-private-message/#post-54071

    Thx All

    nessradio
    Participant

    To be more precise:
    – When I upload a pic to change my avatar: I see my pic with the crop function but as soon as I click on “crop” it brings me back to the upload page. When I go to the upload file on my FTP I can find the pic I just uploaded.

    – When I upload a pic to my album: When I click to “Upload picture” it brings me back directly to the same page without doing anything and when I go to my upload file on my FTP I can’t find the pic I tried to upload.

    – When I send a private message: I compose the message with all the information. When I click on “send” it brings me back to the “compose” section… it’s like I never wriht one. When I go to the “Sent Message” section I don’t see any message sent…

    any idea of what is goin on?

    andij
    Member

    This worked a treat for me!

    If you need to find your “Full URL path to files” you can find your DOCUMENT_ROOT by using phpinfo(); and adding “wp-content/uploads” to the end.

    e.g:
    Store uploads in this folder “wp-content/uploads”
    Full URL path to files “/home/ACCOUNT/public_html/wp-content/uploads”

    How can I create a phpinfo.php page? Try this link:
    http://kb.mediatemple.net/questions/764/How+can+I+create+a+phpinfo.php+page%3F

    Be aware that copying the code directly from @gian-ava will copy the wrong type of single quotes as @shaista points out above.

    To check that your image is being uploaded take a look in /public_html/wp-content/uploads/group-avatars on your server

    theBestProgrammers
    Participant

    @gian-ava You are great, thanks a lot :)
    @Leonardo & @loomz: I think you both just copy paste the gian-ava code. If I’m right then remove the single quotes in code and again add by yourself with single or double quotes, that’s it.

    #77267
    cavamondo
    Participant

    The default size for activity stream thumbnails is 100px in height, and then the width is dynamic proportioned changed according to the image size of the picture your using for thumbnail. Either you have to define the image size/proportions when you initially upload a picture to the article (Do this via the “media” menu where you can define the different sizes for images to be generated when you upload them for an article. Or else you need to find a thumbnail app that will create thumbnails .. the build in feature will only scale not crop. Proportion is the issue .. keep the image ratio same on all pictures, if you wish to only use the build in image handler.

    #77055
    cavamondo
    Participant

    With CSS …
    Aply an “img” style to the div=”id” in wich the image is displayed. In the “img” class, you can define the size you wish the img to be displayed. The loop doesnt crop the image, it just scales it .. you can define the proportion and sizes in the CSS

    loomz
    Member

    I having the same problem mentioned above :(…if anyone can, plz provide some help…

    #76886

    In reply to: Crop tool not working

    Paul Wong-Gibbs
    Keymaster
    #76742
    LPH2005
    Participant

    In the meantime, you might be able to use avatars if you upload rectangular shaped images and crop at that point. At least that works on my BP installation.

    Leonardo
    Participant

    @gian-ava
    yes i get error to when i did the changes….
    Warning: Division by zero in /hsphere/local/home/mahzouni/mahzouni.com/appfactory/wp-content/plugins/buddypress/bp-core/bp-core-avatars.php on line 390

    but awatars work… :S

    #76728
    r-a-y
    Keymaster
    kippnkatie
    Member

    @gian-ava
    I pasted in your changes. My avatars work but now I am getting this error on my blog
    Warning: Division by zero in /home/bethelbc/bethelbaptistkalamazoo.com/wp-content/plugins/buddypress/bp-core/bp-core-avatars.php on line 393

    #76535

    In reply to: can’t change avatars

    Suzette
    Participant

    I had the same problem but finally got it solved. I had to do 2 things:

    1 – go into “settings>miscellaneous” and fill in the “full URL path to files” so it will be example http://yourdomainname/wp-content/uploads

    2 – requires editing the php coding in the file bp-core-avatars.php in BuddyPress. You can find this file by going into “plugins>editor”. On the right side, there is a drop down box labelled “select plug-in to edit”. Change this default selection from Asimet to BuddyPress and press “select”. The list of files beneath will change. Scroll down to “buddypress/bp-core/bp-core-avatars.php” and select it.
    The changes need to be down on lines 389 & 390, it’s down near the end of the page. (I used copy/paste in MS Frontpage editor to find the line number close to “function bp_core_avatar_upload_path() {“) You’ll be replacing the 2 lines with 3 lines. ** Use the WordPress editor to make the changes to copy/paste the lines once you find them **

    Replace:
    if ( !$path = get_option( ‘upload_path’ ) )
    $path = WP_CONTENT_DIR . ‘/uploads’;

    With:
    if ( !$path = get_option( ‘upload_path’ ) )
    $path = WP_CONTENT_DIR . ‘/uploads’;
    else $path = ABSPATH . $path;

    See this post for the solution https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/avatar-cropping-after-upload-image-and-cropper-dont-appear-fails/

    #76318

    In reply to: Avatar Upload Issues

    Mark
    Participant

    Temporary fix? Open bp-core-avatars.php and around line 288 you should see the following:

    $bp->avatar_admin->image->url = str_replace( WP_CONTENT_DIR, BP_AVATAR_URL, $bp->avatar_admin->image->dir );

    Replace it with:

    $bp->avatar_admin->image->url = str_replace( WP_CONTENT_DIR, BP_AVATAR_URL . ‘/wp-content’, $bp->avatar_admin->image->dir );

    …this is presuming you’re having issues with image uploads on an MS site where you get as far as cropping without seeing an image. If you’re on an MS site and you can’t get that far because of an unknown error, (object of class WP_Error can not…) you first need to apply changeset 2124 (https://trac.buddypress.org/changeset/2124) just to see the proper error, then back to bp-core-avatars.php and find around line 266:

    if ( getimagesize( $bp->avatar_admin->original ) > BP_AVATAR_ORIGINAL_MAX_WIDTH )
    $bp->avatar_admin->resized = wp_create_thumbnail( $bp->avatar_admin->original, BP_AVATAR_ORIGINAL_MAX_WIDTH );

    …and replace it with:

    $orig_dimensions = getimagesize( $bp->avatar_admin->original );

    /* Resize the image down to something manageable and then delete the original */
    if ( $orig_dimensions[0] > BP_AVATAR_ORIGINAL_MAX_WIDTH || $orig_dimensions[1] > BP_AVATAR_ORIGINAL_MAX_WIDTH )
    $bp->avatar_admin->resized = wp_create_thumbnail( $bp->avatar_admin->original, BP_AVATAR_ORIGINAL_MAX_WIDTH );

    This is what I’ve done to fix the problem on my install of WP 3.0 and BuddyPress 1.2.3, your mileage may vary.

    #76228

    In reply to: Avatar Upload Issues

    jay
    Participant

    Hi, im not sure if people have tried testing on different hosts with different results??

    2 hosts one works one doesn’t- its so weird, is this a godaddy problem?

    working: http://www.intelioum.com/buddypress/members/ (see there is a avatar there)

    not working: http://eyemagine.info/buddypress/

    user and pass for eyemagine(feel free to check it out): u: tester p: 123456

    you successfully sign in, it asks for you to upload a pic but later it just stalls and goes blank.

    what i noticed is that on my server the images are uploaded although the crop function ect never works.

    Would be great if someone has a fix- please let me know

    #76162

    In reply to: Avatar Upload issue

    jay
    Participant

    i have the same problem- funny thing is that i have it set up on 2 servers one works one doesnt- its so weird, is this a godaddy problem?

    working: http://www.intelioum.com/buddypress/members/ (see there is a avatar there)

    not working: http://eyemagine.info/buddypress/

    user and pass for eyemagine(feel free to check it out): u: tester p: 123456

    you successfully sign in, it asks for you to upload a pic but later it just stalls and goes blank.

    what i noticed is that on my server the images are uploaded although the crop function ect never works.

    #76111
    ARiFUR RAHMAN
    Participant

    i need help! some one help me! my user can’t upload any kind of avatars and cropping,

    ajaxmac
    Participant

    I have found a solution to my problem – but don’t know exactly why these issues arose. I shall elaborate in case anyone else has similar problems:

    I have also been experiencing problems with the themes for blogs being all messed up. Regardless of how they were activated – either globally or on a blog-by-blog basis, they never displayed properly. Possible an obscure redirect issue. At the same time I was experiencing the messaging issues for which I started this thread.

    I think that these problems cropped up sometime between:
    – upgrading from WP MU 2.9.1 > 2.9.2
    – upgrading Buddypress 1.2.x > 1.2.3
    which were both done manually AND
    – trying out a whole buch of plugins that had not been tested (or verified) to work with my versions of BP and WPMU.

    So I rolled the whole site back – files and mysql to about a month ago – before I upgraded and fucked up my database. Then copied any posts, files, members, activities etc from one database to the other…

    So the lessons I learned from the sorry mess is:
    – Backup regularly (this goes without saying)
    – don’t try out spurious plugins that may damage your install (and lead to days of head-beating-on-wall WTF? moments)

    Also – running the whole site on Amazon Web Services which gives you cheap access to ubiquitous storage (S3) at insanely low cost. So I run a script that backs up all files and mysql from the site daily and hang the GB that will accrue – because each GB cost something like $0.01 – or something….And this just saved my sanity.

    Regards

    Ajax

    #75556
    helpme1
    Participant

    doesn’t work for me

    hi i did everything
    it still didn’t work

    there were problems
    Avatar preview

    they didn’t show the preview

    and therefore There was a problem cropping your avatar, please try uploading it again.

    help

Viewing 25 results - 901 through 925 (of 1,245 total)
Skip to toolbar