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.hello,
I’m working on a two column template.
in the front-page.php it’s possible to have the forum list in a table.
I’d like to have this list also in other pages, that is, for instance, in the forum.php or in the topic.php.
if I try to run this list in other pages than front-page.php I obtain this error:
Warning: Invalid argument supplied for foreach() in [my template path]forum.php on line 23(the line number is not relevant because I modified the code).
it seem that the variable $Forums in this foreach is not loaded with the needed data.
foreach ( $forums as $forum ) { ...I’ve tried to find out where it is that is loaded, so that I can load it also in forum.php etc., but I was not able to find out.
someone can tell me where it is that is loaded, and other suggestion on how to have the list of forums in all pages?
thanks.
)