@iservers
Well, that’s different… 
But I just realised you are using bbPress 0.9 – the bb_mail() function has been replaced in 1.0-alpha with one more like wp_mail() in WordPress.
It was replaced in part because people had problems sending from Windows environments. You have probably just pinpointed the cause of that. Just a few months too late unfortunately!
For now I would just hack the core of 0.9 if I were you – it is unlikely to see any more updates. The replacement function in 1.0 should take care of this, although I would appreciate it if you could test 1.0-alpha for the same problem if you have some time.
@johnjamesjacoby
I suspect that user just never visited the bbPress portion of your site.
There are four ways a user will get their role set in bbPress once the role map is setup:
- If they register through bbPress (will also give them a role in WordPress)
- If they register through WordPress, then visit bbPress whilst logged in
- If they register through WordPress, then logout, then log back in through bbPress at some stage
- If they register through WordPress, then an admin re-saves the role mapping in bbPress
GoDaddy is massive and would have thousands of support staff, probably outsourced.
There is far too much competition in the hosting world to stay with such a provider, find yourself someone better and smaller that actually cares about losing a customer and doesn’t put 1000’s of clients per box.
My best advise would be to get someone with cpanel because it far easier for the host and far easier for you and makes the account extremely portable between other cpanel hosts. I can literally move an entire account between servers in 1 or 2 minutes flat, all settings, mysql, email, dns, structure, etc. preserved exactly (and you don’t even need to know linux).
Avoid the really big hosts, avoid the really little hosts.
If you can afford it, get a VPS so you have much more control but don’t get a small, underpowered VPS which can be worse than shared hosting.
Do not get a host that uses NFS (networked file storage) like Dreamhost because that makes file intensive programs like WordPress/bbPress slow. GoDaddy probably uses NFS too but I am not positive about that.
Quick summary:
- get a host with cpanel
- make sure the host does not use NFS
- make sure the host does not run PHP in safemode
- only get a VPS if it’s reasonable size/performance,
as small VPS are worse than quality shared hosting
added: one more tip for choosing a hosting provider – if they use the word “unlimited” in any of their advertising, find another provider.
Hey Sam, when registering through WordPress, did you mention that your WP Integration plug-in would adjust the role in bbPress somehow also? I have a new user that registered through WP and while I’m not sure if they’ve ever logged in or not, they do not have a role set in the BBP side. I could manually map them…
What would help you in this situation? Would you like me to dump the meta data for that user along with their respective user table entry?
Isn’t this what the role mapping in the bbPress Admin panel WordPress Integration page is for? It should map the existing users as you specify according to their preexisting WordPress roles.
You’ve stumbled onto one of the great mysteries of bbPress and WordPress working together: integration. It’s a work in progress.
I am useing wordpress 2.7 with the beta of bbpress on my site http://s7icky.com and the forums are http://s7icky.com/forums/
I cant figure out how let let the people who are already registered post new stuff in my forums… Any ideas
Hi!
I have an old issue with bbpress-wppress integration that I can’t solve.
I use this wp-plugin to sanitize user names;
Insensitive
What this plugin does is that whenever a user registered as “Joe” tries to log in as “joe”, “jOe”… can login.
However bbpress is not compatible with this plugin, when activited bbpress reports this error;
Catchable fatal error: Object of class stdClass could not be converted to string in
wampwwwwordpresswp-includesformatting.php on line 453
In formatting.php line 453 obviously we have wordpress function sanitize_user and it seems bbpress doesn’t like to have this function modified.
I just wanted to ask if anybody knows another way to sanitize usernames because it is a pain to have all the time people complainig that they can log in because they registered as “Joe” and try to access with “joe”
Hi!
I’m giving a try to a deep integration. I want to load bbpress in my wordpress theme so I have a modified bbpress kamukei where I load wp header, sidebar and footer.
I installed bbpress 1.04a, I activated the new plugin, edited wp-config.php as plugin required, I founded that all this still didn’t load wp header and I modified bbpress bb-config.php with;
define('WP_BB', true);
if ( !defined('DB_NAME') ) {
require_once( dirname(__FILE__) . '/../wp-config.php');
}
Now, it seems everything works ok; bbpress loads wp-header, I have access to bbpress control panel, both, admin and users can post, I can log out… I’m going to keep my beta-testing and I’ll further report but I think Sam did it
so CONGRATULATIONS.
I’m not sure that I’ll want to load bbpress functions into wordpress so far because what I need is all the contrary; to load wordpress into bbpress so I can have a very simple and integrated forum. However, having the bbpress control panel integrated into the wordpress panel would be great.
The idea of bbpress as a plugin is very nice but Sam is totally right when he stated that we have a stronger foundation as a stand alone. Perhaps that little plugin as a “bridge” is the way to go.
Because bb-rating has display on post(I saw from wordpress.org plugin page). But wp-postrating, I don’t know how to display star pics(just display star can’t give score.), cause I want rating star show index page that visitor can see but can’t give score.
ok, I would try wp-postrating again.
Okay, I made a ‘double’ cookie by doing this: $bb->sitecookiepath = '/blog/';
but it still won’t let me be logged into BOTH at once. Grr. I can be logged into WP and WPAdmin, or BB and BBAdmin and WPAdmin, but never BB and WP 
If I don’t modify the bb-config file, I can’t log in at all to bbPress. Am I the only one who has WordPress loaded in a subdirectory, with the index kicking back to the main root? That’s about the only thing I have left to try and I really don’t want to screw up my permalinks.
Of possible relevance, the logged_in cookie never gets removed from my cookie jar on Firefox when I log out of bbPress OR WordPress.
Edit: Or maybe I’m just a frackin’ idiot.
I repasted in the Auth Keys and now it’s working… Dude. I keep telling people at work that the average IQ drops 50 points between Thanksgiving and New Years (which is how I explain people making boneheaded mistakes). The new guy asked ‘Does that mean us to?’ and I said “Of course! Watch, you’ll make the stupidest, most obvious screw up in your life in a week or so.” Today was mine, apparently.
I’m going to hang my head in shame.
configure the WordPress plugin and also follow it’s instructions to modify the wp-config.php file in WordPress.
Did that.
Further to this, you should clear out any manual settings you have made to bb-config.php in bbPress and re-check your settings in the “WordPress integration” page in bbPress admin.
Did that.
Then clear all your cookies and retest.
Did that (went in to Firefox’s cookies and after logging out, whacked everything from my domain).
Result: Login is not shared as I think it should be.
If I login on bbPress I can get into my WordPress admin area, but I do not show up as logged in on the WordPress ‘regular’ side. If I go to comment, it says I’m not logged in.
Also, if I have this line in, I can’t log in to both at the same time:
$bb->logged_in_cookie = 'wordpress_logged_in_<long string>';
I think clearly something’s wrong on my end, but damned if I can sort out what!
EDIT!
I watched my cookies as I logged into bbPress after being logged into WordPress.
WordPress makes two entries for wordpress_logged_in_<long string>
! Both have ‘Domain’ of .domain.net
, and then path of /
and /blog/
bbPress has one entry and it has Host of domain.net
(no leading . ) and path of /
I fixed the host/domain part by setting $bb->cookiedomain = '.domain.net';
but I’m pretty convinced this double existence of the logged_in cookie is what’s screwing me up.
Are you trying to use bbRatings with WordPress? Why?
What you thing about https://wordpress.org/extend/plugins/wp-postratings/
I’d rather not fork bbPress to create a plugin version but I would be interested in seeing a plugin created for WordPress that basically loaded bbPress into WordPress for you. johnjames is right about having to keep our integration options open beyond a simple plugin.
Also, perhaps you missed the announcements about full integration returning in the recent alpha versions?
I justed upload bb-rating folder to wordpress site, WordPress Plugin can activated.
But I don’t know how to use it or the plugin can’t working.
@David:
I’ve thought about this, and tossed it around in my mind for the past few weeks. I think that for us right now, it would make sense to do things this way, since we’re only really familiar with WordPress, and then bbPress. There are a few other products that Automattic has, such as WordPress MU, BuddyPress, and BackPress, that also will need to have a way to integrate around each other and any random installation combination of them.
With that being said, from a bbPress users perspective, it might almost make more sense to have WordPress MU be a plug-in for bbPress, giving each individual user their own WordPress type blog. This would use bbPress as the core installation, and include another application inside itself.
You can see that with so many products and possibilities, the fact that Sam has enlightened us with a working bbPress/WordPress dedicated integration solution using bbp1.0alpha4 is pretty awesome.
I’m going to do my best to make a plug-in like you’ve mentioned, to add a bbPress menu in the WordPress admin panel, and allow editing of the bbPress settings. I think that again, right now, a majority of the bbPress audience is going to lean towards that as a next logical step. Eventually however, BuddyPress and BackPress will probably be the future for all of us.
Your points are valid, and I think many of us here feel the same, just rest assured that the devs are listening and busting their butts to make things work together the best way they can.
I LOVE bbpress…..
I LOVE wordpress…..
but…
I am really disappointed that bbpress integration with wordpress was broken at wordpress version 2.6 and has yet to be put back into bbpress.
In fact, bbpress intigration with wordpress wont be back until bbpress version 1.0 which is not due for some time.
http://bbpress.org/forums/topic/wordpress-and-bbpress-integration-101
on one of my websites:
http://lifelightcam.com/bbpress/
i currently run the 1.0-alpha, because i need wordpress 2.7.
I don’t know about everyone else, but I am extremely disappointed that wordpress and bbpress are from the same company (Automattic), but they are not joined at the hip like I thought, they are more like completely independent and might as well not be made from the same company.
bbpress is an excellent product on its own, but the integration with wordpress is simply embarrassing.
So, this what I think should be done:
Create 2 versions of bbpress.
1) a standalone version already in existance
2) a wordpress plugin (installed from within wordpress) that has the same functionality as bbpress. The bbpress admin would reside within wordpress itself. This would make bbpress instantly integrated with wordpress.
Having 2 versions would increase the number of users of bbpress and make it a lot easier and simpler for non-technical users to integrate bbpress with wordpress.
Please consider this. If you have any questions, please feel free to ask.
peace
I am getting this too… wordpress 2.7 & bb press 1.0 alpha 4
@sambauers
I checked all my settings again and it looked like I did not put in my define(‘LOGGED_IN_KEY’, on bbconfig.php. That is now fixed and running smoothly.
Haven’t found problems logging in/out either bbpress or wordpress. Thanks sam.
Question: what is define(‘BB_NONCE_KEY’, ”); on the bb-config file? It is currently empty and don’t remember having it on 1.0a2.
@johnjamesjacoby
In your wp-config.php file, right after you include bbPress you should probably clear out all filters and actions so that nothing in bbPress alters WordPress unexpectedly. Use this code right after the include to do that:
// Remove filters and action that have been set by the included bbPress
if ( defined( 'BB_PATH' ) ) {
$wp_filter = array();
$wp_actions = array();
$merged_filters = array();
$wp_current_filter = array();
}
On a side note Sam…
I’d like to try to head the project to include the bbPress administration area into the WordPress admin area as a plugin… It sounds like a major task, but I really don’t think it will be that hard since all of the functions are written for me already…
I noticed that you tucked your plugin under the WP Settings menu, which is where I think it belongs for now. However, once integration becomes more popular, I suspect users may want a centralized administration panel, possibly requiring a separate WP root menu for bbPress related settings.
I know I’m thinking light years ahead here, but perhaps starting to think about an integration standard now before we get too far into things might not be a bad idea?
People having issues with cookies etc need to remember to configure the WordPress plugin and also follow it’s instructions to modify the wp-config.php file in WordPress.
Further to this, you should clear out any manual settings you have made to bb-config.php in bbPress and re-check your settings in the “WordPress integration” page in bbPress admin.
Then clear all your cookies and retest.
Using deep integration inside the bb-config.php, I’ve been able to include all of the WP functions normally included in the WP/header.php file successfully. This has allowed me to replace the bbPress login/registration with the WordPress one and actually use the WP login/logout function from within BBP.
So far Sam, I am calling this a huge success.
Sam…
Logged in as KeyMaster, using the BBP1.0alpha4 (non trunk) and using the BBP Integration plugin for WP (trunk) I can confirm that all cookies, logins, logouts, and admin panels appear to be working from every direction.
WordPress installed in “ROOT/” directory.
bbPress installed in “ROOT/forums/” directory.
Pat yourself on the back soldier, we have lift-off.
Once I am comfortable with my findings and can test this more thoroughly I’ll write a detailed how-to integrate topic ASAP.
Side note: It also all appears to still work even with deep integration in the bb-config.php file. Still testing so stay tuned with that.