Skip to:
Content
Pages
Categories
Search
Top
Bottom

Impossible to upload image on ”change Avatar” and ”Album” and can’t send private message


  • nessradio
    Participant

    @nessradio

    Hi everyone!

    I’m under wordpress 2.9.2 and BuddyPress 1.2.3
    Im using Album+ and BuddyPress Template pack plugins.

    I’ve got a weird bugg: First I realise that I can’t send private message to anyone and then I realise that I can’t upload any pictures either to change my avatar or to add pics to myAlbum (album+ plugin).
    As far as I know all other actions of buddypress work find and I can upload pics from my wordpress Media uploader…

    does anyone know whats goin’ on!!!???

Viewing 15 replies - 1 through 15 (of 15 total)

  • Ryan Mendez
    Participant

    @streetball

    I have the same problem. please help.


    nessradio
    Participant

    @nessradio

    I still didn’t find any solution and it looks like nobody want to help us…
    I looked to the .htaccess file thinking that it could be the problem but I’m not sure where to look…


    nessradio
    Participant

    @nessradio

    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?

    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.


    nessradio
    Participant

    @nessradio

    Thx shaista
    I’ve done exactly what you said… it doesn’t work for me….
    Please if you got 5min log to my website and try… perhaps you will find the solution… http://www.nessradio.com/members/


    nessradio
    Participant

    @nessradio

    OOooooPppss I just tried to creat a new account on my website from scratch but I cant’… I really think it’s comming from my webhost or my htaccess file… please help me… !!!!


    nessradio
    Participant

    @nessradio

    Ok so now I know exactly what is goin on!
    I’ve got a problem with the BuddyPress Template pack plugin. When it’s activated some of the form (upload avatar, resgiter, send privat message…) doesn’t work.
    Any ideas?


    Vali Hutchison
    Participant

    @samudradaka

    Thanks for the tip Shaista,

    I followed your instructions and it worked for me. My blog is in a sub-folder. Now avatar upload and crop works ok.

    Seems a pain that we have to change the core BP code though!

    Samudradaka

    It’s a known bug which has been fixed in the upcoming 1.2.4 release.


    nessradio
    Participant

    @nessradio

    Ok I just find the solution… It’s because of my wordpress template… I had a js file which was conflict with the crop button


    Marcella
    Participant

    @marcella1981

    a little unrelated but does anyone here ever wonder why the default theme has so much js?. i understand it’s pro and progressive but really don’t think this sort of function is needed at the base theme. It’s kinda confusing because your not sure what’s core and what’s not sometimes.

    I believe it’s up to the community to serve whatever js they like.

    The default theme needs to showcase everything that BuddyPress can do. Like you point out, it’s down to individual sites to decide what BuddyPress features to use, which relates to what javascript will be required.


    Marcella
    Participant

    @marcella1981

    To me it’s more troublesome for the designers and developers to get rid of js function in a child theme that inherits everything from the default.

    As a designer / developer surely you know what can happen with progressive enhancement. P2 is a fine example of what a developer knows. I mean the new 2010 WP theme doesn’t come with js does it?

    I like to grab it, dig in, or build from scratch. Now with the default theme inheriting a whole lot more it sometimes is a pain.

    Why am i complaining this is one heck of a free meal. :p


    nessradio
    Participant

    @nessradio

    I’m totaly agree with you Marcella!
    All those imbrication of css, js and php was really a pain in the ass for me… I spend hours and hours trying to find out what was the script that was doing a conflict with my template…
    I’m sure that the buddypress team wanted to do something easy… They idea was: “just change the thing you wanna change on the default theme” but when you wanna change everything and you wanna add some functionality you realise that you are completly lost on what is doing what from where…
    @ Paul Gibbs: Im’not really agree with you… the default theme needs to showcase the basic functionality of buddypress… and juste the basic functionality… and if you want to had other functionality you can download other themes from the web…


    r-a-y
    Keymaster

    @r-a-y

    You are always welcome to create your own default theme if you’re not pleased with the packaged one that comes with BuddyPress.
    You’ll just have to spend more time creating your own theme!

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Impossible to upload image on ”change Avatar” and ”Album” and can’t send private message’ is closed to new replies.
Skip to toolbar