Search Results for 'code'
-
Search Results
-
Hopefully you folks can help me. I have a few questions about integration and bbPress. What I have right now is a custom built populated member database with passwords, usernames, emails, etc.
What I would like to do is get bbPress to “hook” into this database instead of having to have two member/user tables to keep synchronized. Is there a certain way you’d go about doing this, that perhaps isn’t too messy? Or will it require rewriting a lot of code?
I’ve found a lot of WordPress integration help here, but really not much on integrating with other types of websites (aside from template editing). So any help would be great, even if you just give me a little push in the right direction. Thanks.
Hi,
I don’t mean to post twice, but I realized that I replied this to a thread that had already been resolved.. so I am posting a new topic.
I am trying to integrate bbpress(0.8.3.1) with wordpress mu (1.3.3), and I am having some issues with cookies for login/logout.
I’ve tried setting this: (“MD5hash” replaced with my MD5)
$bb->usercookie = 'wordpressuser_MD5hash';
$bb->passcookie = 'wordpresspass_MD5hash';However, that didn’t seem to allow single sign-on login(meaning, if I am log into wp, go to bbpress and find myself already logged and vice versa)
Watching the cookies during the login/out process on WP MU, I found that the cookie names that WP MU uses are: “wordpresspass” and “wordpressuser”
So in config.php for bbpress, I used:
$bb->usercookie = 'wordpressuser';
$bb->passcookie = 'wordpresspass';This works somewhat, let me explain:
This scenario works:
Log into WPMU, refresh bbpress page, I find myself already logged into bbpress.
Log out of WPMU, refresh bbpress page, I find myself logged out of bbpress.
Log into BBpress, refresh WPMU, I find myself logged into WPMU
This doesn’t work:
Log into BBpress, refresh WPMU (I find myself logged into WPMU) AND THEN when I try to log out from WPMU, I can’t log out.
I refresh BBpress page, and I am not logged out either.
If I log out from BBpress at this point, then I am logged out of WPMU as well.
I have a feeling it might be something with WPMU, but I thought I’d post here first since this is where I found all the information about the integration. Thanks for your help. I am appending my config.php relevant to the integration part.
$bb->wp_table_prefix = 'wp_';
$bb->wp_home = 'http://achillesblog.com';
$bb->wp_siteurl = 'http://achillesblog.com';
$bb->usercookie = 'wordpressuser';
$bb->passcookie = 'wordpresspass';
$bb->cookiepath = '/';thanks for your help.
My name is Göran but when I test bbPress and use my name as username I am called Gran and when I try to use G
öran to get around the problem I get Goumlran as my name. How can I solve this? I want users to be able to use their real names including all Swedish letters.
please help me!
)