Thanks, Robin, and thank you for your (free) support on the bbpress forums. Appreciated.
I’m not to sure on how to create sub forums under forums.
Example: Forum – Operating Systems. Sub Forums – Windows, Linux, Apple, Android
Under these you would have your Topics which would contain the threads of that particular topic.
Can this be accomplished in BBPress or Would you need to create multiple forums to cover the same interest?
If we are limited to Forum – Topic and Thread, can the member/user not show up as the creator of topic.
Just saying if you could sub divide forums to include multiple sub forums each containing their own topics and threads.
Thanks
If you just want to remove it from the list then you could amend loop-single-forum.php
create a directory on your theme called ‘bbpress’
ie wp-content/themes/%your-theme-name%/bbpress
where %your-theme-name% is the name of your theme
find
wp-content/plugins/bbpress/templates/default/bbpress/loop-single-forum.php
Make a copy of this file, and put in in the directory called bbpress that you created above, so you end up with
wp-content/themes/%your-theme-name%/bbpress/loop-single-forum.php
bbPress will now use this template instead of the original
and you can amend this
change it to (assuming 40250 is the fiorum id)
<?php
/**
* Forums Loop - Single Forum
*
* @package bbPress
* @subpackage Theme
*/
if ( !bbp_get_forum_id() == '40250')) {
?>
<ul id="bbp-forum-<?php bbp_forum_id(); ?>" <?php bbp_forum_class(); ?>>
<li class="bbp-forum-info">
<?php if ( bbp_is_user_home() && bbp_is_subscriptions() ) : ?>
<span class="bbp-row-actions">
<?php do_action( 'bbp_theme_before_forum_subscription_action' ); ?>
<?php bbp_forum_subscription_link( array( 'before' => '', 'subscribe' => '+', 'unsubscribe' => '×' ) ); ?>
<?php do_action( 'bbp_theme_after_forum_subscription_action' ); ?>
</span>
<?php endif; ?>
<?php do_action( 'bbp_theme_before_forum_title' ); ?>
<a class="bbp-forum-title" href="<?php bbp_forum_permalink(); ?>"><?php bbp_forum_title(); ?></a>
<?php do_action( 'bbp_theme_after_forum_title' ); ?>
<?php do_action( 'bbp_theme_before_forum_description' ); ?>
<div class="bbp-forum-content"><?php bbp_forum_content(); ?></div>
<?php do_action( 'bbp_theme_after_forum_description' ); ?>
<?php do_action( 'bbp_theme_before_forum_sub_forums' ); ?>
<?php bbp_list_forums(); ?>
<?php do_action( 'bbp_theme_after_forum_sub_forums' ); ?>
<?php bbp_forum_row_actions(); ?>
</li>
<li class="bbp-forum-topic-count"><?php bbp_forum_topic_count(); ?></li>
<li class="bbp-forum-reply-count"><?php bbp_show_lead_topic() ? bbp_forum_reply_count() : bbp_forum_post_count(); ?></li>
<li class="bbp-forum-freshness">
<?php do_action( 'bbp_theme_before_forum_freshness_link' ); ?>
<?php bbp_forum_freshness_link(); ?>
<?php do_action( 'bbp_theme_after_forum_freshness_link' ); ?>
<p class="bbp-topic-meta">
<?php do_action( 'bbp_theme_before_topic_author' ); ?>
<span class="bbp-topic-freshness-author"><?php bbp_author_link( array( 'post_id' => bbp_get_forum_last_active_id(), 'size' => 14 ) ); ?></span>
<?php do_action( 'bbp_theme_after_topic_author' ); ?>
</p>
</li>
</ul><!-- #bbp-forum-<?php bbp_forum_id(); ?> -->
<?php } ?>
Not tested but should work, if not then might be another bbpress plugin overwriting the template – come back
I downloaded and installed bbPress-Sort topic replies, it changes the sort. Page-by navigation did not appear, in topics all messages are displayed at once.
I would suggest you reverse the order for answers, as pagination will not solve it.
This may work
bbPress – Sort topic replies
No. Every attempt I made to migrate to 4.0 and then to bbpress failed as well. I just kept my 5.0 and will never use them again on any site. All my other sites I use wpForo on. It is virtually the same and much better than bbpress, which is a solid forum option in itself.
enable bbpress
then
dashboard>tools>forums>reset forums
Then decativate and delete bbpress and any dependent plugind
There is a bbpress forum. Through the admin panel, I adjust the number of topics and responses to the page on the forum.
Now the admin panel is set to display 5 topics and 5 answers on the page. the number of those regulated, the NUMBER of REPLIES TO the TOPIC NOT REGULATED. IN TOPIC ARE DISPLAYED IMMEDIATELY ALL ANSWERS AND PAGE IS OBTAINED MUCH.
As a result, to reach the last answer you have to scroll through the page with the answers at the bottom.
Can who rebuffed with this problem?
I wish to remove the forum portion of my website. I created the forum using BBPress. How do I remove the forum without creating a mess? I do not want to remove my blog posts or any other content. The blog post show up as forum content as well as blog posts.
I manually removed the forum page, the links to the forum in the headers, and links to the forum in the menus. But then my website would not display. I did not disable or remove the bbPress plugin. I received an error message from GoDaddy that my site had technical difficulties and was not available. I restored my website from a GoDaddy backup and all was well, but I still had the forum.
Thank you.
Has anybody successfully imported a Vbulletin 5.5 board to bbPress?
Hi,
I have a gallery I would like to add either within the forum description or within a topic but bbpress is not parsing the shortcode. It is not a bbpress shortcode, it comes from a gallery plugin.
How do I enable parsing of other shortcodes within bbpress?
Thanks!
Hi @sudar! Thanks for your great work in this regard, and I know this is *really* old now, but I am working on a site that has your bbpress-subscription-in-mandrill plugin installed and am trying to see if it is still necessary, hopefully without breaking anything.
The site is sending things through Mandrill, using the Post SMTP Mailer/Email Log plugin. They are also running a beta of bbPress v2.6. I don’t know if it resolved any of these issues or not.
I am just trying to understand your post above, that you switched to the asyncronous-bbpress-subscriptions plugin. Does that mean you are no longer using the one you wrote, and the above one solves all the issues? Any particular notes to be aware of in configuring that plugin vai filters/etc to accomplish the same thing yours has done?
Hi. Can anyone please help me with the code to do this:
change this
[bbp-single-reply id=$reply_id]
to this
[bbp-single-reply id=$topic_id]
or anything that will basically do the same thing. Perhaps just the code to direct a reply form to a topic?
thanks in advance
This plugin seems to do that and claims bbpress support
I have not tried it, so please come back and let us know if it works
Highlight Search Terms
which version of bbpress are you using ?
Good Afternoon,
I am currently having an issue with getting my template overrides to work on bbpress pages, like forums and questions( indlucing shortcodes). I have the files located in /wp-content/themes/mytheme/bbpress/ but they are not working. Is there something I have done wrong? Or something I need to do? I am trying to edit loop-forums.php and others.
Many thanks in advance for any help or advice,
Kind regards,
Dave
this will close topics with no activity in the last 10 days
/*
Plugin Name: BBPress Close Old Posts
Description: Close BBPress 2.0+ posts that haven't been updated in X days.
Author: Raygun
Version: 0.1
Author URI: http://madebyraygun.com
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
register_activation_hook(__FILE__, 'bbpress_topic_scheduler');
add_action('bbpress_daily_event', 'bbpress_close_old_topics');
function bbpress_topic_scheduler() {
wp_schedule_event(time(), 'daily', 'bbpress_daily_event');
}
function bbpress_close_old_topics() {
// Auto close old topics
$topics_query = array(
'author' => 0,
'show_stickies' => false,
'parent_forum' => 'any',
'post_status' => 'publish',
'posts_per_page' => -1
);
if ( bbp_has_topics( $topics_query ) )
while( bbp_topics() ) {
bbp_the_topic();
$topic_id = bbp_get_topic_id();
$last_active = strtotime( get_post_meta( $topic_id, '_bbp_last_active_time', true ) );
if ($last_active < strtotime( '-10 days') )
bbp_close_topic( $topic_id );
}
}
?>
I would like to remove forum posts from my marketplace forum that haven’t been active for 10 days.
I’ve been looking around online but the only answers I’ve found were from 5+ years ago and don’t work (anymore).
I’ve tried doing it with PHP, and looked around on the bbPress website for developer documentation, but that doesn’t exist yet, and has been under construction for around 5 years according to the Wayback machine.
I’m really not trying to argue, Robin. But, in both initial bbpress setup guides. That format is what is shown. Yet, neither say anything about categories or specify how to get that layout. In layouts and functionality, it does say how to style it.
Can you please tell me how to get to that? I did follow the step by step guide exactly and it returned what I have, not remotely what is pictured.
Also, I still have the archive question. I can’t find anything saying that should be there. I certainly haven’t asked it to be there.
Thanks again.
wow well that’s stupidly embarrassing. This is what I was expecting:
https://buddypress.org/wp-content/uploads/53/2013/11/forum1.jpg
taken from here:
Step by step guide to setting up a bbPress forum – Part 1
Any advice on the archives heading?
Thanks again!
sorry, not into selling stuff. and no I’m not the bbpress author.
Thank You Robin,
I know it’s not a design service per se, You are the creator. Right? So who best to know the length and depth and breadth of your product? 🙂
And if I need this guidance maybe there are others who want it – who knows? perhaps my question could have been the gateway for some sort of template-like / cliff-notes on exactly how to get certain forum configurations 🙂 That you could sell to go with your free plugin.
Yes it is bbpress.
Actually its one of their ‘flagship’ examples of what bbpress can do.
Peace
Josie
my site is deleted. I had bluehost absolutely wipe out WP and I started out adding bbpress and trying this again. I really haven’t yet added anything else back except for elementor. Am I misunderstanding thinking that [bbp-forum-index] should return a forum name and then have topics listed underneath and then the next forum and so on? If so, disregard and tell me I’m just silly please. Anyway, I threw something up and created a gyazo of what I think you might be wanting to see. But, if you need to get in there I can create some credentials for you if you want to message privately.
So, left to right. Topics…I created a couple in topics and one by going to the page and opening the forum. Next, the page created with just the shortcode. I didn’t even use elementor. Just straight to add new page and shortcode using the name in the root. The last one, I opened the site and used an incognito window to view the page.
As you can see, it’s like it’s calling up archives. Looking back, I didn’t mention that before. That was really dumb. It’s been doing that all along. After deactivating all plugins, this is what made me believe I actually needed to reinstall WP. Honestly, this index thing is not my actual issue. LOL maybe we can address that one later? But bc of the archives thing, I am afraid to move forward.
Hopefully, now that you have the whole story, you will recognize my error and be able to just say comment this code out with your child’s functions.php or add that to some other file or whatever. And all will be well 🙂
Thank you so much, Robin. I look forward to hearing from you.
Storm
https://gyazo.com/ab8f8fd010ba5967cce876c547b971b4
Hi all, I think I figured it out. I upgraded ibp 3.1 to 3.4 and then use bbpress covnerter and it work fine 🙂 Thanks