Subscribe to the RSS feed in Google reader 
I thought long about to have a function like in other forum scripts, but these days RSS is the way how to do it.
I wrote an article about:
http://www.finalwebsites.com/forums/topic/how-to-subscribe-to-topics-from-a-bbpress-forum
What happened so far…
Okay I looked through the file. Yangers101 was on the right track. There were some extra lines in the wp-config:
$bb->cookiepath = '';
$bb->sitecookiepath = '';
I took those out.
The problem: “www.” The WPMU was configured to be on website.com/blogs (without the www.)
so all the settings needed to be without the “www.” or with. One or the other on both WPMU & BBpress.
Since his host forced the www. We had to put all the www. in the configuration. BBpress didn’t like the www. in the dashboard so he logged into his DB and manually changed it.
I don’t think this is what you want… but the code might provide some inspiration, since it also deals with subforums. 
https://bbpress.org/forums/topic/counting-forums#post-21338
Good luck!
is there a way to force bb-press to show/count “also” the number of subforums instead only the amount of topics?
(coders the following code might hurt your eyes but i’am (not yet) so skilled in php, i’m really sorry)
kinda…
<?php if ( bb_forums() ) : ?>
<table class="etcetera">
<tr>
<td>
<?php bb_forum_pad...etctera>
</td>
<td class="info">
<?php forum_topics(); ?>
</td>
</tr>
</table>
<?php else( bla() ) : ?>
<?php if ( bb_forums() ) : ?>
<table class="etcetera">
<tr>
<td>
<?php bb_forum_pad...etctera>
</td>
<td class="info">
<?php forum_subforums(); ?>
</td>
</tr>
</table>
Very impressive indeed
if that equates to anything like that number of forums, that’s pretty amazing
Okay, I’ve fixed it and it’s working at the moment! 
I forgot the settings in wp-admin/options.php for WordPress itself.
<?php bb_new_topic_link(); ?>
the code to add new.
The first one I know is in front-page.php
you have
<?php if ( $forums ) : ?>
then the Latest Discussion
then Forum
<?php endif; // bb_forums() ?>
Then Views
and the part you’re missing
<?php else : // $forums ?>
<div class="bbcrumb"><a href="<?php bb_uri(); ?>"><?php bb_option('name'); ?></a> » <?php _e('Add New Topic'); ?></div>
<?php post_form(); endif; // $forums ?>
Hmm… as far as I can work out, (at least with pretty links on) a forum link redirects to forum.php
which invokes post_form()
towards the end of the page. That’s found in functions.bb-template.php
(under bb-includes
) and as well as running the respective pre/during/post actions, it loads the post-form.php
template from the theme’s directory.
Could you post your theme’s post-form.php
here?
Hmmm, that’s interesting. I ftp’d the options-wordpress.php file down from the site and opened it in Dreamweaver. I recognize some of the comments in this as being from the “wordpress Integration settings as found in the Settings/Wordpress Integration tab of the Admin section of bbpress. This is where I set the “User Role Map”, WordPress Address (URL), Blog Address (URL), auth cookie salt, secure auth cookie salt, and logged in cookie salt.
HOWEVER, when I look into the actual options-wordpress.php file (as ftp’d down from the site) and open it up, the php code still seems to be asking for those items??? I just copied a bit of the code from that file and pasted it below. Please advise,
<table>
<tr>
<th><?php _e(‘WordPress’); ?></th>
<td></td>
<th><?php _e(‘bbPress’); ?></th>
</tr>
<tr>
<td>AUTH_KEY</td>
<td><=></td>
<td>BB_AUTH_KEY</td>
</tr>
<tr>
<td>SECURE_AUTH_KEY</td>
<td><=></td>
<td>BB_SECURE_AUTH_KEY</td>
</tr>
<tr>
<td>LOGGED_IN_KEY</td>
<td><=></td>
<td>BB_LOGGED_IN_KEY</td>
</tr>
</table>
this is a shot in the dark but JesperA move the line
define( 'SITECOOKIEPATH', '/' );
BEFORE
define('DB_NAME',
Put <?php if (get_post_position() == 1) { continue; } ?>
after the foreach ($posts as $bb_post)
line in topics.php
to stop the first post appearing in the loop.
To get the first post separately, you could use <?php $bb_post = bb_get_first_post(); bb_post_template(); ?>
or <?php $bb_post = bb_get_first_post(); ?>
and use the same functions as in post.php
in your HTML.
No idea on modifying the number of posts for the first page though
probably a plugin for that
I didn’t get the idea of remote posting in a forum. Is there any client for forums which enables the conversation without a web browser?
P.S. – I would love that
I fixed the second & third issue but I am still stuck at the first one.
Looking at the markup I found <select name="forum_id" id="forum-id"">
is being generated by bbPress codebut the same works in default theme flawlessly so this isn’t the cause. Can I have the complete lookup order for file required to generate the “Add new” page.
Is your theme installed correctly?
For example:
/bbpress/my-templates/themename/style.css
/bbpress/my-templates/themename/screenshot.png
Etc etc…
hehe, I like my plugin very much, most of all if I get a notification mail about a new spam thread and that one was already filtered by Akismet
You could use bbPages (https://bbpress.org/plugins/topic/bbpages/) for pages. You’ll probably need to edit some code yourself though if existing plugins don’t do what you want and possibly write some of your own as well. WordPress is really more geared towards this sort of thing with regards to WYSIWIG and image management, to even allow images on bbPress you need to install a plugin and BBcode is probably the closest to WYSIWYG.
I’m sure with a lot of coding, you could get bbPress to behave like a portal, but why not just use WordPress and integrated bbPress?
Blergh. No idea why they’re using the post_id() instead, but okay. Try putting this <?php if (bb_is_first(get_post_id())) : ?> style="background-color:#FFFF99;"<?php endif; ?>
after class="typo"
(no need for a space). You can change the style
to a class
or whatever obviously, but I think that should work.
yay this is somehow all greek to me, were you able to handle those instructions john?
since i’m not a kakumei user it seems to be a little tricky
so i’ve got in my topic.php…
<?php do_action('under_title', ''); ?>
<?php if ($posts) : ?>
<?php topic_pages(); ?>
<?php foreach ($posts as $bb_post) : $del_class = post_del_class(); ?>
<?php bb_post_template(); ?>
<?php endforeach; ?>
<?php topic_pages(); ?>
<?php endif; ?>
and in my post.php the following code…
<table class="content" id="fbg3" cellspacing="0" id="post-<?php post_id(); ?>">
<tr>
<td class="typo">
<?php post_text(); ?><div class="link"><?php post_edit_link(); ?><?php post_delete_link(); ?><?php post_ip_link(); ?></div>
</td>
<td class="info">
<div class="avatar"><?php post_author_avatar(); ?></div>
<div id="fbg3info">
<div id="bubble2"></div>
<a href="<?php bb_option('uri'); ?>profile.php?id=<?php post_author(); ?>"><b><?php post_author(); ?></b></a><br />
<?php printf( __('%s'), bb_get_post_time() ); ?>
</div>
</td>
</tr>
</table>
i’ll give this a shot kawauso.
thanks for now
The ID of the entire first post (including the poster’s details) would depend on your theme’s code, but in Kakumei it’d be div#position-1
. If it’s anything else, it’d be under post.php
, but you could just use Mozilla Firefox’s DOM Inspector or Google Chrome’s Inspect Element to check the ID on the page anyway.
Again in the case of Kakumei, the post itself is .threadpost
, so you could use something like <style>div#position-1 .threadpost {background-color:#FFFF99;}</style>
to change the background colour.
Hope that’s some help
The bbPress Integration plugin doesn’t make it work. It gives you instructions on what to do next.
If you have WPMU then you’ll receive four lines from the plugin
define( 'COOKIEHASH', '????????????????????????????????????' );
define( 'COOKIE_DOMAIN', '.????????????????.com' );
define( 'SITECOOKIEPATH', '/' );
define( 'COOKIEPATH', '/' );
Paste it in wp-config after <?
then do the same in bb-config without the first line.
Hi there! 
I’ve got the same problem with a website I’m working on.
I’ve tried every option posted here, but nothing seem to work.
I am working with WordPress 2.8.4 and bbPress 1.0.2.
I can log in on the bbPress and the WordPress, but the cookie integration (so people only have to log in from 1 place, logged in into both) isn’t working, they seem to get the user information from 1 table in 1 database.
I’ve verified that the keys are the same, all the keys are defined in both wp-config.php and bb-config.php, with the same keys and the same values for the salt. I even have a define(‘cookiepath’, ‘/’);, which also doesn’t seem to work. 
I also have bbPress Integration (plugin) installed in WordPress, didn’t help as well.
Anything I may have missed?
I am looking for someone to help me with WordPress and bbPress. I have developed the wordpress site as a membership site and want to include a forum. I wasted about a month or more with SMF and couldn’t get it to work properly, so today I switched to bbPress and have it working in a iframe in one of the wordpress pages. The only problem is getting the cookies and all that to work so a person logged into the membership site can go right into the forum without having to re-log in and vice-versa.
I installed the bbpress integration plugin and went through all the set up procedures numerous times to no avail. I also went through the “WordPress Integration settings” numerous times. I have compared both the WordPress config and bbpress config files to be sure the Auth_Key, Secure_Auth_Key and Logged_In_Keys were identical and they are.
I have put the – define( ‘COOKIEPATH’, ‘/members/’ ); – line in the WPconfig file as instructed, but I just put it in exactly as shown here. I’m not sure if I should replace “cookiepath” with an actual path or if the word cookiepath is what they want.
I am not a code person, but I can get along sometimes ok. sometimes not! This is a NOT day.
Would some kind soul be able to help me with this?
If not please steer me toward someone who can help.
Hey Frooyo – I think you mention output caching every change you get.
Your comments about it are the first comment on this thread…
@All
There does appear to be an option that everyone is overlooking … and that’s Output Caching.
We’ve talked about memcache, optcode caching and mysql query caching … but truly the most effective is simply perform Output Caching for non-logged in users.
In case someone is not aware, Output Caching is saving to disk the generated HTML. That way, instead of memcache where you have to make a call to the memcache server, or in mysql you’re still making the database call or in optcode caching, it’s simply pre-compliling the PHP … Output Caching is by far the fastest because it essentially just serving up pre-generated HTML straight from disk.