LOL I beat you to it.
Decided to try one file at a time and see what would happen.. and waddya know it started working! Then I just dropped EVERY file from the bbp 2010 theme, that didn’t already exist in Profits Theme, into the PT theme folder and voila – my forum is back & working beautifully.
I am absolutely shocked it was this easy! 
Thanks for the insanely fast response, and keep up the great work… I’m a huge fan of the bbP plugin already and will definitely help spread the word about it however I can!
Jonathan
Hi Jonathan,
The bbPress plugin is still in development, and as such there isn’t a lot of documentation out in the world yet. This is partly due to some architectural changes made mid-way through development, and partly due to more time being spent in the code and not enough time spent on the bbPress.org site. That will eventually shift, and we’ll be sure to put up documentation that bbPress has needed all along.
Regarding Profits Theme, you have a few options. I think the safest will be to make a copy of your Profits Theme that you can modify yourself, without fear of any changes being lost in the event the theme is updated. (You’ll want to edit the style.css and rename your copy, so it doesn’t conflict with the original.) Then, copy the “/bbpress” folder from bbp-twentyten, and drop it in your theme. Next, copy the files prefixed with “page-” and “single-” and drop those into your theme as well. That should fix most of the missing file issues, and get you started so things are ‘functioning.’ The last thing will be for you to start hacking at your CSS to make things look the part.
Most themes should already come with a decent amount of table styling, which is what the bbp-twentyten theme uses (for the sake of being easy and that the layout of data is indeed tabular in nature.) To fill in the CSS blanks, you’l want to experiment with “/bbp-twentyten/css/bbpress.css” and see what you’re missing and what fits.
Cheers, and thanks for the kudos
Hi all… I hope this is the right place for this and that there are some resources you can share.
I’ve just discovered bbP, and ever better the bbP plugin, and am absolutely thrilled with how well it works. Seriously, AWESOME job to all involved!!
My issue now is that I’m building my site around a sophisticated theme called Profits Theme (http://profitstheme.com/demo/ for a bare-bones live demo of it). Of course this theme doesn’t know about bbP at all.
I dropped a copy of the theme into the bbP themes directory and lo & behold, it does in fact see it! But of course the various hooks are missing to actually make bbP appear inside the theme.
So in short (too late
I’m looking for information on how to incorporate bbP inside an existing theme. I’m considering doing a diff on stock twenty-ten vs. bbp-twenty-ten to try and figure it out on my own but I’m hoping there are some good resources on what’s needed to make bbP work in a theme. Googling hasn’t turned up a whole lot, mostly just stuff about standalone bbP and I’m not sure how well that applies to bbP the plugin.
Thanks all!
Jonathan
Thanks JJJ! 
Yes, it wasn’t covering the new branch (bbPress as WP plugin). Only trunk.
Thanks JJJ! 
Yes, it wasn’t covering the new branch (bbPress as WP plugin). Only trunk.
Hi all,
I have a problem
What’s new? 
My scenario:
I installed Theme switcher plugin and it works fine.
I use it to switch between two themes (these are both different language versions of the same theme).
Still, this works fine. Thing is, some of descriptions are hardcoded in core files (like titles of post form for example). Other titles, I can modify in template files, but functions.bb-template.php is shared.
I could find a way around this by using a condition (in core files) like:
if (current theme is A) {
do stuff
}
elseif (current theme is
{
do other stuff
}
Thing is I’m not sure how to check which theme is currently active. Theme Switcher plugin uses ?bbtheme= at the end of URL to load different theme – so as I suppose this is some variable stored in cache or something and there must be a way to check what it currently is. I’m not a coder though, so any help would be highly appriciated!
I want to create a new bbpress topic loop file which only displays the recent 3 posts.
I tried placing query_posts before the main bbPress loop:
custom-loop-bbpress_topics:
<?php query_posts('posts_per_page=3'); ?>
<?php while ( bbp_topics() ) : bbp_the_topic(); ?>
But the page just loads indefinitely.
Any suggestions?
Oh man, your plugin is so much better. Nice job.. guess I’ll just remove mine again
Oh man, your plugin is so much better. Nice job.. guess I’ll just remove mine again
Oh wow, guess I’ve not been looking well enough. Thanks though, I’ll give yours a try 
At least I learned a lot from developing the plugin so it’s not entirely wasted time
Oh wow, guess I’ve not been looking well enough. Thanks though, I’ll give yours a try 
At least I learned a lot from developing the plugin so it’s not entirely wasted time
what exactly you want to put code please send it to me i will tell you what you have to put.
Ryan Gannon:
Yes, bbp_get_topic_content and bbp_get_reply_content.
Alex:
Thanks! 
DarkWolf:
- The category page should contain the list of sub-forums, which are in it.
- You need to shift all the pages, stats, etc. above the forum page too (i.e. change their parent to no parent).
Anonymous User 7670885Inactive
Anonymous User 7670885Inactive
Anonymous User 7670885Inactive
@tieptoep: i’ve a login page (maked for bbpress) but it point to: http://localhost/wordpress/forum/login/ (this is a subpage of forum) instead meta link to: http://localhost/wordpress/login/ (404 – not found) 
Anyway, with bbpress login widget is ok, thanks 
–
Edit: i’ve put in top level all subpages and now also point 2 workfine (i’ve simple maked a custom menu to have all page ordered in “forum” menu link)
Try this:
– You first have to start the WordPress Loop
– Then call the get_template _part() function to get the forum template.
<?php
/*
Template Name: Forum
*/
@ePilipovic
/**
* @package WordPress
* @subpackage Default_Theme
*/
get_header(); ?>
<?php while ( have_posts() ) : the_post(); ?>
<div id="forum-front" class="bbp-forum-front">
<div class="entry-content">
<?php the_content(); ?>
<?php get_template_part( 'loop', 'bbp_forums' ); ?>
<?php get_template_part( 'form', 'bbp_topic' ); ?>
</div>
</div><!-- #forum-front -->
<?php endwhile; ?>
<?php get_footer(); ?>
Try this:
– You first have to start the WordPress Loop
– Then call the get_template _part() function to get the forum template.
<?php
/*
Template Name: Forum
*/
@ePilipovic
/**
* @package WordPress
* @subpackage Default_Theme
*/
get_header(); ?>
<?php while ( have_posts() ) : the_post(); ?>
<div id="forum-front" class="bbp-forum-front">
<div class="entry-content">
<?php the_content(); ?>
<?php get_template_part( 'loop', 'bbp_forums' ); ?>
<?php get_template_part( 'form', 'bbp_topic' ); ?>
</div>
</div><!-- #forum-front -->
<?php endwhile; ?>
<?php get_footer(); ?>
the only problem it seems is that i simply dont have “auth_salt” and “logged_in_salt” in my wp-admin/config.php in WordPress. which means I can’t add those values in integration which is why it wont stay logged on across WP/ bbpress. Can anyone explain what to do
or why it’s not there?
the only problem it seems is that i simply dont have “auth_salt” and “logged_in_salt” in my wp-admin/config.php in WordPress. which means I can’t add those values in integration which is why it wont stay logged on across WP/ bbpress. Can anyone explain what to do
or why it’s not there?
I recently started using this WordPress PHP implementation of the Markdown http://michelf.com/projects/php-markdown/
Right now it only supports Posts and Comments. Topics and Replies don’t get aprsed.
This comes from markdown.php:
# Post content and excerpts
# - Remove WordPress paragraph generator.
# - Run Markdown on excerpt, then remove all tags.
# - Add paragraph tag around the excerpt, but remove it for the excerpt rss.
if (MARKDOWN_WP_POSTS) {
remove_filter('the_content', 'wpautop');
remove_filter('the_content_rss', 'wpautop');
remove_filter('the_excerpt', 'wpautop');
add_filter('the_content', 'Markdown', 6);
add_filter('the_content_rss', 'Markdown', 6);
add_filter('get_the_excerpt', 'Markdown', 6);
add_filter('get_the_excerpt', 'trim', 7);
add_filter('the_excerpt', 'mdwp_add_p');
add_filter('the_excerpt_rss', 'mdwp_strip_p');
remove_filter('content_save_pre', 'balanceTags', 50);
remove_filter('excerpt_save_pre', 'balanceTags', 50);
add_filter('the_content', 'balanceTags', 50);
add_filter('get_the_excerpt', 'balanceTags', 9);
}
How to modify the line above to be effective for Topics and Replies?
WP 3.0 / BBpress “Bechet” version 1.0.2
Inside /wp-includes/load.php I found this code:
// If already slashed, strip.
if ( get_magic_quotes_gpc() ) {
$_GET = stripslashes_deep( $_GET );
$_POST = stripslashes_deep( $_POST );
$_COOKIE = stripslashes_deep( $_COOKIE );
}
So I made a BBpress plugin that (so far) works for me.
/bbpress/my-plugins/stripslashes.php
<?php
/*
Plugin Name: Strip Slashes
Plugin URI: http://www.uxtremist.com/
Description: Strips slashes from topics, tags and posts. Sort of.
Author: Adam Braimbridge <adam@uxtremist.com>
Version: 0.1
Author URI: http://www.uxtremist.com/
*/
// Make sure WordPress has been included
if (function_exists('wp_head')) {
$_GET = stripslashes_deep( $_GET );
$_POST = stripslashes_deep( $_POST );
$_COOKIE = stripslashes_deep( $_COOKIE );
}
?>