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 );
}
?>
Hey! I’ve now fixed my problem 
The system (Debian 6) was missing or had an old version of php5-gd installed. apt-get install php5-gd and restarting the apache2 server fixed the problem of the blank pages.
Also these code changes by _ck_ helped to improve Avatar Upload:
Delete avatar function: https://bbpress.org/plugins/topic/avatar-upload/page/5/#post-1093
Make identicon function work: https://bbpress.org/plugins/topic/avatar-upload/page/5/#post-1096
Anonymous User 7670885Inactive
@Willabee: thank’u very much (and sorry for my poor english) 
for n° 2 (i can try to best explain): if i have a theme in my blog (no twentyten) how i can use also for plugin? is there a guide for customize? atm i can use only bbPress (Twenty Ten)