Why is this listed as a stylesheet in the source? It gives a 404 then includes the whole WordPress page as a stylesheet:
<link rel="stylesheet" href="http://www.audioscribbler.co.uk/oldboards/my-templates/bbpress-forum/style2.css?v=8" type="text/css" />
I don’t know if that has anything to do with it, but it’s not right.
Also, does the problem you’re describing happen with the stock template as well?
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
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(); ?>
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'") ) :
Well, that function gives the URI of the stylesheet, which will be a file, not a directory (sorry). Try this instead:
<link rel="stylesheet" href="<?php bb_active_theme_uri(); ?>css/enplus.css" type="text/css" />
You had some other errors in there too, in addition to the wrong function I gave you.
There’s lots of neat stuff in bb-includes/template-functions.php – take a look.
yes, yes. But i have a other css in my bb-templates/tpl1/css/enplus.css
how to add this? i want that it works even if i rename my theme, or if i share it.
<link rel="stylesheet" href="<?php bb_stylesheet_uri( 'css/enplus.css' ); ?>" type="text/css" />
doesn’t work.
From header.php
<link rel="stylesheet" href="<?php bb_stylesheet_uri(); ?>" type="text/css" />
<?php if ( 'rtl' == bb_get_option( 'text_direction' ) ) : ?>
<link rel="stylesheet" href="<?php bb_stylesheet_uri( 'rtl' ); ?>" type="text/css" />
bb_stylesheet_uri();
you can choose the location of the sitemap.xml file, and the name too
(see at the top of the mod)
create the .xml file and chmod 777, make a new post and see the .xml file, the sitemap is completed
for information, i use poedit 
Bye
As the title says, I’m searching for this feature. Could anybody tell me how to start? For example: If I type ==Page 1== in the text it creates a “Page 1” inside the topic.
Please
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!
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
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.)
thanks guys .. but how do you ‘make howtogeek’s code into a plugin’
where does his code go? registration-settings.php? how?
i can install swiftmailer of course, just not sure what else needs to change in current bbpress configurations
Hi,
Im trying to integrate bbPress 0.9.0.2 into my existing Login-System.
The Problem is, that I use sessions instead of cookies to send the user’s information from one page to another.
I want to be logged into bbPress when logging into the main Page of main website (not bbPress
) via session.. Is this Possible? If yes, could anybody please help me?
I’m trying to find a way to solve this problem for days..
Greetings from Germany,
reiswaffel2000
bb-ratings has this problem:
https://plugins-svn.bbpress.org/bb-ratings/tags/0.8.5/bb-ratings.php
as you can see on/around line 205
And I think you are missing the people who will say “oh, we need a plugin for just that! I can’t imagine the others! “
I have already twenty plugins activated, some of which, as memberlist, which does not change of code (or very little) and they can be integrated safely by default.
In place of a plugin, a checkbox in the options natives would be better, no?
As WordPress 2.7 perhaps we should integrate the most simple and the most popular plugins by default, no?
I thought about it to ensure the development of bbPress and enable it to compete with others. And if there is more interested users = more visitors for the sites of the plugins creators on their “donate” link lol: p
Please, think at the question^ ^ or create a “plugin integration poll” :p
Bug fixes are good. New features, too.
It really is that simple – just make HowToGeek’s code into a plugin and install swiftmailer:
https://bbpress.org/forums/topic/trick-to-fix-some-email-problems-with-08x-plugins-on-09x#post-15776
That reminds me to fix some of my plugins so they use bb_mail() instead of mail() directly.
Thanks chrishajer – that’s just what I need it. I had tried the other hidden field, expecting that to work…
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
How do I change the reg links? In my theme, here is the reg code:
<li id="meta" class="widget">
<h2><?php _e('Members') ?></h2>
<ul>
<?php wp_register(); ?>
<li><?php wp_loginout(); ?></li>
<?php wp_meta(); ?>
</ul>
</li>
What would I do to get it to redirect to the bbpress registration page?
http://bbshowcase.org/ 
Besides – there’s no point to make a theme directory if there are no themes. Not many people are doing layouts for bbPress and if they’re doing, then it’s really hard work – I know something about it as I’m making “Halloween Evening” theme for bbPress right now…
Hello,
like the theme directory of wordpress.org, it is possible to have a theme directory in bbpress.org ? 
Bye,
Fred