Group Mods

  • Profile picture of r-a-y
  • Profile picture of Hugo
  • Profile picture of @mercime

Support: Miscellaneous

Everything else.

BuddyPress and WordPress 3.0 (38 posts)

Started 2 years, 2 months ago by: Robert

  • Profile picture of Robert Robert said 2 years, 2 months ago:

    1- Installed Wordpress 2.9.2
    2- Upgrade to Wordpress 3.0 alpha using the Beta Testers plugin – OK
    3- Installed BuddyPress – OK
    4- Created test users and groups with custom avatars – OK
    5- Installed the multi-blogs network: Everything seems to work fine, the users are there and no data was lost with one exception: the custom avatars are missing. Tried to upload a new custom avatar but it doesn’t show on the crop screen. Checking the folders wp-content/uploads/avatars I’ve verified that all the custom avatars are still there and if you upload an image it’s stored there. It doesn’t show on screen.

  • Profile picture of Andrea_r Andrea_r said 2 years, 2 months ago:

    Which version of WP out of trunk did you use? Was it from the last 2-3 weeks?

  • Profile picture of Robert Robert said 2 years, 2 months ago:

    I’ve upgraded using the Beta Testers plugin > Bleeding edge nightlies 4 / 5 hours ago.

  • Profile picture of Andrea_r Andrea_r said 2 years, 2 months ago:

    Ah, okay. I know there were issues with this 2-3 weeks ago. I’ll see if I can go find out what’s up.

  • Profile picture of Robert Robert said 2 years, 2 months ago:

    Just made another test.
    Now I’ve installed BuddyPress after upgrading to WP 3.0 alpha.
    Same result: browse image > upload > image doesn’t show but by clicking in crop it’s uploaded to the folder. The avatar place is empty (the text “Avatar Image” is displayed).

  • Profile picture of Robert Robert said 2 years, 2 months ago:

    One more test.
    1- WordPress 2.9.2
    a) New dir at wp-content > blogs.dir
    b) Settings > Miscellaneous > Set uploads to blogs.dir and wrote the full uploads URL path

    2- BuddyPress installation
    a) Avatars didn’t show
    b) Changed line 389 of bp-core-avatars.php to:
    if ( !$path = get_option( ‘upload_path’ ) )
    $path = WP_CONTENT_DIR . ‘/blogs.dir’;
    else
    $path = ABSPATH . $path;
    c) It worked! At this point it was possible to upload, preview and crop the images.

    3-Upgrade to WP 3.0 alpha using the Beta Tester plugin > Bleeding edge nightlies
    a) The avatars have disappeared and in its place there’s the text “Avatar Image” and “Member Avatar”
    b) No preview on crop

  • Profile picture of Paul Gibbs Paul Gibbs said 2 years, 2 months ago:

    BuddyPress 1.2.2.1 isn’t built or tested for compatibility with WP 3.0-Alpha yet; I suspect it won’t until WP 3.0 gets to Beta.

  • Profile picture of Robert Robert said 2 years, 2 months ago:

    Thank you DJPaul.
    I need to upgrade from WP 2.9.2 to WPMU / WP 3.0 in an overnight action and without the risk of loosing BuddyPress data.
    That’s why the tests.

  • I don’t see a Blog option show up with latest trunk of WP 3.0 and latest trunk of BP so did BP disable the blog under current trunk?

  • Profile picture of Paul Gibbs Paul Gibbs said 2 years, 1 month ago:

    I repeat myself:

    BuddyPress 1.2.* isn’t built or tested for compatibility with WP 3.0-Alpha yet.

    That will come in BuddyPress 1.3.

  • Profile picture of techguy techguy said 2 years, 1 month ago:

    Ok, WordPress 3.0-beta is out. Just kidding. Well, I’m not kidding about it being out. I’m kidding about the compatibility being done.

    I did wonder how the merge of WordPress and MU is going to affect BuddyPress though. Seems like it should be a great thing overall, but wasn’t sure if it would cause some short term challenges for BuddyPress.

  • Profile picture of Andy Peatling Andy Peatling said 2 years, 1 month ago:

    There will be a 1.2 point release hopefully on the same day that 3.0 is released to fix any compatibility issues. 1.3 won’t be finished in time for 3.0. You can use the 1.2 branch to keep up to date with the fixes as they happen.

  • Profile picture of Robert Robert said 2 years, 1 month ago:

    I’ve installed the WP 3.0 Beta 1 and BP 1.2.3.
    Besides the avatar’s issue everything seems to work fine and I’ve noticed that everything loads faster.
    Created a child theme, blogs, users, groups, forums and a few plugins and found no major issues.
    While there isn’t a solution for the avatars I’ve changed the “mystery man” pic to something more related with the site theme and I’m launching it.
    WP 3.0 with BP 1.3 will be unbeatable.

  • Profile picture of Phlux0r Phlux0r said 2 years, 1 month ago:

    @Robert

    the avatar issue seems to come form an incorrect value for the upload_path option in wp_options for the main blog. Make sure it is set to: wp-content/blogs.dir/1/files
    Once I updated the option manually in the database, everything worked fine. Also if you have an old .htaccess file from WPMU, it needs to change to use the new ms-files.php in the rewrite rules:
    RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]

    @Andy Peatling

    I’m using WP3.0 beta-1 and BP 1.3-bleeding and things seem to work OK for the most part except the Blogs area is a bit shaky. I don’t get the My Blogs admin bar menu item.

    So the recommendation is to use BP 1.2.3? Hm, how do I downgrade? Can I just disable BP, reinstall 1.2.3 and then reactivate it?

  • Profile picture of ajohnson ajohnson said 2 years, 1 month ago:

    I am running it off a sub-folder in WP 3.0. I have been for a long time but the most recent upgrade broke my avatars. It looks as if the image uploads correctly for me, but doesn’t pull it in to crop. The path it try’s is:

    http://www.website.com/sub-folder-blog/blogs.dir/2/files/avatars/1/avatar.jpg

    when it should be

    http://www.website.com/wp-content/blogs.dir/2/files/avatars/1/avatar.jpg

    Any ideas on what I should try to change? I’ve already tried:


    if ( !$path = get_option( 'upload_path' ) )
    $path = WP_CONTENT_DIR . '/blogs.dir';
    else
    $path = ABSPATH . $path;

    Thanks!