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)
Wow, this did the trick for me. You made me a happy man
Wow, this did the trick for me. You made me a happy man
Is it possible to use bbp_topic_content/bbp_reply_content as filter hooks? i.e.
add_filter('bbp_topic_content', 'some_function', 5);
Anonymous User 7670885Inactive
Some question:
1) What is the difference between “forum” and “category”? 
2) How i can use a wp theme for plugin?
3) Why don’t use a theme for plugin not related with wordpress (or simple try to use directly wp theme without customization)?
4) How i can permit guest to post?
5) Is there any way to “promote” a topic in home page (in blog)?
6) Any eta to convert from bbpress standalone?
Thanks in advance, DarkWolf