Forums

Join
bbPress Support ForumsInstallationbbPress 1.0-alpha-4 released

Info

bbPress 1.0-alpha-4 released

  1. @ipstenu:

    No, I can assure you it was that way since beta2, since that's when I first started trying to research this whole integrating thing and noticed this issue myself. I assumed then that it was bad integration on my part, or that one of the several plug-ins or modifications I've made was causing it. Because I personally plan on avoiding that profile page all together, I skipped the error and prioritized my efforts more towards integrating logins and themes.

  2. I can confirm that I've experienced this issue as early as alpha 2 as well.

  3. Topic renaming fixed in trunk.

    Is this supposed to be fixed in the nightlies as well? I installed the latest one yesterday and the issue is still persistent.

  4. @jimgroom

    You can either define the COOKIEHASH in WPMU or define each cookie name individually in WPMU

    The COOKIEHASH is the letter jumble part of each cookie name after the last underscore.

  5. @greenshady

    Your issues with the edit form are now resolved in trunk.

    The issue with users not receiving a role on login still has to be looked at. Please make a trac ticket for it.

  6. I've sync'ed the keys/salts between bbPress and WPMU, defined COOKIE_DOMAIN ('.domain.com) and COOKIEPATH ('/') in wp-config, installed the wordpress plugin, and defined the COOKIEHASH in WPMU (wp-settings.php) based on the speed-up settings in bbPress and still no luck with cookie sharing.

    I'm running bbPress 1.0-alpha-4 and WPMU 2.7.

    Is there anything I've left out and/or overlooked?

    Thanks!

  7. @sambauers,

    That worked beautifully, many, many thanks.

  8. @gogoplata, see my reply to jimgroom two posts above yours.

  9. A quick note... A new user registered and not only do I get the error message when trying to edit their profile, the role map tool also doesn't seem to want to line his profile up.

    I think I'm going to dive into phpMyAdmin and delete the role maps all together, then see if the tool works.

    I'm guessing that because the Role Map Alignment tool doesn't overwrite existing values, that the partial values the integration are setting up aren't enough, so even though the admin tool thinks they have a role, their profile doesn't...

    I'll have more time to look into this after the weekend.

  10. @sambauers - Should I define COOKIEHASH in wp-settings or wp-config? I've seen both methods mentioned in various places and am curious if one is preferred/required? Thanks!

  11. Okay, so I deleted the entries for the members in "bb_capabilities" aside from the keymasters, and when I try to run the user role map, it doesn't actually work. I haven't tried to track this function down yet but as a suggestion I almost wonder if that role map might actually work better as a role alignment tool, overwriting the values with the new ones for all users.

    I may just make that a plug-in actually because my trouble shooting attempt may have been a bad idea haha!

  12. @sambauers
    I've added the issue to Trac:
    http://trac.bbpress.org/ticket/1016

    This is actually my first time submitting a ticket, so I hope I done everything correctly.

  13. Wow, this thread has attracted some really well-known (infamous?) WordPress people. :-)

  14. I was in need of a quickfix for the user-role problem, so I wrote a really ugly plugin for it.
    Whenever the page is shown, it checks whether or not the user is able to "write_post". If not, it sets the user role to "member".

    IMPORTANT: This means the plugin won't be usable for all of you who are in the need of setting users as 'inactive' or 'blocked'! In my case, I probably won't need 'inactive' or 'blocked' users before bbPress 1.0 is released.

    Download plugin

    Here is the code for the plugin if you would like to check it out before download. And by the way, I'm not really used to writing plugins for bbPress yet, so if I've made any really bad flaws (especially on the security-side) please sort me out.

    function inactive_to_member() {
    	$userID = bb_get_current_user_info( 'id' );
    	$user_obj = new BP_User( $userID );
    	if(!bb_current_user_can('write_post')) {
    		$user_obj->set_role('member');
    	}
    }
    add_action ('bb_head', 'inactive_to_member', 5, 0);

    I hope this might help some of you out.

  15. I've updated the plugin to cope with forums using blocked and inactive users as well.

    function inactive_to_member() {
    	$userID = bb_get_current_user_info( 'id' );
    	$user_obj = new BP_User( $userID );
    	$user = bb_get_user( bb_get_user_id( $userID ) );
    	if(empty($user->capabilities)) {
    		$user_obj->set_role('member');
    	}
    }
    add_action ('bb_head', 'inactive_to_member', 5, 0);

    The only flaw I can find with this plugin is that it won't update the user's role until the next time the user refreshes the page. I guess it could be fixed with a simple redirect/refresh in the plugin however.

  16. WordPress : 2.7
    bbPress : 1.0 Alpha 4

    Can not login user, just login admin for bbPress.

  17. I´ve done everything in my power to integrate BBpress with WP 2.7 but i wont do it, every cookie salt, cookie key, EVERYTHING in both setting files is the same and still it behaves as 2 completely different installation, this is really weard.

  18. @JesperA - what type of hosting setup are you using? PHP, MySQL, Apache versions, Windows/OSX/Linux, etc. There is something weird on some setups, for sure.

  19. @chrishajer I am using Windows Vista with Wamp (Apache 2.2.11, PHP 5..2.8, MySQL 5.1.30)., running on my own server at home.

    I am using name based virtual hosts in apache, it seems to be setup correctly because everything else is working ok.

    I´ve notised that the cookie domain in php.ini is undefined, do i have to add an value to that?

    When logging into WP and BBP each on is own i get 8 cookies, it that the number i should get?

  20. The problem with automated role mapping is now fixed in trunk.

  21. @JesperA: Have you tried to change the cookie keys from the default phrases? For instance a simple word?

    I'm not at all sure if that's the problem, but I didn't get my integration working before I changed the keys to something completely different without special chars or whitespaces. Although I might have done something else as well in the same run.

  22. This topic is closed