Hello
could you please shed the light that where we could edit widget: (bbpress) recent topics ‘s variable such as how many days is defined as “recent” and its CSS? we want to change the way of listing
thanks!
Aily
Any of the main bbPress settings are in Settings > Forums in the WordPress backend.
Does your forum look sort of like this?
http://support.aquagraphite.com/
That topic you linked to mentions about 2 unread posts plugins.
There is also about 4 more on the WordPress plugin repository.
https://wordpress.org/plugins/search.php?q=bbpress+unread
You can use RSS.
Like say if you go to
https://bbpress.org/forums/topic-tag/subscription/feed/
You can subscribe to that RSS feed.
Yes great find, thank you Robkk,
Now you can also do this, ..and make the pagination an unordered list like it should be by the default. 🙂
function ntwb_bbpress_custom_pagination( $args ) {
$args['type'] = 'list';
$args['prev_text'] = 'previous';
$args['next_text'] = 'next';
return $args;
}
add_filter( 'bbp_topic_pagination', 'ntwb_bbpress_custom_pagination' );
WP Codex: all those args should probably work now.
https://codex.wordpress.org/Function_Reference/paginate_links
I’ve read about the old thread: https://bbpress.org/forums/topic/display-unread-posts-distinctively/
Is the stance still the same? Are there no plugins that will allow displaying unread posts or something similar since your last log in?
Hi Rob,
Thanks for this. Unfortunately if I add this to my functions.php Dreamweaver tells me there is a syntax error on lines 21 to 22 (which is the second and third lines in your code), and I don’t know php well enough to work out what’s wrong. My complete functions.php file, with your code, is this:
<?php
add_action( 'wp_enqueue_scripts', 'load_dashicons_front_end' );
function load_dashicons_front_end() {
wp_enqueue_style( 'dashicons' );
}
function bp_keep_user_private( $user_login, $user ) {
global $wpdb;
if( 'demo' === $user->user_login ) {
$wpdb->query( $wpdb->prepare( "UPDATE $wpdb->users SET user_status = 2 WHERE ID = %d", $user->ID ) );
}
}
add_action( 'wp_login', 'bp_keep_user_private', 10, 2 );
add_filter('bbp_before_list_forums_parse_args', 'ntwb_bbpress_list_forums' );
function ntwb_bbpress_list_forums() {
$args['show_topic_count'] = false;
$args['show_reply_count'] = false;
return $args;
}
Hi,
Is there a quick and easy way to integrate Press Permit into bbPress?
I think this should do it. If it does not change the word before in the filter to after.
add_filter('bbp_before_list_forums_parse_args', 'ntwb_bbpress_list_forums' );
function ntwb_bbpress_list_forums() {
$args['show_topic_count'] = false;
$args['show_reply_count'] = false;
return $args;
}
This is strange..
Why is my filter not working. When I look at my screenshot you can see that this array has an apply_filter() function before the variable/array goes through the paginate_links().
This filter I should use, I expect if I want to make any changes to the array before it gets pulled into the paginate_links() function – right?

