The Importer runs smoothly until it gets to “Converting Replies”. It then just gets stuck somewhere in the middle of processing replies… I just see the rotating loading Symbol. At my last try to get this done, it already got stuck at “Converting Replies 0-99” …..
This is an awful error and wish I could replicate it so it can be fixed, sadly haven’t been able to achieve this yet. Its usually caused by character encoding in the database, more can be found on this issue in the codex here:
• https://codex.bbpress.org/getting-started/importing-data/import-forums/import-troubleshooting/
So where are replies 100-200 ???
The importer will, rather should continue on from where it left of when you stop then start it again, the way it currently works is it stores the current value and reads that when you start it again, I’ll take a closer look at the code to see if thats not doing what it is supposed to be doing.
You should also use the “development version” aka bbPress 2.6 alpha, theres some new import improvements, you can get this from the following page or direct link:
• https://wordpress.org/plugins/bbpress/developers/
• https://downloads.wordpress.org/plugin/bbpress.zip
Hello
I want to prevent user role with participant from creating new topics. By default, registered users are given the participant role. I want the forums to be organized and if I allow everyone in they will mess the forums.
I read this: https://bbpress.org/forums/topic/prevent-users-from-creating-topics/
But it’s no longer applicable to the current version.
I tried this fix:
.bbp-topic-form {
display: none;
}
But it’s incorrect because users will not be able to edit their replies and it affects the functionality of forums.
Please help!
Hi everyone,
I was trying to read some topics on this, but couldn’t get it to work. I am working on:
http://independentflorida.com/forums/forum/presidential-election/
I am trying to get the bbPress sidebar (like on the main forum page) to apply inside each forum and each topic. I tried to go through #26 on the codex link without using a plug in. I’ve also tried WP Tweaks. I would like to fix it with as few active plugins as possible.
It seems to me like the problem is the page set to full width, but I’m not an expert. I’m hoping someone can help me go in the right direction. Thanks!
Greg
Guys, I’m having a major problem with bbPress on my site.
If I have bbPress activated, I can’t do ANYTHING in the wordpress admin (Create, Edit, or Delete Posts, Pages, etc). bbPress is slowing my site down to a crawl. It’s so slow, that the page eventually just times out.
This has to be a flaw in the bbPress code, because there’s no reason why bbPress should be running on every page of the wordpress admin. That’s incredibly ineffecient on your server resources.
Can someone please help me fix this problem?
Thanks,
Hi Bob,
If you want it the easy way, install my bbP Toolkit where you can change the separator to new line.
If you don’t feel in adding extra plugins, check item 1 on https://codex.bbpress.org/layout-and-functionality-examples-you-can-use/
Pascal.
Latest WordPress is up to date, bbpress 2.5.8, Divi theme
Using the shortcode [bbp-forum-index] my forum structure appears on the page as
Forum
Subforum 1, Subforum 2, Subforum 3
How can I get it like this?
Forum
Subforum 1
Subforum 2
Subforum 3
Hi,
I want forum looking like phpbb, example below. Where I marked the categories and forums must look like.
I trying to detect categories with this code:
<?php $q_meta_forums1 = array( 'meta_key' => '_bbp_forum_type', 'meta_value' => 'category'); ?>
<?php $categories_q = new WP_Query( $q_meta_forums1 ); ?>
But $categories_q returns nothing. It’s the main problem for now.
So, then I want in loop-forums.php with code above build categories structure and in ‘while’ cycle make another one which will be show sub-forums of categories.

