just showing my gratitude!
Because the documentation is so.. not existent.. you were really nice in helping me out on this one 
I have another question though…
Now it wont detect my login on bbpress, when Im connected already to WP.
I changed the wp security keys in WP, and put the same auth/secure/logged_in/nonce key from wp config inside bbpress config file.
I also added define(‘COOKIE_DOMAIN’, ‘.mydomain.com’); but it’s still not detecting that i already logged in from wp.
When i try to access bb-admin, I fill in user and pass from wp, but i get redirected to the forum homepage.
Maybe the auth keys (salt or else?) must be reconfigured in the db as well (because i changed the wp ones in this new server) ?
I actually love you 
Whoa.
this kind of info should be set in the config file
As far as I know you can define USER_BBDB_NAME, USER_BBDB_USER, USER_BBDB_PASSWORD, and USER_BBDB_HOST in bb-config.php but I don’t know if it is the right way of doing things. There is no documentation.
I actually love you 
Thank you so much, I missed exactly this information!
One little suggestion for the next BBpress release… this kind of info should be set in the config file, like everything else… users should not wander around in the database
So, it needs to be a subforum so it shows up in your list of forums, but when they click it, they don’t get a forum, they get redirected to a WordPress page?
You could do it with a 301 (permanent) redirection your .htaccess. You would just redirect the old (subforum) URL to the new (WordPress) URL.
The format would look something like this (assuming pretty permalinks):
Redirect 301 /forums/forum/subforum-name/ http://www.example.com/your-wordpress-page-slug/
The first part is relative (just the stuff after the domain name) , and the second part is a full URL. If you get a white screen after adding that to your .htaccess, it means the syntax is wrong and you have to redo it.
forum_description(array( 'before' => ' '));
they each had one separate db
I didn’t know this. Open phpmyadmin and check table bb_meta:
user_bbdb_name
user_bbdb_user
user_bbdb_password
user_bbdb_host
put on the new values.
Are the settings:
define( 'BBDB_NAME', 'bbpress' );
define( 'BBDB_USER', 'username' );
define( 'BBDB_PASSWORD', 'password' );
define( 'BBDB_HOST', 'localhost' );
equal to WordPress counterparts?
Oper hidden-forums.php. Line 29:
$hidden_forums['label']="This is a hidden forum ";
I just noticed that actually 
Back to the drawing board…
I literally just replaced every file on the server except the config file. I checked both themes: kakumei and kakumei blue. And it’s still gone.
No plugins are active or even on the server except Askimet, Bozo Users and Hello Louis all of which are disabled. Is there another version of bbpress I can use?
Hello,
I recently moved a WP site + BBpress to another host (but im using the same domain), so I set up whole new DB for each, and imported the old DBs.
WP is working fine, I just had to edit the wp-config file and it connected perfectly to the new db (with the old data imported).
The problem is BBpress now. I thought that just editing the DB info in the bb-config file with the new DB would have been enough, but it’s now giving me this: ERROR: Could not establish a database connection
But I know that everything is correct! (i use a plugin on WP that retrieves all the topic from BBpress and it is retrieving everything from the new BBpress DB).
I wonder if there’s more I should edit? but where?
Could the problem be that WP and BBpress were integrated? Where can I change the WP integration info for BBpress? Maybe BBpress is trying to find the old WP db info on the old server?
Help please
To go deeper into that code a code that does “forumS” for more than one and “forum” for just one?
$tf = get_total_forums();
printf(__ngettext('Viewing %d forum', 'Viewing %d forums', $tf), $tf);
functions.bb-statistics.php isn’t automatically included. The statistics.php file (https://trac.bbpress.org/browser/tags/1.0.2/statistics.php#L5) does include that file as well.
Can someone simplify this code?
1. to show only the parent forums
BTW the code you have does work in front-page.php but does not in forum.php
Thanks! that works great. To go deeper into that code a code that does “forumS” for more than one and “forum” for just one?
<?php
require_once( BB_PATH . BB_INC . 'functions.bb-statistics.php' );
echo '<p>Viewing ', get_total_forums(), 'forums</p>';
?>
You put on the “jQuery please” tag?
Your code is much cleaner for my use.
I check a WP theme and I’m assuming it’s something like this…
<?php if (is_page()) { $highlight = "forum-link"; } else {$highlight = "current"; } ?>
<?php foreach ( $forums as $forum ) : ?>
<a class="<?php echo $highlight; ?>" href="<?php forum_link( $forum->forum_id ); ?>"><?php forum_name( $forum->forum_id ); ?></a>
<?php endforeach; ?>
but it’s not is_page(), it’s something else.
Okay I will have on my header the Forum Names as “Pages”
Installation – Troubleshooting – Themes – Plugins – etc
When I’m on the Troubleshooting page (https://bbpress.org/forums/forum/troubleshooting) the class of trouble shooting will be “selected”.
<li><a href="https://bbpress.org/forums/forum/installation">Installation</a></li>
<li><a href="https://bbpress.org/forums/forum/troubleshooting" class="selected">Trouble Shooting</a></li>
make sense?
Check this micro-plugin. It loads jquery in every page.
<?php
/*
Plugin Name: jQuery please
Plugin URI: http://www.the.url.com
Description: I really need jQuery
Version: 1.0
Author: Me
Author URI: http://www.the.url.com
*/
add_action('bb_init', 'jquery_please_initialize');
add_action('bb_head', 'jquery_please_js', 100);
function jquery_please_initialize()
{
bb_enqueue_script('jquery');
}
function jquery_please_js()
{ ?>
<script type="text/javascript">//<![CDATA[
// Your script goes here
//]]></script>
<?php
}
?>
if I delete a topic, then go back to the topic via the admin panel in order to ‘undelete’ the topic, it doesn’t work.
On clicking ‘undelete entire topic’ I am forwarded to a blank screen at a url in this format (had to break it up to fit on the page):
/bbpress/bb-admin/delete-topic.php?
id=2090&view=all&_wp_http_referer=/bbpress/topic.php
%3Fid%3D2090%26view%3Dall&_wpnonce=be30703be1
this is the case with no plugins installed and default template. Any ideas? I couldn’t find this issue anywhere on the forums already.
<p>Viewing <?php echo get_total_forums() ?> forums</p>
Hi, I’m making a navigation and was looking for help with highlighting the links, depending what page/forum you are on.
I have a homepage nav link like:
<a href="/forum">Mainpage</a>
how can I add class=”current” and highlight the link when on the mainpage?
I also run a list of the forums in a similar style
<?php foreach ( $forums as $forum ) : ?>
<a class="forum-link" href="<?php forum_link( $forum->forum_id ); ?>"><?php forum_name( $forum->forum_id ); ?></a>
<?php endforeach; ?>
Is there a way to add class=”current” depending on what forum the user is browsing?
I know this can be done on wordpress, but I dont know the functions for bbpress yet, and good info is far and wide.
found it! there was a single space after the final ?> in the main quote.php file – damn!!