So I created this add_filter function to test if I can change the <– arrow –> symbols. But for some reason no success at all.
function xx_my_stuff( $bbp_topic_pagination ) {
$bbp_topic_pagination = array(
'prev_text' => 'test',
'next_text' => 'test',
);
return $bbp_topic_pagination;
}
add_filter( 'bbp_topic_pagination', 'xx_my_stuff' );
I researched this and came across a thread on this forum here: https://bbpress.org/forums/topic/how-do-i-remove-0-0-in-the-forum-name/
However this is out of date and the solution described no longer applies. Any pointers?
Sorry, I got mixed up, bbpress is on 2.5.8
WP: 4.3
BBpress last version
http://www.aitoguerriersdupacifique.com
Hello,
Thank you for this great plugin. A long time i m looking for one.
I have some problems to parameter it. I have some probleme on my theme “Legenda”.
I m not a specialist for css but i m stubborn but with clear explanations, i can do it 😉
http://i59.tinypic.com/148hw2e.jpg
Thank you very much for your help.
use this code for a bbpress.php file if you already created one. It is basically the full width template already in your theme. .
Getting Started in Modifying the Main bbPress Template
<?php
/**
* The main template file for bbPress.
*
* @package Quark
* @since Quark 1.0
*/
get_header(); ?>
<div id="primary" class="site-content row" role="main">
<div class="col grid_12_of_12">
<?php if ( have_posts() ) : ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'content', 'page' ); ?>
<?php comments_template( '', true ); ?>
<?php endwhile; // end of the loop. ?>
<?php endif; // end have_posts() check ?>
</div> <!-- /.col.grid_12_of_12 -->
</div><!-- /#primary.site-content.row -->
<?php get_footer(); ?>
Hello there. Please have a look at our bbPress forum at http://hanfjournal.de/forum/
It’s still in startup phase, the design is okay but as you see, it is now left aligned to the window border, whereas the rest of the page content (the menu, the footer, all non-forum pages) have a empty area at the left edge.
How do I change the forum alignment now?
The theme has these “grids”, now it’s the first grid, and I tried to put the forum to other grids but this way made it worse. So I think I rather make the forum to leave some free space.
Also, the forum is looking very greyish and pale in the page context 🙁
How do you recommend to change the look with simple changes, e.g. drawing a frame around the forum or background colour? I am not experienced in CSS design, but I can apply changes if I know what and where.
I tried themes for BBpress that come as WordPress plugins, but they all did not work (to be precise, were looking ugly) in our theme. Which is “Quark” with many modifications in a child theme.
bbPress does not do this by default. Contact your theme author again if it is indeed your theme doing this.
You can do a quick test to see if it is your theme doing this. Switch to a default theme temporarily to see the default message bbPress has.
I have an idea of what the theme author might have done though. All I can say is for them to copy the default bbPress templates and start fresh and create their own bbPress styles and functionality.
Or I guess you can create a child theme and do the same thing.
If it is another plugin causing this, check that out.
Hi,
I believe this is a common question but I cannot find an answer. In my forum, users can view topics but they cannot see replies. It always display:
Sorry, this forum is for verified users only. Please Login or Register to continue
I want to open my forum and let people see replies without login. I asked the theme owner and they said it should be a bbpress setting. But I cannot find.
Any hint?
@themk850
sorry for the late reply, but try this.
add_filter('bbp_after_list_forums_parse_args', 'ntwb_bbpress_list_forums' );
function ntwb_bbpress_list_forums() {
$args['separator'] = '';
return $args;
}
or I guess instead of using my CSS and the above function just use this instead.
add_filter('bbp_after_list_forums_parse_args', 'ntwb_bbpress_list_forums' );
function ntwb_bbpress_list_forums() {
$args['separator'] = '</br>';
return $args;
}
Try this.
add_filter('bbp_after_list_forums_parse_args', 'ntwb_bbpress_list_forums' );
function ntwb_bbpress_list_forums() {
$args['separator'] = '';
return $args;
}
Don’t mess with template files.
You can copy form-forum.php from the bbPress plugin templates into a folder called bbpress in your child theme and remove 'show_none' => __( '(No Parent)', 'bbpress' ), so that they have to choose a parent forum.
Look for this in the file.
<p>
<label for="bbp_forum_parent_id"><?php _e( 'Parent Forum:', 'bbpress' ); ?></label><br />
<?php
bbp_dropdown( array(
'select_id' => 'bbp_forum_parent_id',
'show_none' => __( '(No Parent)', 'bbpress' ),
'selected' => bbp_get_form_forum_parent(),
'exclude' => bbp_get_forum_id()
) );
?>
</p>
End up with something like this.
<p>
<label for="bbp_forum_parent_id"><?php _e( 'Parent Forum:', 'bbpress' ); ?></label><br />
<?php
bbp_dropdown( array(
'select_id' => 'bbp_forum_parent_id',
'selected' => bbp_get_form_forum_parent(),
'exclude' => bbp_get_forum_id()
) );
?>
</p>
See if this plugin helps/still works.
bbp additional shortcodes
Also Robin’s other plugin might have the same functionality somewhere in it.
https://wordpress.org/plugins/bbp-style-pack/
if you are able to get a profile link like say yours here on bbpress.org
https://bbpress.org/forums/profile/klmnweb/
For topics and replies you would add /replies or /topics at the end of the url. Basically you make the url use the same url that the profile links on the users profile use.
I am just saying the auto suggest topics plugin’s script might make it into core if it was in forum search and extend that, then it could also be use for the new topic title too. It is just the way I see it.
1. oembed in bbPress basically uses that same filter, but for each of the topics and replies content. The filter is just wrapped in a conditional if you did enable oembeds in bbPress.
Here is the code for replies that is in the bbPress core.
function bbp_reply_content_autoembed() {
global $wp_embed;
if ( bbp_use_autoembed() && is_a( $wp_embed, 'WP_Embed' ) ) {
add_filter( 'bbp_get_reply_content', array( $wp_embed, 'autoembed' ), 2 );
}
}
Maybe removing the shortcode helps, but I will keep an eye on that.
I do not think the description needs that much of a drastic change. Because it might matter more to know the last who posted, when was the last post, how many users are in the topic, and how many posts, and also this information is pretty handy for regular forum users to know about. Plus bbpress has a way to see pending/spam replies in a topic by clicking the hidden posts link in the description.

There needs to be information that tells google that this is a forum, and not a blog post for example.
Published date is almost always going to get picked up by google.
There might be other areas to add schematic microdata like what is listed in this.
http://schema.org/DiscussionForumPosting
The data might also be best to place around the actual post.
Since I don’t want you to remove all the notices with CSS that have the bbp-template-notice class. Copy the form-topic.php and form-reply.php templates into a folder called bbpress in your child theme and look for something like this code below, then remove it.
<?php if ( current_user_can( 'unfiltered_html' ) ) : ?>
<div class="bbp-template-notice">
<p><?php _e( 'Your account has the ability to post unrestricted HTML content.', 'bbpress' ); ?></p>
</div>
<?php endif; ?>
@geog272
For having a forum show up instead of the (No Forum), copy form-topic.php in your child theme.
In the code toward line 109 you would see something like this.
<?php if ( !bbp_is_single_forum() ) : ?>
<?php do_action( 'bbp_theme_before_topic_form_forum' ); ?>
<p>
<label for="bbp_forum_id"><?php _e( 'Forum:', 'bbpress' ); ?></label><br />
<?php
bbp_dropdown( array(
'show_none' => __( '(No Forum)', 'bbpress' ),
'selected' => bbp_get_form_topic_forum()
) );
?>
</p>
<?php do_action( 'bbp_theme_after_topic_form_forum' ); ?>
<?php endif; ?>
Remove 'show_none' => __( '(No Forum)', 'bbpress' ), so it would look like this.
<?php if ( !bbp_is_single_forum() ) : ?>
<?php do_action( 'bbp_theme_before_topic_form_forum' ); ?>
<p>
<label for="bbp_forum_id"><?php _e( 'Forum:', 'bbpress' ); ?></label><br />
<?php
bbp_dropdown( array(
'selected' => bbp_get_form_topic_forum()
) );
?>
</p>
<?php do_action( 'bbp_theme_after_topic_form_forum' ); ?>
<?php endif; ?>