Search

bbPress Showcase » bbPress Chat

set cookie same as that of wordpress and bbpress integration

RSS

Tags:


  1. suzanne
    User has not uploaded an avatar

    new member
    Joined: Jul '09
    Posts: 1

    offline

    Hi,
    I have integrated wordpress and bbpress well. The single login works on both. There isn't any problem on this. The problem is, I have another student login interface. What i need to do is, if a student is logged in to the student's section then he doesn't need to relogin to the bbpress forum again. The same username and password works for the both logins. But if the student is login to any one of these, either the student section or the forum, he need not login to the other. I'm having problem on this. Single login is not happening. I think the student's section also needs to set cookie as that of bbpress and wordpress after login. I think this is the integration of wordpress bbpress and the student application. The students section is maintained in a different file but it uses the wp_users table .I added the following lines on the top of the page.
    define('WP_USE_THEMES', false);
    require('./wp-blog-header.php');
    get_header();
    define( 'WP_AUTH_COOKIE_VERSION', 1 );
    define('WP_BB', true);

    Help!!!!!!!

    Posted 2 years ago #
  2. _ck_
    _ck_

    senior admin
    Joined: Jul '06
    Posts: 908

    offline

    It's best to ask this on bbpress.org

    Your cookies are likely out of sync and either don't have the same hash or the same path.

    Posted 2 years ago #

RSS feed for this topic

Post a reply to “set cookie same as that of wordpress and bbpress integration”

You must log in to post.

keep _ck_ coding >> donate $5 <<     Theme Switcher:
33 users online from in the past 30 minutes. 16 bots 17 guests
7,543 views today 8,426 yesterday 16,043 peak. Most at once 50 today 62 yesterday 131 peak. Visited today: Amylawrence, guava, JeffreyCasivant, wigbuy123, gdfddfs, nandao, _ck_, summerfortun
2,288 posts in 394 topics over 66 months by 430 of 2,167 members. Latest: watchessaleus, wigbuy123, JeffreyCasivant