I have my wordpress and bbpress databases integrated, but cannot seem to set it up so that a user who signs up via bbpress is assigned a role on wordpress. I’ve played around with the User Role Map found in Settings – wordpress integration, but nothing seems to help. It does work the other way though – if a user signs up via wordpress, they are assigned the role in bbpress as I indicated via the role map.
Honestly, I don’t even understand how it’s supposed to work. It seems very one way. At no point does the map even ask what role I would like to assign someone in wordpress if they have a particular role in bbpress.
What I’d like to do is have everyone who signs up be given the role of Author. If this is possible, I’d really appreciate any tips on how to accomplish it. Thanks!
I’m having an installation error as well 
Warning: cannot yet handle MBCS in html_entity_decode()! in /home/content/b/r/i/xxxxxx/html/xxxxxx/support/bb-includes/wp-functions.php on line 113
chrishajer, I have no idea if RSS change between things, but y’know, it’s habit. I don’t like to spend time debugging something that’s doesn’t mesh. There are a lot of possibilities to miss-match.
And pulk, either you have bbpress 0.9.x or you have bbpress 1.0-alpha-x. The plugin is not the same as using bbPress core 1.0-alpha. In your bb-config.php, what is your BBDB_CHARSET defined as?
and I already use 1.0-alpha-4.1 of the bbPress Integration plugin.
There was a good discussion on the bbPress Google Sitemap plugins here:
https://bbpress.org/forums/topic/getting-the-forum-picked-up-by-google
This seems a great time to mention a new hidden feature in bbPress 1.0 based on a suggestion I made: “Safe Mode”
When you don’t know why something isn’t working, one quick and easy way to prove if it’s a plugin gone wrong or not is to temporarily try “Safe Mode”
The way to activate safe mode is to edit bb-config.php
and insert
$bb->safemode = true;
Then your forum will temporarily switch to the default theme (which you should never have tampered with) and disable all plugins, temporarily.
When you are done testing, remove the line from bb-config.php
This is far easier than deactivating 20+ plugins, one at a time and then having to activate them again.
When will the fix migrate to either the public “stable” or public “alpha” version, rather than remain closed to developers? I downloaded the “alpha” and the fatal error remains:
“Fatal error: Call to undefined function: backpress_get_option() in /bb-includes/backpress/functions.core.php on line 412.”
Fixed my fatal call by re-uploading backpress. THAT was weird. And I show as ‘Site Admin’, jjj.
Speaking of reintroduced, I’m logged into my forum and WordPress, but for some reason I am listed as Inactive on my posts when viewing a topic. I thought this was fixed in alpha2?
Why do I get the feeling that alpha5 was bolted on top of an outdated 1.0 version and things went cross eyed?
Personally, I would start a trac ticket. They can determine there if the issue is valid or not, and how to fix it. There have been problems with the WordPress API-generated keys in bbPress before, maybe something was reintroduced.
hello..
i already recognized that there are many posts about the problems of permalinks. but nobody have the same issue. i created htaccess and tried both modes (Multiview and manual copy from bbpress). I have no wordpress installation, but guess that is no problem. My permalinks does not work.
site url: http://bauklimatik-dresden.de/forum/
but the permalinks are like this: http://bauklimatik-dresden.de/forum/forum/climatic-data
i saw a lot of posts which have instead of forum forums? however i am not able to get it work…
thanks for any help!
Not sure if this is new since alpha5 or not, but on a fresh install the auth key seems to die when there is a quotation mark "
in the key.
Basically a WP key like
define('SECURE_AUTH_KEY', '-"r642fed3E1d>}MdGFlh@tR!QPU%/!S_6;CjO0}^>6TclyZM9mEKqEn+ <?)3 U#*X;');
Ended up like
define('BB_SECURE_AUTH_KEY', '-');
This actually messed up the installer at one point too, displaying part of the key inside an area where it wouldn’t normally.
Should I trac this Sam?
Thanks for the fix Sam.
What’s really scary is the code it replaced.
I can’t believe what I was seeing – did they really build the $table on EACH and EVERY call instead of making it static? That’s some serious non-performance thinking.
I mean just look at it, ugh:
function htmlspecialchars_decode( $str, $quote_style = ENT_COMPAT ) {
$table = array_flip( get_html_translation_table( HTML_SPECIALCHARS, $quote_style ) );
$table = array_merge( array( ''' => "'" ), $table, array( '&' => "&", '&' => "&" ) );
return strtr( $str, $table );
on EVERY call it builds $table?
Well it’s gone now so I guess that’s what counts.
I hope the error catching routine doesn’t slow things down too much.
Personally I am waiting for PHP 5.3 to finally “upgrade” from PHP 4
It won’t be worth it until then.
I have installed it this morning, it’s working fine for me now.
Thanks to sambauers,
Weird charset (MBCS) errors for PHP 4 users are now fixed in trunk.
Thanks again for the swift response. I am somewhat familiar and comfortable with phpMyAdmin and MySQL. I’m not at all familiar with the bbPress schema, though.
I regularly backup the database anyway, but I’ll certainly make a special backup just before running any manual modifications just in case.
_ck_, thanks for the query. Could I delete all the users returned by that query? I notice there’s also a table of user meta data; could I delete those based on the IDs returned by that query as well? Again, I’m not familiar with the bbPress schema, so I don’t know if there are any dependencies or foreign keys to worry about.
Okay instead of commenting it out, do this instead
error_reporting(0);
I commented-out the error_reporting line in the “stable” 0.9 download and still get this installation error:
Warning: cannot yet handle MBCS in html_entity_decode()! in /xxx/xxx/xxx/xxx/forum/bb-includes/wp-functions.php on line 113
Can someone put together a working version of bbpress for download?
Ok. I downloaded the 1.0 alpha-5. I added the include to functions.core.php. I commented out the error message statement in bb-settings.php. I get through the first step.
But at Step 2, I get this screen:
Oh Dear!
bbpress is already installed, but appears to require an upgrade.
Perhaps you meant to run the upgrade script instead?
How do I avoid this error screen?
Okay, with 1.0-a-5 trunk I get the same old inactive user when I register via WP. No errors on the page or in the log, though.
Also I got this error, which I fixed by flipping back to the old file:
Call to undefined function wp_check_invalid_utf8() in
/home/XX/public_html/forums/bb-includes/functions.wp-core.php on line 60
Almost made it all the way through.
I added the include line to the alpha 5 download and got to step 2 before this error:
Warning: cannot yet handle MBCS in html_entity_decode()! in /home3/wifirepo/public_html/wpmatrix/forum/bb-includes/backpress/functions.core.php on line 389
This is the same warning I get when trying to install 0.9.04.
To remove the warnings when using PHP 4, until Sam fixes it, go into bb-settings.php
and change the error_reporting line (line 51 in 0.9.0.4 and line 29 in 1.0a5)
old:
// Modify error reporting levels
error_reporting(E_ALL ^ E_NOTICE);
new:
error_reporting(0);