(@john32)

Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • In reply to: Edit Welcome Email?

    Very informative and quick reply!

    Thanks so much for your help.

    I SOLVED IT!!!!!!!!!!!

    Since no one anywhere was giving me answers and since I’m stubborn and must solve problems, I spent yet another 10+ hours troubleshooting and I did it!!!

    Want to know the simple as hell fix?

    Well, besides including,

    define(‘COOKIE_DOMAIN’, ”);

    define(‘COOKIEPATH’, ‘/’);

    In WP Config and the following in bbPress Config, (Notice how cookie domain and cookie path are the EXACT SAME in both configs)

    // WordPress database integration speedup

    $bb->wp_table_prefix = ‘wp_’;

    $bb->user_bbdb_name = ‘changed’;

    $bb->user_bbdb_user = ‘changed’;

    $bb->user_bbdb_password = ‘changed’;

    $bb->user_bbdb_host = ‘localhost’;

    $bb->user_bbdb_charset = ‘utf8’;

    $bb->user_bbdb_collate = ”;

    $bb->custom_user_table = ‘wp_users’;

    $bb->custom_user_meta_table = ‘wp_usermeta’;

    // WordPress cookie integration speedup

    $bb->wp_siteurl = ‘same URL’;

    $bb->wp_home = ‘same URL’;

    $bb->cookiedomain = ”;

    $bb->cookiepath = ‘/’;

    $bb->authcookie = ‘wordpress_HASH’;

    $bb->secure_auth_cookie = ‘wordpress_sec_HASH’;

    $bb->logged_in_cookie = ‘wordpress_logged_in_HASH’;

    $bb->admin_cookie_path = ‘/forums/bb-admin’;

    $bb->core_plugins_cookie_path = ‘/forums/bb-plugins’;

    $bb->user_plugins_cookie_path = ‘/forums/my-plugins’;

    $bb->sitecookiepath = ‘/’;

    $bb->wp_admin_cookie_path = ‘/wp-admin’;

    $bb->wp_plugins_cookie_path = ‘/wp-content/plugins’;

    // End integration speedups

    I also did what I should have done from the start but didn’t because I am a DUMBASS,

    I copied the following from WP config,

    define(‘AUTH_KEY’, ‘randomexcrement’);

    define(‘SECURE_AUTH_KEY’, ‘randomexcrement’);

    define(‘LOGGED_IN_KEY’, ‘randomexcrement’);

    define(‘NONCE_KEY’, ‘randomexcrement’);

    AND EXACTLY AS YOU SEE IT THERE (Even the spaces in between so the WP Config and bbPress config matched even those spaces in between lines) I copied it over to bbPress Config, adding the “BB_” prefix to it,

    define(‘BB_AUTH_KEY’, ‘randomexcrement’);

    define(‘BB_SECURE_AUTH_KEY’, ‘randomexcrement’);

    define(‘BB_LOGGED_IN_KEY’, ‘randomexcrement’);

    define(‘BB_NONCE_KEY’, ‘randomexcrement’);

    Even though I looked at character for character there was something off and by copying and replacing that information I can now log into WP and it logs me in bbPress and logging out of one logs me out of the either.

    I hope this helps someone out there!!!

    As it turns out even if the blog URL for WP is the same as the site URL (WP doesn’t even list the blog URL in the database even though it shows up under WP Admin Options) you need to include it in the bbPress Integration settings. Doing set reset my cookie path from /forums/ to:

    define(‘COOKIE_DOMAIN’, ”);

    define(‘COOKIEPATH’, ‘/’);

    As it turns out, coding logic told me, that the plugin didn’t include the cookie domain sicne it was null.

    So in fact, they are exactly the same.

    That and I fixed it for full integration. :-D But that’s another thread!

    Can anyone who has successfully got both WP and bbPress to use the same cookies please post what code you used in your wpconfig and bbconfig to them to work?

    I understand there are countless thread with this information but I’ve tried different various combinations of the code to no avail.

    Thanks!!

    Does anyone have any input please?

    I took down the plugin for good.

    Thanks.

    To answer your question, all 3 of them, I am using bbPress 1.0-Alpha-6.

    Here’s something interesting. When both WP URL and bbPress URL’s match, no www, if I log into WP Admin FIRST and then try logging into bbPress, the bbPress login will refresh itself but it will not change to what you see when you log in.

    BUT…

    Once I log out of WP Admin and refresh that same forum page with the empty login and password fields?

    Just by hitting refresh once I have logged out of WP, it automatically switches the login to my logged in box with my profile link, admin link, etc.

    I’m going to try some more tweaking and see what I can come up with. :-D

    EDIT: After hitting refresh logs me into my forums, I go to my WP Admin and, even though I just logged out, it lets me into my WP Admin area. I try logging out here and get that error loop. I do what you said to do Kev, /wp-login.php?action=logout, and it asks me if I want to log out. I do logout successfully. I go back tot he forums, where I’m still logged in, REFRESH that forum page, go back to my WP Admin and AGAIN I’m logged in!

    The huge gaping problem with this is if I go to my main site and click on a post it asks me for my name and email, as if I wasn’t logged in.

    I’ll keep trying.

    2nd EDIT: I guess it would be nice to include the link to my forums.

    http://ascendanceradio.com/forums/

    Very valid point about the plugin. :-)

    I disabled it. I need to run for about another hour but will try your suggestion and report back what happens then.

    Thanks for the help!!

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