John James Jacoby (@johnjamesjacoby)

Forum Replies Created

Viewing 25 replies - 2,126 through 2,150 (of 2,341 total)
  • In reply to: Integration Woes

    John James Jacoby
    Keymaster

    @johnjamesjacoby

    Unless I misread this, all of your salt values are wrong. You shouldn’t need to generate your own hashes or salts, as these should be created in WordPress for you once you setup your keys.


    John James Jacoby
    Keymaster

    @johnjamesjacoby

    Out with the old, in with the new.

    If it wasn’t against the grain to open up a .9 legacy forum here specifically for supporting it, I’d say just do that and see who falls into it.

    A majority of the audience of bbPress are people that want to be on the bleeding edge of WordPress development, and be part of a growing and maturing community. As such, people will remember .9 of bbPress as much as they remember .9 of WordPress (b2evo anyone?)

    I personally think anything officially past the end of 2009 is a stretch, and is a very generous offer from Sam to not leave the early adopters on their own without patches and support.


    John James Jacoby
    Keymaster

    @johnjamesjacoby

    Woop woop!


    John James Jacoby
    Keymaster

    @johnjamesjacoby

    This is great info. Awesome work.


    John James Jacoby
    Keymaster

    @johnjamesjacoby

    With a name like grassrootspa, I figured this would make more sense. :)

    I for one hope the core of bbPress never includes that kind of thing, as it works perfectly well as it is without needing to turn a thousand features off.

    There are plugins available, and if they don’t suit your needs, newer betters ones will come in the future.

    I think what you want, is BuddyPress + bbPress.

    In reply to: bbPress 1.0 released

    John James Jacoby
    Keymaster

    @johnjamesjacoby

    WOOP WOOP!


    John James Jacoby
    Keymaster

    @johnjamesjacoby

    If it doesn’t exist, go ahead and make one. WordPress and bbPress are designed to look for that file regardless.


    John James Jacoby
    Keymaster

    @johnjamesjacoby

    ITguy, are you using deep integration? If so, I think there’s something else that needs to be done before the group forum creation will work.

    I ran into the same issue as you a few months back. Burt’s XMLRPC check would work, but forums wouldn’t get made. If memory serves me right, the XMLRPC was reincluding something that was mucking up the forum creation, but I don’t recall exactly what that is at the moment, but I banged my head against it for a week, and there’s a topic somewhere in the BuddyPress forums to prove it. :)

    I’m packing for a week long vacation tonight, and am flying all day tomorrow. I’ll have my laptop and access to all my code by Wednesday night, and will be back to help support this again. In the meantime I invite you to scour buddypress.org/forums and see if you can find any of my past replies or recent topics. Check from about April or so. Getting this figured out is important to me too, as I’ve got a series of Integration screen casts I’m going to put together and give to the *Press sites to help answer all of the questions everyone has about integration, since it is a very popular topic and many of us spend many hours developing and supporting it.

    Talk soon, and good luck until then.


    John James Jacoby
    Keymaster

    @johnjamesjacoby

    There is a possibility to do this now. Something is in the works to do this even more neatly eventually.


    John James Jacoby
    Keymaster

    @johnjamesjacoby

    Good work!


    John James Jacoby
    Keymaster

    @johnjamesjacoby

    Tis true. I usually purge the bb_capabilities and apply the role map once everything is lined up, even though it’s like rinsing the dishes and then washing them in the machine.

    ITguy, couple of things to check RE-buddypress. XML-RPC is turned on in both WP and BBP? Also, don’t forget to put

    $bb->bb_xmlrpc_allow_user_switching = true; somewhere near the end of your bb-config.php file. That will make sure that xmlrpc can switch to your keymaster user to communicate back and forth between the two installs.


    John James Jacoby
    Keymaster

    @johnjamesjacoby

    ITguy, did you remember to do the user-role mapping in your bbPress WordPress integration after you had everything all lined up? I read through your above steps twice and didn’t see it there except for in step 3 before everything was working, but I did also just wake up from a pretty epic nap. :)


    John James Jacoby
    Keymaster

    @johnjamesjacoby

    Phew! haha!

    I’ll be around if you have other problems.


    John James Jacoby
    Keymaster

    @johnjamesjacoby

    If your bbPress installation is malfunctioning (or incomplete) go ahead and delete all of those out of there, as they will only get in the way.

    Delete those entries, delete cookies, and give the install another try.

    I think this is the same issue I had, with the user_id of “0”. The other odd thing to note, is that all of those say “member” instead of “key master”.


    John James Jacoby
    Keymaster

    @johnjamesjacoby

    ITguy… How comfortable are you with phpMyAdmin? The NEXT thing to try, will be to look in your wp_usermeta table, and see if there are any “bb_” entries in there. Could be some corrupt capabilities in there that are causing headaches?

    I’ll be around for a few more hours so if you’ve got time to go back and forth I’ll keep checking back periodically.


    John James Jacoby
    Keymaster

    @johnjamesjacoby

    Here is what worked for me, on my WPMU sub-domain setup. (Sam, when you go through this, I understand that bbPress stores the salts in the DB and that they aren’t needed here, but for some reason I just feel better inside knowing I put them there the same as they are in wp-config.php :) )

    2:05pm eastern time – UPDATE: I have confirmed these settings work on both WPMU subdomain and subdirectory installs. All logins/logouts, cookie clears, posting, and admin panel access works 100%.

    WordPress MU is installed on the domain root, bbPress is installed in a SUB-DIRECTORY called “support”

    Terms

    SUB-DIRECTORY = Name of directory that bbPress is installed in
    HASH-FROM-FIREFOX = Cookie hash taken from pre-integrated login cookie
    GENERATED = String generated by WordPress key/salt generator

    bb-config.php

    // DEEP INTEGRATION AT THE VERY TOP
    // (Sam, I can see you shaking your head right now)
    if ( !defined('ABSPATH') & !defined('XMLRPC_REQUEST') & !defined('BB_IS_ADMIN')) {
    define('WP_USE_THEMES', false);
    include_once( '/absolute/path/to/domain.com/wp-blog-header.php' );
    //unset($wp_object_cache);
    header("HTTP/1.1 200 OK");
    header("Status: 200 All rosy") ;
    }

    // Typical database stuff - blah blah blah

    define('COOKIE_DOMAIN', '');
    define('COOKIEPATH', '/');
    define('COOKIEHASH', 'HASH-FROM-FIREFOX' );

    define('BB_AUTH_KEY', 'GENERATED');
    define('BB_SECURE_AUTH_KEY', 'GENERATED');
    define('BB_LOGGED_IN_KEY', 'GENERATED');
    define('BB_NONCE_KEY', 'GENERATED');
    define('BB_AUTH_SALT', 'GENERATED');
    define('BB_LOGGED_IN_SALT', 'GENERATED');
    define('BB_SECURE_AUTH_SALT', 'GENERATED');

    $bb->bb_xmlrpc_allow_user_switching = true;

    // WordPress database integration speedup
    $bb->wp_table_prefix = 'wp_';
    $bb->wordpress_mu_primary_blog_id = 1;
    $bb->user_bbdb_name = '';
    $bb->user_bbdb_user = '';
    $bb->user_bbdb_password = '';
    $bb->user_bbdb_host = '';
    $bb->user_bbdb_charset = '';
    $bb->user_bbdb_collate = '';
    $bb->custom_user_table = '';
    $bb->custom_user_meta_table = '';

    // WordPress cookie integration speedup
    $bb->wp_siteurl = 'http://domain.com'; // no trailing slash
    $bb->wp_home = 'http://domain.com'; // no trailing slash
    $bb->cookiedomain = '';
    $bb->cookiepath = '/';
    $bb->authcookie = 'wordpress_HASH-FROM-FIREFOX';
    $bb->secure_auth_cookie = 'wordpress_sec_HASH-FROM-FIREFOX';
    $bb->logged_in_cookie = 'wordpress_logged_in_HASH-FROM-FIREFOX';
    $bb->admin_cookie_path = '/SUB-DIRECTORY/bb-admin';
    $bb->core_plugins_cookie_path = '/SUB-DIRECTORY/bb-plugins';
    $bb->user_plugins_cookie_path = '/SUB-DIRECTORY/my-plugins';
    $bb->sitecookiepath = '';
    $bb->wp_admin_cookie_path = '/wp-admin';
    $bb->wp_plugins_cookie_path = '/wp-content/plugins';
    define('WP_AUTH_COOKIE_VERSION', 1);

    wp-config.php

    define('COOKIE_DOMAIN', '');
    define('COOKIEPATH', '/');
    define('COOKIEHASH', 'HASH-FROM-FIREFOX');

    define('AUTH_KEY', 'GENERATED');
    define('SECURE_AUTH_KEY', 'GENERATED');
    define('LOGGED_IN_KEY', 'GENERATED');
    define('NONCE_KEY', 'GENERATED');
    define('AUTH_SALT', 'GENERATED');
    define('LOGGED_IN_SALT', 'GENERATED');
    define('SECURE_AUTH_SALT', 'GENERATED');


    John James Jacoby
    Keymaster

    @johnjamesjacoby

    @hempsworth, I ran into this error myself, but eventually, it seemed to go away after uninstalling bbPress (delete files AND database tables starting with bb_), deleting cookies, and starting over.

    See my post in the other WPMU integration topic and see if any of those settings help you?


    John James Jacoby
    Keymaster

    @johnjamesjacoby

    The first time through, the speedup didn’t give me $bb->cookiedomain, but after adding it manually I can get them to sync up so the domains are the same, but something is still off. I’m heading to bed now but will be back in a few hours to keep at it. Sam I’ll try your suggestion also.


    John James Jacoby
    Keymaster

    @johnjamesjacoby

    Something must be up with the trunk…

    If I install bbPress in a sub folder of WordPress, what seems to happen regardless of my settings or fudges, is that the bbPress login cookie is dropped with a “Host: domain.com” and a login via WordPress drops a cookie with a “Domain: .domain.com”

    I’ve matched the URL’s, used with and without the integration speedup short-cut, deep/shallow integration, etc… Basically I’ve tried wiggling the settings back and forth, to no avail.

    I was actually going to start my integration screen casts, so I suppose this will wait until tomorrow. haha! :D

    I was able to get a WordPress login to drop cookies like “Host: domain.com” but the cookies the integration plugin drops are still “Domain: .domain.com” (If it dropped “Host: domain.com”, or if bbPress knew to look for “Domain: .domain.com” I suspect they’d work just fine.)

    Note: I swear this WAS working earlier last week, as I’ve integrated two sites successfully with login/logout working from either direction.


    John James Jacoby
    Keymaster

    @johnjamesjacoby

    <snip>

    I just realized this topic was for WP2.8, and I’m talking about WPMU2.7.1.

    In reply to: TalkPress suggestions

    John James Jacoby
    Keymaster

    @johnjamesjacoby

    I think I’ve been salivating for 10 months waiting for this. :)


    John James Jacoby
    Keymaster

    @johnjamesjacoby

    hempsworth, if your only problem is not being able to access the bbPress admin panel, then you’re experiencing the last little bits of a cookie issue. Check the paths, domains, and hash’s of your cookies, and make sure that all of them are getting dropped from both sides.


    John James Jacoby
    Keymaster

    @johnjamesjacoby

    I’m able to integrate WP2.8 and BBP1.0 without this.

    The settings put out by the Integration plugin are not REQUIREMENTS, they are RECOMMENDED. Basically automated guesses based on your wordpress/bbpress configuration. I can’t say I’ve integrated any two sites in the exact same way, as the cookie and domain setups are almost always different between installs, so it requires some trial and error to get them lined up.


    John James Jacoby
    Keymaster

    @johnjamesjacoby

    Thanks Sam. I’ve yet to try this, but I will tomorrow and will let you know how it works. I suspect probably better than I could ever do on my own. :)

    My guess, is this works if bbPress is installed in a directory off the WordPress root called “/bbpress/” ?

    Does this mean that some/all of the code above goes into the WordPress .htaccess file to prevent it from taking over, or does it go in the bbPress .htaccess file?


    John James Jacoby
    Keymaster

    @johnjamesjacoby

    Whoops… Need to remember to switch out of WordPress support mode! Totally my fault.

Viewing 25 replies - 2,126 through 2,150 (of 2,341 total)