Problem is the same, but design is from WordPress.. and the website now is on my local mashine.
Here is the php of created bbpress.php
Code is really simple:
<?php get_header(); ?>
<div id="primary">
<div id="content" role="main">
<?php if ( have_posts() ) : ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'content', get_post_format() ); ?>
<?php endwhile; ?>
<?php twentyeleven_content_nav( 'nav-below' ); ?>
<?php endif; ?>
</div><!-- #content -->
</div><!-- #primary -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>
But the two pages look different..
Website crop
Looking at html I have noticed, that newly created page has a different body class assigned and so is not recognized as bbpress forum archive page, but rather as a page..
<body class="page page-id-902 page-template page-template-bbpress page-template-bbpress-php custom-background single-author singular two-column left-sidebar">
The breadcrubs issue I have noticed just when I read this..
As that I guess will get fixed after the the page will be understood as forum archive page..
Hi,
Sorry it took me some time, but this hopefully works. Just add in a functions.php or so.
Will add it in next version of my bbP Toolkit …
function casiepa_change_admin_links_sep($args) {
$args['sep'] = '';
return $args;
}
add_filter('bbp_after_get_topic_admin_links_parse_args', 'casiepa_change_admin_links_sep' );
add_filter('bbp_after_get_reply_admin_links_parse_args', 'casiepa_change_admin_links_sep' );
Pascal.
ok, may be you know how to distinguish forum type via WP_Query()?
$query = new WP_Query('post_type=category'); – not working.
It should be sufficient to create a page at that permalink and add the [bbp-forum-index] shortcode in it.
Pascal.
No sooner had I posted then I found the cause – it’s my theme. Switched to another and it appears.
I suspect it’s to do with the fact that it’s not pointing to a physical page. Can I create a page as the root and use a shortcode to display the contents? When I’ve tried to change the root name to my page name it throws up an error.
David.
Thanks, I checked that page before, that is why I have bbpress.php file.
Just for the sake of interested I again tried, copied the code from given link instead of using get_template_part, however no difference.
Constructed page is then visualized as default template, streched in full extent, without any sidebar..
One more thing:
I see that the body class assigned to that constructed page is like for a simple post, has tags like
page, page-id-xx, page-template, page-template-bbress .. while the automatically created forum page has forum-archive, bbpress..
Does it make sense, should I try to change body class??
I just can’t figure it out with the templates noomatter how much I am googling as I am new and can’t get what exactly the problem is. I have followed so many different tutorials, but well, they didn’t lead where I want.
What I have:
a website running localy with a child theme of twentyeleven with a sidebar.
After installing bbpress, the the default forum page ‘sitename/forum’ was well visualized, but the sidebar was empty and the forum did not have full extent.
I wanted to add text before the forum itself as well as create a new sidebar and so created a new page ‘sitename/forums’ choosing ‘Sidebar Template’, with text and then shortcode [bbp-forum-index]. Also created a new sidebar an registered it. Searching for changes created bbpress.php which is simply my index.php (as I can’t find any php file named template.. just sidebar.php, which is not the one I want.). Also tried to make same php as template adding * Template Name: Forum Template to be able to chose it from dashboard.
Now I have:
*default forum page [sitename/forum]- that has a view as I want, till the moment I click on the topic that gets displayed as page per whole extent while also showing the bbpress sidebar = overlapping.
*created forum page [sitename/forums] that I indeed want to have, that has this overlaping problem, and not displaying the bbpress sidebar instead the usual one.
Checking with firebug it is clear that on default forum page, articles are presented as forum pieces, but in the created forum page they are simply presented as articles.
So I suspected I should change smth here instead of the content calling smth different.. <?php get_template_part( 'content', get_post_format() ); ?>
However it just looks like nor my created template, nor page bbpress.php is understood as bbpress page.. (as my sidebar is checking that and so it does not appear).
If someone could direct where/what to read or try out I would really appreaciate,
Thanks in advance,
Probably something with this function so adding [Delete] or a button after every topic title
// define the bbp_template_after_topic_tag_edit callback
function casiepa_bbp_template_after_topic_tag_edit( ) {
echo ' <a href="">[Delete]</a>';
};
// add the action
add_action( 'bbp_theme_after_topic_title', 'casiepa_bbp_template_after_topic_tag_edit', 10, 0 );
Or maybe better only when they open the topic itself ?
But as said I’ll have another look in the next days.
Pascal.
This is really a bummer for lot of my users. After hours of research into the codes, I just found the ticket, addressing why <li> breaks the site (being an invalid HTML).
Sorry for this bump(ish) post. Is there a temporary workaround or fix for this? For now, I’m planning on putting up a custom notice, advising the participants not to use </li><li> the wrong way.
Also, I’m curious how bbPress (this forum) handles this.
Edit: I think the issue is self-explanatory here.
Hi Jessicana,
If you want to make it yourself very easy, install my ‘bbP Toolkit’ where you can just flag away these boxes.
If you don’t want to install the plugin but want to play with CSS, then the below should hide the message, but not only that one as also these ones will be gone:
– You must be logged in to create new topics
– Your account has the ability to post unrestricted HTML content
– Maximum file size allowed
– …
.bbp-template-notice {
display: none;
}
.bbp-template-notice.info,
.bbp-template-notice.error,
.bbp-template-notice.important,
.bbp-template-notice.warning {
display: block;
}
EDIT: Moderators are asleep, ssssttt !
Pascal.
Hello,
It doesnt work, I add these code in the end of functions.php file
but get an error of this file and make the website cannot be accessed
Please provide more guidance, thanks!
Yes–it was a private parent forum. Ok good news and bad news–I replaced the code in post.php:
if ( ‘publish’ === $parent->post_status ) {
replaced with
if ( ! empty( $parent ) ) {
The permalink has been fixed, but now I am getting errors:
Warning: Cannot modify header information – headers already sent by (output started at /public_html/wp-includes/post.php:1) in /public_html/wp-admin/post.php on line 197
Warning: Cannot modify header information – headers already sent by (output started at /public_html/wp-includes/post.php:1) in /public_html/wp-includes/pluggable.php on line 1228
What does this mean?
Hi All.
I think that I have a similar problem, maybe the same problem.
If anyone advise me I will be very grateful.
Unfortunately I am not a programmer and I can not help myself.
I tried to insert this code from @gperez-tl
add_filter('bbp_get_reply_position', 'lugpa_get_reply_position', 10, 3);
function lugpa_get_reply_position($reply_position, $reply_id, $topic_id){
if(empty($topic_id))
$topic_id = bbp_get_reply_topic_id ($reply_id);
$numReplies = bbp_get_topic_reply_count($topic_id);
return ($numReplies+1) - $reply_position; // plus one because of thread description
}
into my theme functions.php but it does not work for me.
For example, in this topic:
3.1.2016 Supercars @ Brands Hatch
Links to first posts (#9129) refers to the wrong url to page2, but this post is still on page1…
Other post urls on this page1 is OK. When i go to page2 every post has bad URL refers to page1.
Please help if you can… Thanks
seems it is pasting the date of the original topic, not the date of it’s latest reply.
so the site is posting
<a title="2016 Targets" href="http://www.harrisonchapmankarate.com/forums/topic/2016-targets/">1 week, 1 day ago</a>
when it should be posting
<a title="Reply To: 2016 Targets" href="http://www.harrisonchapmankarate.com/forums/topic/2016-targets/#post-3442">17 hours, 55 minutes ago</a>
what theme and plugins are you using?