you can use something like this.
#bbpress-forums .bbp-body .topic-author {
background: #f5f5f5;
}
this has something to search by user.
its not a plugin more of a file to put in a folder called bbpress in your child theme and some PHP code snippets but i will test it out to see if it works.
https://github.com/MateuszNowicki/bbpress-Advanced-Search
hmmm that is odd. i did not find a css issue, so it must be something else.
as a test try this to see if the avatars render correctly in the area if there is correct code.
function rkk_topic_av() {
echo bbp_get_topic_author_link( array( 'size' => '48' , 'type' => 'avatar'));
}
add_action('bbp_theme_before_topic_title','rkk_topic_av');
then give me the results then we will look over it more.
You should be able to control this in Yoast SEO by changing the meta title settings, or it may be something you have to do in your theme / a custom plugin.
See info here re: using Yoast and the different settings:
http://kb.yoast.com/article/146-yoast-wordpress-seo-titles-metas-template-variables
It looks like you want to make sure the meta title is set to just use this Yoast variable:
%%title%%
Hmm, this sounds a bit complicated as bbpress replies are not technically ‘comments’, they are a separate post type, the same as topics, that are simply connected to their parent topic (as far as I know anyway).
The first thing I would try is to copy the code that displays comments on a regular post, and add this to the template that displays my topics. That way, if comments are attached to the topic, they will display when viewing the topic on the front end.
You want to find the template ‘content-single-topic.php’
This should be at wp-content/themes/your-theme/bbpress/
(If it’s not, read up on theming here: https://codex.bbpress.org/theme-compatibility/)
Then add this code somewhere in that file:
<?php wp_list_comments(); ?>
If no comments appear when you view a topic, then I would check in my mysql database to see how the comments are being saved – perhaps they are saving to the database but without being assigned to a specific post (topic). You may need to enable comments for the ‘topic’ post type.
I hope that helps, it is a bit complicated as I said.
@ricsca2
this should do it.
function rk_show_advstats() {
echo do_shortcode( '[bbpas-activity]' );
}
add_action( 'bbp_template_after_forums_index', 'rk_show_advstats' );
add_action( 'bbp_template_after_topics_index', 'rk_show_advstats' );
add_action( 'bbp_template_after_single_topic', 'rk_show_advstats' );
add_action( 'bbp_template_after_single_forum', 'rk_show_advstats' );
@geekserve
add this to your plugin description or installation.section on your plugins page.
it seems it would be the most useful function for your plugin.
ok thanks for reminding me …again.
i have been losing track on these topics lately.
What i found is that this bug is because of your theme and not really bbPress. So i recommend contacting your theme developers about this especially since they want to support bbPress.
in the bfa_post_parts.php file in your functions folder, under the bfa_post_bodycopy function you will see
OR function_exists('is_bbpress')
This is what is causing your issue.
the way i figured out to fix it is to remove this and create my own bbpress.php off of the index.php file from your theme.
this is all the code i used to create the file. So you can copy and paste this into your theme into a bbpress.php file and all should work …hopefully.
I also left the widget areas there if you want them still there user theme/replace them or just remove them.
<?php
list($bfa_ata, $cols, $left_col, $left_col2, $right_col, $right_col2, $bfa_ata['h_blogtitle'], $bfa_ata['h_posttitle']) = bfa_get_options();
get_header();
extract($bfa_ata);
global $bfa_ata_postcount;
?>
<?php /* If there are any posts: */
if (have_posts()) : /* Postcount needed for option "XX first posts full posts, rest excerpts" */ ?>
<?php if ($bfa_ata['widget_center_top'] <> '') {
echo bfa_parse_widget_areas($bfa_ata['widget_center_top']);
} ?>
<?php while (have_posts()) : the_post();?>
<?php /* Post Container starts here */
if ( function_exists('post_class') ) { ?>
<div <?php if ( is_page() ) { post_class('post'); } else { post_class(); } ?> id="post-<?php the_ID(); ?>">
<?php } else { ?>
<div class="<?php echo ( is_page() ? 'page ' : '' ) . 'post" id="post-'; the_ID(); ?>">
<?php } ?>
<?php bfa_post_headline('<div class="post-headline">','</div>'); ?>
<div class="post-bodycopy clearfix"><?php the_content(); ?></div>
</div><!-- / Post -->
<?php endwhile; ?>
<?php if ($bfa_ata['widget_center_bottom'] <> '') {
echo bfa_parse_widget_areas($bfa_ata['widget_center_bottom']);
} ?>
<?php endif; /* END of: If there are no posts */ ?>
<?php get_footer(); ?>
you can have a page and then put at the bottom the shortcode
[bbp-single-topic id=$topic_id] – Display a single topic. eg. [bbp-single-topic id=4096]
Sorry, been busy with other things – thanks for the reminder.
Having taken a second look, I think boith are coming form your theme, not bbpress.
I can’t hide the first one, as it is also used by other post enturies on the site, so suggest you lose the blue one, for which you need to put the following in your style.css
see
Forum & Thread Titles Duplicated
.entry h1 {
visibility: hidden !important;
}
You might need to check that this doesn’t affect anything else – I can’t see that it did – worse case is that you would not see a blue title, so if you have any others in the site this might affect them.
Make a folder in your theme folder labeled “bbpress”. You will then want to go to /wp-content/plugins/bbpress/templates/default/bbpress and copy the reply-form.php and paste it into the bbpress folder you made in your theme folder.
Open the file, scroll down towards the bottom, you will see where it says “You must be logged in”. Delete that section of code.
<div id="no-reply-<?php bbp_topic_id(); ?>" class="bbp-no-reply">
<div class="bbp-template-notice">
<p><?php is_user_logged_in() ? _e( 'You cannot reply to this topic.', 'bbpress' ) : _e( 'You must be logged in to reply to this topic.', 'bbpress' ); ?></p>
</div>
</div>
I figured it out.
1st way: count clicks of “submit” button:
//custom function
function custom_trackEvent_newTopic ()
{
echo '
<script>
addListener(document.getElementById(\'bbp_topic_submit\'), \'click\', function() {
ga(\'send\', \'event\', \'forum\', \'btn_click_new topic\');
});
function addListener(element, type, callback) {
if (element.addEventListener) element.addEventListener(type, callback);
else if (element.attachEvent) element.attachEvent(\'on\' + type, callback);
}
</script>
';
}
add_action ('bbp_theme_after_topic_form_submit_button', 'custom_trackEvent_newTopic') ;
2nd way: count actual topic creation
This would be more precise, but I didn’t figure it out yet. Actually this should work:
function custom_trackEvent_newTopic ()
{
window.ga('send', 'event', 'forum', 'new topic');
}
add_action ('bbp_new_topic', 'custom_trackEvent_newTopic') ;
…but it doesn’t.
Fatal error: Call to undefined function ga() in /…/themes/…/functions.php on line 1594
Somehow the function can’t be referenced that way. 🙁
This had got my head spinning. I have a new bbpress install, and have set up a login widget with a ‘Lost Password’ URI. I’ve also got a lost password page, with the [bbp-lost-pass] shortcode.
When I go direct to the page, or click on the lost password link, I can see only an empty input box, and a big ‘Reset My Password’ button. Do I have to do something else to set up the widget?
The page contents are mostly hidden in the css. The legend (which says ‘Lost Password’) is disabled (bbpress.css):
.bbp-login-form fieldset legend {
display: none;
}
And the label for the input box is hidden in the template (form-user-lost-pass.php):
<label for="user_login" class="hide"><?php _e( 'Username or Email', 'bbpress' ); ?>: </label>
So, presumably some JavaScript somewhere should magically make all this appear, but it’s not firing, or I’ve just messed up. Any ideas? Note that I also have a lost password form in Woocommerce, but disabling Woocommerce doesn’t affect this. Thanks.
Hello,
WP 4.2.2
BB 2.5.7
Looking to find where I can just remove the “You Must Be Logged In” prompts all together. I’ve already got the login/register stuff added to my sidebar, I don’t need the prompts to direct people.
View post on imgur.com
View post on imgur.com
These are the specific things I’m speaking of. Can I just block them somehow in the css or is there somewhere I can simply delete the code to remove them all together?
Thanks for your help.
Stephen – I don’t know if this has changed since your post, but this isn’t great on bbpress 2.5.6, since it also affects the text for the topic subscribe/unsubscribe. Instead of seeing Favorite | Subscribe, you get Favorite (Subscribe). To fix this, you need to post-filter the args, and check before:
function sa_after_get_forum_subscribe_link_parse_args($args) {
if(empty($args['before'])) {
$args['before'] = ' (';
$args['after'] = ')';
}
return $args;
}
add_filter(
'bbp_after_get_forum_subscribe_link_parse_args',
'sa_after_get_forum_subscribe_link_parse_args');
Thanks Stephen 🙂
Will definitely keep an eye on developments. For now I have used CSS to hide all but the most recent revision, here’s the code if anyone else needs it:
.bbp-topic-revision-log li {
display:none;
}
.bbp-topic-revision-log li:last-child {
display:block;
}
Hello!
Help please!
How to remove inscription under box for comments?
“You may use these HTML tags and attributes”
it is displaying like this because bbPress thinks your forums is a blog posts because of some code that should be only for blog posts.
create a bbpress.php file
https://codex.bbpress.org/theme-compatibility/getting-started-in-modifying-the-main-bbpress-template/
if you need any more help with this reply back
I went through the documentation of adding actions (https://codex.bbpress.org/step-by-step-guide-to-setting-up-a-bbpress-forum-part-4/) and then I looked up the places within the code for the following 3 events:
– user registration
– topic creation
– reply creation
I see, that I could add code before and after the “submit” button, but that’s not exactly what I need.
I need to add an function call for ga.js directly to the button.
Example (this is the code line for the “submit new topic” button):
<button type=”submit” tabindex=”<?php bbp_tab_index(); ?>” id=”bbp_topic_submit” name=”bbp_topic_submit” class=”button submit”><?php _e( ‘Submit’, ‘bbpress’ ); ?></button>
this must become:
<button type=”submit” tabindex=”<?php bbp_tab_index(); ?>” id=”bbp_topic_submit” name=”bbp_topic_submit” class=”button submit” onClick=”_gaq.push([‘_trackEvent’, ‘Forum’, ‘New Topic’]);”><?php _e( ‘Submit’, ‘bbpress’ ); ?></button>
How can I achieve this?
use this CSS to hide the checkbox for users to turn off logging their specific topic or rpely.
label[for="bbp_log_reply_edit"],
label[for="bbp_log_topic_edit"],
input#bbp_log_reply_edit,
input#bbp_log_topic_edit {
display: none !important;
}
add this to your child theme functions.php or install the plugin below.
function bbp_reverse_reply_order( $query = array() ) {
$query['order']='DESC';
return $query;
}
add_fiter('bbp_has_replies_query','bbp_reverse_reply_order');
https://wordpress.org/plugins/bbpress-sort-topic-replies/
Hi this is my first post here, I know my way around editing code but not a strong coder.
I am wanting to edit bbpress so as to turn off the option for revision logs and have it as a default so all post edits must be recorded.
Can anyone please guide me in doing this?
I heave read around the forums and it seems everyone is wanting to do the opposite of this with their logs, but I need it as my wordpress/bbpress install is for official activities.
thanks
I would like to know how to completely uninstall bbpress, I’ve looked it up and followed the instructions on many other pages and thought I had it all but under the user profiles we have at the very bottom a section called “Additional Capabilities” and next to it you can see the user role. Here is a screenshot of it

I have tried running this and it doesn’t work, I have role plugins to view all my roles and it doesn’t show me any of the bbpress roles so I’m really sure why this is still showing up
$wp_roles = new WP_Roles();
$wp_roles->remove_role("bbp_role");
$wp_roles->remove_role("bbp_blocked");
$wp_roles->remove_role("bbp_keymaster");
$wp_roles->remove_role("bbp_moderator");
$wp_roles->remove_role("bbp_participant");
$wp_roles->remove_role("bbp_spectator");
@fmckinnon
you can just put simple HTML in the text widget to link to the feeds , it would basically do the same thing.
just add this into your text widget.
<ul>
<li><a href="http://www.theworshipcommunity.com/staging/forums/feed">All Recent Posts</a></li>
<li><a href="http://www.theworshipcommunity.com/staging/topics/feed" title="All Recent Topics">All Recent Topics</a></li>
</ul>
Im sure there is a free/premium Plugin available. I dont find it in my bookmarks, but this is definetivly possible! If you wont find it, you can contact me my website. http://kleinheinz.codes/ We will find a way to help you.
best regards.
@amalsh
well looking at this and seeing class="hashtag"
<a class="hashtag" rel="nofollow" href="http://localhost/wordpress/forums/search/?bbp_search=%23000080">#000080</a> //color hex should not be in here
;”>
the issue is probably from this plugin if you are using it.
deactivate that and see if tinymce works better after that.
https://wordpress.org/support/plugin/hashbuddy