@johnjamesjacoby, I get the exact same problem. I cannot get a role assigned to my users at all! And it’s really frustrating. I create a user in BBPress and no role assigned in WordPress. User created in WordPress and no role assigned in BBPress. I have the exact same problem as you.
I am comparing the two right now to see if I deleted something important. Do you know which php file I should be looking in? I did not integrate the forum with WordPress and am using the latest version of bbPress (I just installed it a few days ago). The only plugins I am using is the Akismet plugin. I guess I must have deleted something although I’m not sure what!
Also, when I register a new user through WordPress as per normal, that user is still not assigned a role in bbPress. Not when they login, not when they hit the forum for the first time. Not ever.
My Steps:
- I used a Chrome browser window to register a new user through WordPress
- Logged in via WordPress
- Hit the forum
- User could not post, looks like has no role
- Logged out via WordPress
- Used FireFox to login as admin to check new user role
- No Role Assigned
- Used Chrome to login through bbPress
- Hit the forum
- User could not post, looks like has no role
- Used Firefox admin to edit Test user
- Received typical error message (noted below)
Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /forums/bb-includes/functions.bb-template.php on line 2009
Basically it looks like the exact same error message as before, with the same circumstances.
Round two using alpha 5 trunk from the SVN went exactly the same way, only this time when I logged in via bbPress, the above Warning went away, but that user is still marked as Inactive by default when they should be a Member according to the role map.
When registering through bbPress, the new user still is not assigned a Role on the WordPress side either.
Sam, can you explain to me what was supposed to be different in alpha5? Maybe I misunderstood…
I’m looking at trying this with http://www.theblog.ca/wordpress-case-insensitive-login but … yeah, can we sanitize for bbpress too?
Wow. I wish I had known that a few hours ago.
.htaccess probably just needs to be 0644 permissions (-rw-r–r–). Did you set up permalinks with rewrite rules as described here? bbPress does not write the .htaccess file in the same way that WordPress does (i.e. when you change WordPress permalink settings, it changes or creates the .htaccess file for you, with the proper rules.)
https://bbpress.org/documentation/faq/#pretty-permalinks
Update: it looks like you are installing again? This page gives a 404:
http://www.greenfitnessworld.com/bbpress/
This page shows that installation is not complete:
http://www.greenfitnessworld.com/forum/
Once your installation is complete, you’re going to want to go here to create the rules which you will paste into .htaccess: http://www.greenfitnessworld.com/forum/bb-admin/rewrite-rules.php
@Ipstenu, that’s true. But integration working or not doesn’t have any bearing on whether or not the date in the RSS feed is incorrectly formatted, does it?
WordPress themes are more closely related to bbPress themes. phpBB themes use a completely different system.
chrishajer is right. Anyway, if you want to restrict registrations on both WordPress and bbPress you need to disable new registrations on each on them since at the moment their is no option to do both at once.
You’re on bbPress stable, which isn’t capable of sharing cookies with WordPress 2.7. If you want, you can install the alpha version of bbPress, but it’s not really a good idea on a production site…
Hi,
I’ve read a bunch on the boards and tried to follow all the steps I could find, but nothing seems to have any effect. WordPress is installed in the root of http://www.tiltmonster.com. bbPress is installed in http://www.tiltmonster.com/forums.
The databases are currently integrated, so that much is good. But if you login at the forums, you are not logged in at the main site, and vice versa. I added these lines to bb-config.php:
$bb->wp_table_prefix = ‘wp_’;
$bb->wp_home = ‘www.tiltmonster.com’;
$bb->wp_siteurl = ‘www.tiltmonster.com’;
$bb->usercookie = ‘wordpressuser_1726d05b40cf2f851e025f1a862c21fa’;
$bb->passcookie = ‘wordpresspass_1726d05b40cf2f851e025f1a862c21fa’;
$bb->cookiedomain = ‘www.tiltmonster.com’;
$bb->cookiepath = ‘/’;
When I check the cookies after logging in from the forums, the value for the MD5 hash is different than above. Also, the domain shows as .www.tiltmonster.com, with that period before the www.
One thing of note: there was no secret key listed in my wp-config.php file, so I generated one and inserted it, then copied that value to bb-config.php. Could that be where I went wrong?
Thank you.
thanks sam. i’m able now to change user roles in bbpress which is great.
had to manually change user roles in wordpress from “none” to actual roles but everything else seems to be going smoothly.
changing a user’s role in bbpress doesn’t seem to effect the wordpress roles nor vise versa, (though i’m not sure this is expected yet).
also had to define the BB_NONCE_KEY to make logout work correctly (logged in via bbpress, logout via wordpress) and once it was defined it worked as expected.
either way, this is a great start. thanks again.
Would it be easier to convert a WordPress theme into a bbPress theme?
If you guys where in my shoes… which one would you pick for a windows technical support forum?
You need to use the Alpha build if you’re trying to integrate between WP 2.7 and BB.
I’m already familiar with writing plugins for WordPress but now I’m interested in writing a few plugins for bbPress. I’m trying to find a list of hooks/actions so I can get a better feel for what I have control over without altering the core files. Does such a thing exist? If not which php files should I be going through to find hooks/actions or are they all in different files?
Cheers
ok, this problem is now back, after I updated to wp 2.7 and bbpress 0.9.0.3.
now my feed doesn’t validate because of the date:
Sorry
This feed does not validate.
*
line 18, column 39: pubDate must be an RFC-822 date-time: Fr, 02 Jan 2009 10:57:20 +0000 (35 occurrences) [help]
<pubDate>Fr, 02 Jan 2009 10:57:20 +0000</pubDate></blockqoute>
and the rss widget doesn’t update again with new forum postings.
I’m already familiar with writing plugins for WordPress but now I’m interested in writing a few plugins for bbPress. I’m trying to find a list of hooks/actions so I can get a better feel for what I have control over without altering the core files. Does such a thing exist? If not which php files should I be going through to find hooks/actions or are they all in different files?
Cheers
very helpful screencast. thanks!
i’m having the same problem as maxwellfir with user roles not being assigned correctly and the error when trying to assign them.
for existing users (from wordpress) i get the error mentioned above when trying to edit that user’s role in bbpress.
for new users (signed up via bbpress) their role in wordpress is set to “none” and therefore can’t login to wordpress.
not sure if the second issue has anything to do with having registration disabled in wordpress.
thanks for any additional help with this.
1.0-Alpha-4
https://bbpress.org/download/#bbfooter
That’s an alpha version, not suitable for a production site, but that’s the version that’s compatible with WordPress 2.7. I’m not recommending you use it, but that’s the version that’s compatible.
Watch this before attempting integration:
https://bbpress.org/forums/topic/basic-integration-screencast
Yah, Google search is the best way I know to search multiple *Press sites.
I should highlight some downsides though:
* The search is not necessarily live; it’s searching Google’s version of the site, not your live site. So it’s especially important to have live Google Sitemaps on any WordPress or bbPress installs you want searched.
* You want to make sure that any subdomains do a good job of hiding pages that you don’t want searched. For example, I have MediaWiki on a subdomain… which does a bad job of hiding the editable version of each page (and other random pages too, like WhatLinksHere). I fixed that with plugins and other hacks, but it cluttered my search results for a while.
Hmm, those are the big downsides. Overall though, you can’t beat the ease of implementation of a Google custom search engine!
I am using WordPress 2.7 and wanted to know which bbpress would be compatible with it?
Here’s the result on WordPress.com’s English support forum:
41,990 total rows
Showing rows 0 - 24 (25 total, Query took 0.0024 sec)
Showing rows 0 - 24 (25 total, Query took 0.0024 sec)
Showing rows 0 - 24 (25 total, Query took 0.0024 sec)
Showing rows 0 - 24 (25 total, Query took 0.0024 sec)
Showing rows 0 - 24 (25 total, Query took 0.0024 sec)
Showing rows 0 - 24 (25 total, Query took 0.2102 sec)
Showing rows 0 - 24 (25 total, Query took 0.2062 sec)
Showing rows 0 - 24 (25 total, Query took 0.2037 sec)
Showing rows 0 - 24 (25 total, Query took 0.2031 sec)
Showing rows 0 - 24 (25 total, Query took 0.2060 sec)
Hi there!
I am sorry if someone else has already created a post on this.
I have a website (powered by wordpress) that has a bunch of how-to windows tech articles. I need to get a forum for my site users. Which one would be better? My users will need the capability of uploading files, pasting code and images. Which forum program would put less pressure on my servers and hopefully keep the running a little faster?
Thank you ahead of time for any help.