That was my point exactly. It’s just in the template, like things are in WordPress. Remove them or comment them out if you don’t need them.
You can fix this if you have phpmyadmin.
Do you have it?
go into your bb_usermeta (or wp_usermeta)
and find that last administrator you made, it will look like:
bb_capabilities a:1:{s:13:"administrator";b:1;}
and just change the meta_value to
a:1:{s:9:"keymaster";b:1;},
user_id meta_key meta_value
You want WordPress for that, not bbPress.
There’s no need for that in forum software.
The search box is not hard coded in the core, it’s only in the template – it won’t be forced on other templates.
Just look in header.php
<?php login_form(); ?>
<div class="search">
<?php search_form(); ?>
</div>
The three “search” lines can be removed or just comment out this:
<?php // search_form(); ?>
Yes, 1.0 alpha is required to integrate with WordPress 2.6
bbpress 0.9 <-> WordPress 2.5.x
bbPress 1.0 <-> WordPress 2.6.x
The way I deal with fixing topicmeta is like this, though there may be other ways:
old:
if ( $topics = (array) $bbdb->get_col("SELECT topic_id FROM $bbdb->topicmeta WHERE meta_key = 'rating'") ) :
new:
if (bb_get_option('bb_db_version')>1600) {$item="object_id as topic_id"; $table="$bbdb->meta WHERE object_type='bb_topic' AND";}
else {$item="topic_id"; $table="$bbdb->topicmeta WHERE";}
if ( $topics = (array) $bbdb->get_col("SELECT $item FROM $table meta_key = 'rating'") ) :
Does the 1.0 alpha allow for integration with WordPress 2.6?
I have read all related scripts on the forum, but i cant login. I installed whole bbpress twice but still now success.
I installed the bbpress today but whenever i try to login, i receive a blank screen and i cant login. Please help me. my forum site is http://www.pimpsymbian.com/pimpforum
i have latest WP and latest bbPress. Looks like integration results in every bb registrant being automatically given ADMIN login role in WP. Role mapping doesn’t seem to make a difference. Is there really no solution to this other than recommended downgrading?
bbPress 0.9 is not compatible with WordPress 2.6. Read the first sticky thread for more information. If you cannot wait for a 1.0 release of bbPress, you might try the alpha release that was just packaged up, but I wouldn’t try it on a production site that you care about.
I did find a way to make it work. First install bbPress without WordPress integration. Next go to the bbPress settings and configure the WordPress Integration. Where it asks for the AUTH_SALT, copy the SECRET_SALT. Finally update bb-config.php with your wpmu specific defines.
I had my WordPress installed by fantastico automatically. Therefore, the AUTH_KEY, SECURE_AUTH_KEY, and LOGGED_IN_KEY were all different. When bbPress asked me for the SECRET_KEY, I put in the key for AUTH_KEY. Now, integration didn’t work. So…I removed all bbPress tables from the database and changed all the KEYS so that they are the same. I tried installed bbPress again and it still didn’t integrate users. The installation of bbPress says that integration works, but in reality, it didn’t. What do I do now?
*By the way, my wordpress is running fine and I’m not willing to unistall it or delete its database.
I’m having the same problem and haven’t been able to work around it. bbPress did successfully install without WordPress integration. So, now I’m trying to do the integration manually.
Hello,
what is the function for have the theme directory in bbpress, like <?php bloginfo(‘stylesheet_directory’); ?> for wordpress ?
Bye
843008Inactive
and how to fix it? is there any patch, please?
Well, I was having issues with my WordPress admin, so, like a clever person I created a new admin name and deleted the old. Well. Turns out that in doing so I’ve deleted my keymaster in BBPress.
I’ve seen some posts that suggest editing the tables. I’ve tried adding the code
$bb->new_keymaster = ‘AdminTwo’;
to my bb-config.php and then running install.php. But, nothing happens. So, if I must edit my database, can someone please let me know in more deatail how? (Ie: Which tables, which values, etc.)
Thank You so Much!
define(‘COOKIE_DOMAIN’, ‘.website.org’);
or
define(‘COOKIE_DOMAIN’, ‘website.org’);
I tried both of these, in addition to define(‘COOKIE_DOMAIN’, ”);
But still no luck. Any ideas?
/edit Just another bit of info, bbpress is in /bbpress, and wordpress is in /wordpress. I don’t know if it makes a difference, but I thought I would mention it.
Do you have to edit your bb-config file before uploading and visiting the url? I followed the steps and didnt see that listed on the “Quick Instructions” page.
I get the following error:
Warning: main(/homepages/0/d87087146/htdocs/bbpress/bb-includes/wp-functions.php) [function.main]: failed to open stream: No such file or directory in /homepages/0/d87087146/htdocs/bbpress/bb-settings.php on line 72
Fatal error: main() [function.require]: Failed opening required ‘/homepages/0/d87087146/htdocs/bbpress/bb-includes/wp-functions.php’ (include_path=’.:/usr/lib/php’) in /homepages/0/d87087146/htdocs/bbpress/bb-settings.php on line 72
Hi!
This is just a comment just in case it helps because I had to remove again bbpress.
I tried to integrate 1.0 Alpha with Wp following the bbpress installer and after installation finished, admin login was all messed.
First, bbpress changed my wp admin password. I re-set the old password from bbpress control panel and everything seemed to work fine again but next, whenever I tried to login in wordpress I had to log-out from bbpress.
Hope developers consider a better bbpress-wp integration for 1.0 final
BBpress told me to put this in the wp-config, and I did, but still no luck.
define(‘COOKIE_DOMAIN’, ”);
define(‘COOKIEPATH’, ‘/’);
Everyone will be recommending their hosting – for example, I’m happy with WHB on which I’m running three WP and one bbPress, not mentioning a MediaWiki script.
hi,
for the wp-config.php file in wordpress, it is:
define(‘COOKIE_DOMAIN’, ‘.website.org’);
or
define(‘COOKIE_DOMAIN’, ‘website.org’);
?
thanks 
Fred
You take all that code that howtogeek pasted and put it into a file called “replacebbmail.php” or something. To make php code into a bbPress plugin, it needs to have a header. The header needs to look something like this (change the values to something meaningful to you):
<?php
/*
Plugin Name: Swift Mailer
Plugin URI: http://www.example.com/ (doesn't really matter)
Description: Replace bb_mail with Swift Mailer
Author: You
Author URI: http://www.example.com/
Version: 0.1
*/
Then, paste the code that howtogeek showed at the end of that file. In the end, it will look something like this.
<?php
/*
Plugin Name: Swift Mailer
Plugin URI: http://www.example.com/ (doesn't really matter)
Description: Replace bb_mail with Swift Mailer
Author: You
Author URI: http://www.example.com/
Version: 0.1
*/
if ( !function_exists('bb_mail') ) {
function bb_mail($to, $subject, $content, $headers=''){
require_once('PATH_TO/Swift/lib/Swift.php');
require_once('PATH_TO/Swift/lib/Swift/Connection/Sendmail.php');
$swift =& new Swift(new Swift_Connection_Sendmail("/usr/sbin/sendmail -bs"));
$from = new Swift_Address("noreply@mysite.com","My bbPress Forums");
$message =& new Swift_Message($subject, $content);
if ($swift->send($message, $to, $from)) {return true;}
else{ echo "Message failed to send to ".$to." from ".$from;}
$swift->disconnect();
}
}
?>
The name of the file does not matter really. Save that new file in bb-plugins. Now activate your new plugin in the admin section of your bbPress site.
You will need to configure it before activating it to make sure it works (setting up the path to swift mailer and setting the auth stuff if you need to.)