Forums

Join
bbPress Support ForumsInstallationbbPress 1.0 released

Info

bbPress 1.0 released

  1. I just successfully integrated bbpress, wpmu 2.7.1 and buddypress group forums. Cookies and everything. I had given up on doing this with anything other than bbpress alpha-6. Worked like a charm right out of the box.

    I'll be damned. I take back all the grumbling and complaining and whining. I'm also canceling my enrollment in advanced particle physics classes that I thought were a previous requirement.

    Nice job to all involved!

  2. can some1 help me with cookies integration between wordpress 2.8 and bbpress 1.0 ? user logged on forum is not logged on blog.... I correctly set SECURE_AUTH_KEY, LOGGED_IN_KEY, AUTH_KEY, auth_salt, logged_in_salt....... Only thing I could n't set during integration is secure auth" cookie salt as I can't find this anywhere neither in wp-config.php nor in options.php of wordpress settings........ I have also used bbpress integration plugin for wordpress and copied the text suggested by this plugin in wp-config.php

  3. update to my above post : I finally somehow solved it myself.... Thanx to bbpress community for presenting wonderful piece of coding summarized into the poetry of bbpress forum...

  4. @vlovers , would you kindly share how you fixed it? Thanks a bunch

  5. Considering that I need to upgrade my WP 2.7.1 site into WP MU in the near future, is it worth it to upgrade to WP 2.8 already?

  6. @bb-gian
    It totally depends on your needs.
    If you need WPMU for multi-user blogs now, then upgrade.
    If you don't need multi-user blogs now, then don't upgrade.

  7. Ok, yeah… The thing is that I am running a regular WP 2.7.1 and I wanted to upgrade to 2.8.

    Now, snce I know that in a couple of monthe I'll need BuddyPress integration to my site, my question is: should I upgrade to regular 2.8 and than switch to WP MU 2.7.1 to integrate BuddyPress.

    Actually, I am confused by the fact that WP is now 2.8 while WP MU is 2.7.1, and don't know if it's a good idea to go from WP2.8 to WP MU 2.7.1.

    Otherwise, I post this here, because I got a bbPress forum up (alpha 6) with the current site, and wanted to upgrade to WP 2.8 and bbPress 1.0…

    I hope sometime soon WP, WP MU, bbPress, BuddyPress will install and work one in another in an easier way.

  8. At the moment, WP and WPMU are separately maintained. But there are plans to merge the two codebases into one, don't expect that in the next couple of months. More like next year sometime.

    So if you're planning on using BuddyPress in a few months, I would recommend getting acquainted with WPMU 2.7.1 since it works with the latest version of BuddyPress. This is just my advice, but I wouldn't upgrade to WP 2.8.

    Moving over from WP to WPMU is not that straightforward. You have to do a number of things in order to get things right.

    Since this is straying away from the original topic, create a new thread about this and others can chime in.

  9. If anyone can get WPMU 2.7.1 + BB1.0 working with:
    - SSL
    - Subdomains
    - main Blog is the root of the mu install

    Let me know because out of the box I don't think it's possible. What am I doing wrong?

  10. +1 on WPMU 2.7.1, BuddyPress 1.0.2 and bbPress 1.0.

    No issues... yet! ;)

  11. SSL? With force ssl?

  12. Sorry Jason_JM, I'm not on SSL or subdomains.

  13. Good news!!!

  14. Thanks r-a-y, thanks Jason_JM…

    I am now convinced that I need to go straight to WP MU 2.7.1 instead of upgrading to regualr WP 2.8

    The thing is that I have a running site with bbPress alpha 6 integrated and didn't figure out the best way to switch to a WP MU + BuddyPress + bbPress 1.0 configuration.

    Anyway, you're right I should make another post for it, but where? WordPressforum? bbPress forum (here)? BuddyPress forum?
    ;-)

    The biggest trouble I am having now is to figure out how can I test all thenew configuration and set up leaving the existing site running and than switch to the new congfig, when I see that everything works properly. Copy the existing into a subfolder and with anew database? Mmmh…

  15. Proposed Patch for integration plugin:

    function bbpress_integration_set_bb_cookies( $uri, $expire = false, $expiration = '', $user_id = '' )
    {
    if ( !$uri_parsed = @parse_url( $uri ) ) {
    return false;
    }

    $secure = false; //Default no auth
    if ( force_ssl_login() || force_ssl_admin() )
    {
    $secure = true; //Will create secure flagged cookies
    }
    ...

    (I'm still going through my debug)

  16. I found the bug. Trac ticket submitted. Dang hard one to find.

    I have SSL working back and forth, forth and back etc............

    Track patch + integration patch required.

    I have wasted my weekend on this one.

    - Jason Giedymin

  17. Trac Submission and patch for 2.7.1 if you demand SSL. Requires patch to integration plugin as well.
    http://trac.mu.wordpress.org/ticket/1014

  18. Also, I had to put into my bb-config.php the below so that logging in via bbpress will allow login to wpmu admin page.

    // Not defining below will not create /wp-admin cookie in current bbpress 1.0. Required for SSL.
    // Guess this could be another bug as well.
    $bb->wp_admin_cookie_path='/wp-admin';

  19. bbpress trac ticket for wp_admin_cookie_path issue when using wpmu.
    http://trac.bbpress.org/ticket/1136

  20. @Jason_JM,
    Have a question for you.
    Your SSL is for login and admin areas only right?

    I'll have to keep track of what you've done, as I'll probably want to secure the admin area as well.

    ---

    @bb-gian,
    Post in the "Installation" area here - http://bbpress.org/forums/forum/installation
    Or in the BuddyPress forums - http://buddypress.org/forums/

  21. Correct.
    In wpmu: define both force sll keys (admin an the other one I forget)
    In bbp: define force ssl login and user forms
    Make sure your not using adminssl plugin (at first?)

    Independently of each other that is how you would enable use of ssl, as long as your webserver is ready to accept and configured correctly to use https.

    It's integration where things break and you'll need three patches.

    Time for bed...Zz...
    .

  22. hi there.
    I successfully integrated wpmu 2.7.1 with bbpress 1.0. all works as its supposed to, except for some small questions/problems:

    - the forums are located here: http://zice.ro/forum/ so basically bbpress is isntalled in a folder called forum
    - the links to the forums looks weird, notice the link contains forum twice? i.e. http://zice.ro/forum/forum/pluginuri
    - I checked my .htaccess inside the forum folder: http://pastebin.com/f3b96dbc9 notice the rewrite base says: RewriteBase /forum/ I tried changing it to / but that doesn't help. What is it supposed to look like?
    - besides why do almost all rewrites inside that file have an additional forum inside? i.e. RewriteRule ^page/([0-9]+)/?$ /forum/index.php?page=$1 [L,QSA] is that automatically taken from the isntallation folder?
    - how could I get rid of that additional forum? Looks stupid :-(
    - bbpress sees all my registered users, but claims they have no role. I'd realy hate to have to manually edit all users and give them memebr privileges. shouldn't there be a way to automatically promote all existing wpmu users to bbpress members?
    - I tried the DEEP INTEGRAATION, but still, even if using <?php wp_head(); ?> inside mh header.php doesn't trigger all wordpress plugins that should be triggered when calling the wp_head - is there a way to autoamte this?

  23. @ovizii; I have the same problem with another bbPress forum I set up, which is off a sub-domain and in a folder called /forum/. Pretty permalinks don't work no matter what I do with the .htaccess rewrites (I get 404 errors). I tried removing the /forum/ from RewriteBase and putting the .htaccess file in the forum folder - no go. Also tried leaving it in, and putting the .htaccess file in the 'root' of the sub-domain - no go.

    I don't know enough about rewrite rules and what they do to fix it. The 'standard' .htaccess people have posted elsewhere works fine in another forum which is in the 'root' folder of a sub-domain, by the way. This maybe should be in another thread as it's not 1.0 related (I'm on 0.9.0.5), but any help would be appreciated.

  24. I'm suprised the cgi rewrites didn't transform these. Check your perms, do a chmod -R 777 just to see

  25. dunno if you are talking to me, but my permalink rewrites work perfect. click the demo link I gave above.
    the problem is just that I have an extra "forum" bit in the URL for forums, but after thinking about it carefully, it seems to be the same problem as with wordpress and the built-in "category" bit in category urls...

    btw. my .htaceess fiel is inside the forum folder where bbpress is installed

  26. FYI - Installing WordPressMU + BuddyPress + bbPress was a snap! Integration FTW!

  27. Speaking of .htaccess I want to express how I simply cannot disagree more with the suggestion during bbPress 1.0 install to make it writeable by bbPress.

    Opening .htaccess to writes by PHP is an INCREDIBLY bad idea security-wise.

    Never, ever, make any part of your bbPress (or WordPress) install write-able or you are just begging to be hacked sooner or later. Always use FTP and replace it yourself.

    If you are on a shared server, the vulnerability is magnified many more times.

    Directories used for caching and uploading that simply must be writable should always be "above" the web-root so that an attacker cannot easily execute files they just uploaded or modified.

    One day bbPress will have a template editor like WordPress and I will have to recommend deleting it and never chmod'ing the template directory as well.

  28. I agree. I'd like to see a recommended primer someday.

    Referencing the chmod recommendation I gave, I just wanted to make sure the user's php was actually being read. That was the 'just to see' part.

    A common problem I deal with is many people have it setup just as you say , where some user X has rw but the Php processor is running off a lesser priv base. Or sometimes the files perms are just completly a mess, like my spelling on the iPhone.

  29. perms are all ok, after installation did a chown -R group:user forum/ chmod -R 755 forum/ so that isn't the problem

  30. @Sambauers

    4 days ago you said in 24h the .pot for 1.0 would be available. It's no t here: http://svn.automattic.com/bbpress-i18n/pot/tags/1.0

    Where is it?