Skip to:
Content
Pages
Categories
Search
Top
Bottom

WordPress Integration


  • c4central
    Member

    @c4central

    Guys, I know there are umpteen million threads about this on here, and I think I have read all of them. I cannot get wordpress and bbpress to integrate for the life of me!

    I have my wordpress blog all setup, and I have bbpress setup and installed as well. I am using wordpress 2.8.4, and bbpress 1.0.2. WordPress is installed at the root (http://www.mysite.com is wordpress) and bbpress is installed at http://www.mysite.com/forums. I know how to create the page linking to the forum, and I have actually already done that.

    My problem is that when I go through the bbpress/wordpress integration, when I hit “save settings” in bbpress it logs me out, and my login no longer works. IT IS KILLING ME!

    I have tried this 6 times, and I have had another person (with more experience than me) try this twice. We both ended up with the same result.

    Is this working and I am somehow missing the fact that it’s working? Why does my bbpress login get wiped out?

    I need the most basic of step by step instructions apparently.

    Thanks in advance.

Viewing 25 replies - 1 through 25 (of 31 total)
  • There are a million factors. I’ll write somethings I found helping people on this…

    Try as per my tutorial – http://blog.ashfame.com/2009/07/integrate-bbpress-10-with-wordpress-28/

    What do ya mean by login doesn’t work?

    Use this link: https://api.wordpress.org/secret-key/1.1/salt It has 8 keys.

    NOTE: do NOT use any “www.” anywhere when entering information.

    1. Open wp-config line replace your new keys with the one from that link. (lines 55-61)

    2. Copy the same keys to bb-config just add BB_ after define(‘ in each key so it will be define('BB_AUTH_KEY', '(lines 41-44)

    3. Install & activate BBpress Intergration plugin https://wordpress.org/extend/plugins/bbpress-integration/

    4. Get the information from the plugin and put it in line 20 in wp-config and line 13 in bb-config. (if you’re using WPMU take out the HASH line when you put it in bb-config)

    5. Log into your BBpress admin section and navigate to SETTINGS -> WORDPRESS INTEGRATION enter all the information it ask for, save.

    6. Clear you cache and you should be ready to go.

    If you upgraded from a previous WP version take out define( 'WP_AUTH_COOKIE_VERSION', 1 ); because it doesn’t work on 2.8.4


    c4central
    Member

    @c4central

    ashfame – it was your tutorial that I tried so many times.

    When I say the login doesn’t work, I mean when I try to login to bbpress it says the user “admin” doesn’t exist!

    ashfame, I also sent you an email after trying your tutorial over and over, asking for help.

    gerikg, I will give that a try. I did not upgrade from an old wordpress, this is a fresh installation. I should have a few minutes to try that this afternoon.

    Once we get this up and running, maybe you guys can point me in the right direction to get the themes/header matching. Actually, that is a project for another day :-)

    I’ll post my results!


    c4central
    Member

    @c4central

    gerikg, when you say enter all the information there, do I need to enter the “advanced information”?

    The tutorial from ashfame says to do that (I think).

    Also, when you say open wp-config I assume you are talking about the php file that is installed in the root directory called wp-config.php?

    I apologize in advance for my seeming stupid. I am very intelligent and learn quickly, but I am far from a computer programmer.

    THANKS!

    wpconfig.php in the WP root. bb-config.php in bbpress root. Advance is only for people who uses two different databases.

    hey I am having troubles here too: my issue – I have generated the eight secret keys in both config files, made sure user role for user 1 is keymaster in database, using same table prefix in both config files, done the bbpress integration plugin in wp – combed the forums and thought I was following to a t all the instructions – left out www from all entered URLs – and here is what i keep running into (sixth install now):

    I can log into bbpress as keymaster, but when I try to log in to wordpress, it says: You do not have sufficient permissions to access this page.

    needless to say, i want to scream. From the above info, any thoughts on what could be throwing this off? I’m really frustrated that there seems to be no current section of bbpress documentation that thoroughly goes through, step by step, given the large amount of issues people seem to be running into with integration. thanks.

    kaz1844, did you clear you cache & cookies…


    c4central
    Member

    @c4central

    Just to make sure I am doing this right, the wordpress admin should be bbpress admin, correct? Everything else I am going to make a member of bbpress.

    I am going to try this now.

    Thanks!


    c4central
    Member

    @c4central

    Also, when you say do not use any www are you referring to when I am entering the settings into bbpress or wordpress, or just when obtaining those keys?


    c4central
    Member

    @c4central

    Also, I can only find four keys in my wp-config.php file, I cannot find any of the “salt” keys.

    Does that matter?

    hey gerikg – Yes, I’ve cleared cache/cookies with each attempt, and tried from multiple machines/browsers –

    kaz email me my user name at gmail dot com

    c4central replace the four keys with the 8 keys from this link: https://api.wordpress.org/secret-key/1.1/salt

    and I don’t understand “the wordpress admin should be bbpress admin, correct?”


    c4central
    Member

    @c4central

    gerikg, I only have four keys in my wp-config.php file. Plus, I can’t tell what line everything is on because I am using wordpad…It puts EVERYTHING on just a couple of lines. Are you telling me I should add those lines in?

    define('AUTH_KEY', 'put your unique phrase here');
    define('SECURE_AUTH_KEY', 'put your unique phrase here');
    define('LOGGED_IN_KEY', 'put your unique phrase here');
    define('NONCE_KEY', 'put your unique phrase here');

    replace those with the 8 keys

    you do the same in bb-config.php

    and add “BB_”

    define('BB_AUTH_KEY', 'put your unique phrase here');


    c4central
    Member

    @c4central

    Okay, I did that. On the bb-config do I just put in the four keys, or do I put in 8? Like wp-config it only has four to begin with.

    put all 8


    c4central
    Member

    @c4central

    Okay…I did everything…it doesn’t work.

    I cleared my cache and everything, and when I try to login to bbpress is says user “admin” does not exist.

    I can log in to wordpress just fine.

    I should also note that when I tried to execute step 4:

    4. Get the information from the plugin and put it in line 20 in wp-config and line 13 in bb-config. (if you’re using WPMU take out the HASH line when you put it in bb-config)

    that when I put the information in the bb-config file (at the bottom) I got all sorts of errors in the header of bbpress until I removed that define cookie line.

    Any help?


    c4central
    Member

    @c4central

    None of my wordpress logins can log in to bbpress.

    gerikg, are you for hire? If I give you the credentials to login and change this stuff on my site, will you do it?

    I cannot make this work, and to say it is frustrating is putting it lightly.

    email me. my user name at gmail dot com

    I am reading your email right now. You just sent me the mail yesterday buddy & I thought that you have been sending me emails and somehow I missed all of them.

    I’m struggling with a similar issue. In wp-config.php file, the lines only go through 32 and the below aren’t anywhere in there.

    define(‘AUTH_KEY’, ‘put your unique phrase here’);

    define(‘SECURE_AUTH_KEY’, ‘put your unique phrase here’);

    define(‘LOGGED_IN_KEY’, ‘put your unique phrase here’);

    define(‘NONCE_KEY’, ‘put your unique phrase here’);

    I’m trying to follow the instructions on this particular thread but I do not have lines 55-61 as suggested below.

    Open wp-config line replace your new keys with the one from that link. (lines 55-61)

    Does this mean my wordpress site is not set up for users to login?

    Where do I go from here?

    Thank you!

    @amylmc

    Just add them if they are not there


    vladimir.malyk
    Member

    @vladimirmalyk

    Cookie integration trouble.

    1. When I’m trying integrate http://127.0.0.1/wordpress and http://127.0.0.1/forum – everything works fine.

    2. But when I’m trying integrate http://www.mnenie.dp.ua and http://forum.mnenie.dp.ua – everything is bad. Login to www – causes logout forum, and login forum causes logout www.

    The only difference between configurations is define( ‘COOKIE_DOMAIN’, ‘.mnenie.dp.ua’ ); in wp-config.php.

    Any ideas?

    try adding define( 'COOKIE_DOMAIN', '.mnenie.dp.ua' ); to bb-config

Viewing 25 replies - 1 through 25 (of 31 total)
  • You must be logged in to reply to this topic.
Skip to toolbar