has anyone seen a complete solution for this issue? many hosts do not allow php mail() function because it doesn’t support smtp authentication
i’ve seen several posts about swiftmailer, phpmailer alternatives, but none offer a step by step instructions?
interested in modifying files only from the latest verion bbpress-0.9.0.2.zip
also, are any of these solutions integrated with wordpress? or when you use them you lose the bbpress user = wp user integration?
any kind of complete solution would be appreciated by many
ok so what would be the best way to upgrade?
thanks in advance
Aaron
I now have a good working intgration between WordPress 2.6 and bbPress 1.0.
So… errrm… YAY!
Instead of this WordPress function:
<?php wp_register(); ?>
You would have a link to bb-login.php. Then bb-login handles the whole thing. In the login form, you would add that hidden form field to redirect then after login, as explained here.
https://bbpress.org/forums/topic/heres-a-trick-to-redirect-user-back-to-topic-after-login#post-14268
I agree on the search. It’s too “in your face now.” I think it should have been in the template files and commented out. People could uncomment it to get the functionality. We’ll never be happy. At least with it there now, people can see it, remove it or style it however they want. This is probably better than there being nothing in the template at all before. That’s typically how WordPress themes are: they have a bunch of useless cr*p in them that I just remove or comment out. It’s easier to remove or modify something that you can see than trying to figure out how to add something you don’t know exists.
Not sure yet on the bb_meta table. I haven’t looked at the DB schema yet.
Hello,
like the theme directory of wordpress.org, it is possible to have a theme directory in bbpress.org ? 
Bye,
Fred
bbPress should not tamper with your WordPress tables.
The user data is kept separate.
Ah, I guess it’s important to point out that just like bbPress 0.9 is not compatible with WordPress 2.6, it’s also that bbPress 1.0 is not comptible with WordPress 2.5
Major cookie changes.
WordPress 2.5.x <-> bbPress 0.9
WordPress 2.6.x <-> bbPress 1.0
I’m getting a funky error:
Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
I’m trying to integrate WP 2.5.1 and BB 1.0
It only started when I edited the bb_config file bbpress was working smoothly as a stand-alone… I think
You can just change the register links in the wordpress template to point to the bbpress login and registration forms… that’s easy enough (you can even copy the login form code into the template directly and it seems to work).
The problem is, how to get users back to the URL they came from after they login (by default they seem to get bounced to the forum home page instead)… any ideas?
Thanks so much for the help. You helped me spot that I had inadvertently uploaded the root’s index.php to the blog index.php folder. I had a feeling it was something simple and dumb.
If it’s this site http://famousbeats.net/ it’s 2.5.1:
<meta name="generator" content="WordPress 2.5.1" />
Turns out the main index.php WordPress template had been overwritten with a static page, and that was being served instead of templated content being served from the database. It had nothing to do with bbPress integration.
This plugin is meant as a temporarily workaround until the bug can be fixed in WordPress – it will replace “anonymous” with the user login.
Install it on the WordPress side:
<?php
/*
Plugin Name: changes anonymous to member's login if display name missing (plugin for WordPress)
*/
function no_anonymous_members($author) { // this is a WORDPRESS plugin, not bbPress
global $comment;
if (empty($comment->comment_author) && !empty($comment->user_id)) {$user=get_userdata($comment->user_id); $author=$user->user_login;}
return $author;
} add_filter('get_comment_author', 'no_anonymous_members');
if ( !function_exists('get_userdata') ) :
function get_userdata( $user_id ) {
global $wpdb;
$user_id = absint($user_id);
if ( $user_id == 0 )
return false;
$user = wp_cache_get($user_id, 'users');
if ( $user ) {
if (empty($user->display_name)) {$user->display_name=$user->user_login;}
return $user;
}
if ( !$user = $wpdb->get_row($wpdb->prepare("SELECT * FROM $wpdb->users WHERE ID = %d LIMIT 1", $user_id)) ) {
return false;
}
_fill_user($user);
if (empty($user->display_name)) {$user->display_name=$user->user_login;}
return $user;
}
endif;
?>
(The real answer of course is to insert the user_login when the comment is posted, however I cannot find a suitable hook in WordPress’s comment-template.php so I am doing it by completely replacing the get_userdata function in pluggable.php)
I guess I can create some code to fix the display name issue in existing databases. Give me a few minutes.
update: actually it’s as simple as this in phpMyAdmin:
UPDATE wp_users SET display_name=user_login WHERE display_name=''
or via a mini-plugin:
<?php
/*
Plugin Name: Fix Anonymous Members
*/
function fix_anonymous() {global $bbdb;
$bbdb->query("UPDATE $bbdb->users SET display_name=user_login WHERE display_name='' ");
} add_action('bb_init','fix_anonymous');
?>
save as _fix-anonymous.php (with leading underscore)
you only need to upload and run bbpress once with it loaded (no activation required) and then delete the plugin or it will slow down bbPress.
I am now writing a WordPress plugin to fix this without having to duplicate all the names in the table which is a horrendous waste of space.
Well we know what causes “anonymous” to show up, it’s because bbPress is not creating the display name for the user when the user registers on the bbPress side and then goes to use WordPress.
The question is, why is this suddenly happening when bbPress is supposed to create it already. This might be a question for Sam – but I hope he can reproduce the problem.
Did you add the above code to insert the display name?
I hope I didn’t lead you wrong by implying you should try 2.6 because that will be incompatible with bbPress 0.9
2.6 has compatibility with bbPress 1.0 alpha but a few plugins won’t work with the alpha yet (like bb-topic-views)
Oh and the display name persists in 1.0 alpha and is on line 487 in pluggable. I’ve filed a trac report:
https://trac.bbpress.org/ticket/922
Are you running WordPress 2.5 or 2.6 ?
I’m betting it’s 2.6 since the cookies are incompatible.
Delete your site’s cookies and you’ll be able to get into WP again.
After installing bbpress I was able to sign in to bbpress with my regular admin info but something has happened with my wordpress backend now that it does say I’m logged in but I cannot get to the admin area. Any suggestions on how I can resolve this issue without completely reinstalling both WP & BP
Hello,
like for WordPress, i think a sitemap generator is interesting for the users who wants a forum good in seo.
someone would have it plans to make a nice sitemap plugin? : p
++
Very nice integration of the theme.
I noticed you are using WordPress 2.6. If someone logs in to WordPress or bbPress, are they logged in on the other (either bbPress or WordPress)? That is the level of integration most people are looking for, in addition to theme integration, and the latest word was that integration with WordPress 2.6 does not work. How did you do it?
You don’t really need a plugin to install Google Analytics in your bbPress forum. Just paste the code from Google Analytics right before the closing </body> tag in your theme’s footer.php. No plugin required. I never understood the need for Analytics plugins for WordPress either. Editing a template file is pretty basic.
I couldn’t tell you, but I am using bbPress 0.9.0.2 and WordPress 2.5.1.
I am going to update to 2.6 and see how it goes…
Just integrated by BBPress install with my WordPress install. Thanks for the help on here too!
http://www.theenglishguy.co.uk/bbpress/
I’ve offered all I can remotely. Can you contact me (find contact details in my profile here) and I can try to help by logging in and looking around?
Thanks