I don’t understand, after so many updates to the bbPress core and so many questions in your Support forum about it, that this issue has not been resolved.
free software with free support – sorry but that is the quick answer. The authors give up their free time to make this available, and they choose what is important.
So you expecting someone else to spend their time for free fixing what you perceive to be your issue, and then feel justified to complain that you have spent ‘way too much time’ doesn’t really cut it.
sorry, you chose the wrong day to start ranting at other people.
I have been spending way too much time on trying to change the text editor for bbPress forums. Members should not be expected to know how to use html (which most don’t), and many will post text from other websites into a text box. I don’t understand, after so many updates to the bbPress core and so many questions in your Support forum about it, that this issue has not been resolved.
I added code recommended on the bbPress site in the child theme functions.php for my site, added TinyMCE Advanced, and searched for a checkbox in Forums Settings to enable a fancy editor. That checkbox is not in the list of options on my site. And all I see in the text editor for topic replies is the html buttons. Could someone please help us with fixing this issue. The plugin recommendations on this support forum are from many years ago, and those recommended plugins are out of date, no longer being updated, or cause problems for sites when installed.
I would really appreciate assistance. Thanks.
Getting “A variable mismatch has been detected.” error when trying to Move or Split a Topic or Reply as the Admin from the frontend. I’m using the most recent versions of BBPress, WordPress, PHP, and using the FreeLance Theme.
Any help appreciated.
Hello,
I am using buddypress and bbpress. The error “You cannot create new discussions” appears when a non-member visits a group with a discussion. I understand this is standard functionality. However, is it possible to allow non-members to post in a groups discussion, without first needing to be a member?
Thanks,
– D
Hi there
I recently installed bbPress on the WordPress website of our neighbourhood assistance.
We realy need this forum working since we have to coordinate assistance during the coronavirus lockdown here in Zurich (Switzerland).
It seems that there is a bug in regard to threaded replies. I checked out older topics in this support forum but nothing helped. Replies to replies do not work. if I click ‘Reply’, focus jumps to the bottom of the topic and the reply is placed there.
I appreciate any quick help very much so we can reach out to those who offer help and those who need assistance.
Wordpress: 5.3.2
Theme: Hestia
bbPress: 2.6.4
URL: https://zeitgut-zuerich.ch/forums/thema/nachbarschaftliche-unterstuetzung/
no need to change them – they are only names, although you could change
add_action('bbpress_daily_event', 'bbpress_close_old_topics');
to
add_action('bbpress_daily_event', 'bbpress_delete_old_topics');
and
function bbpress_close_old_topics() {
// Auto close old topics
to
function bbpress_delete_old_topics() {
// Auto delete old topics
which would just make it clearer what it was doing – but not necessary !!
Robin, sorry another quick question do I have to replace all references to ‘close’ with ‘delete instead in the other sections of the code? e.g in this one
add_action(‘bbpress_daily_event’, ‘bbpress_close_old_topics’)
Thanks… sorry I’m not more up on this kind of thing…
Good day
I have one problem, I lost not all but some of my replies in the forum.
The problem started when I installed WpFence it then broke my site and in the front end the replies were not showing. At the time, I could not login to the site’s dashboard, the site being https/www.labourlawadvice.co.za, with a Worpress version of 5.3.2, Bbypress Version 2.6.4 and Divi theme.
I then went to cPanel and disabled WpFence was able to login back in but still the replies where not showing n the front end. By then I discovered that even though I can now login but I can’t update the plugins. I then went to the cPanel again loaded updated Divi theme and BbPress buy then, the site was giving me an error of memory which all settings were correct.
I the was forced to use the only backup of the site left, which was saved before migration using WPvivd.
Now, some replies are missing and need help to recover them, if there is a solution to such problem.
Thank you
Hi there
Do you know if this “wrong behaviour” is still present in bbPress 2.6.4?
I get
Uncaught TypeError: Cannot read property ‘scrollHeight’ of null
at Object.scrollToForm (reply.min.js?ver=2.6.4:3)
at Object.moveForm (reply.min.js?ver=2.6.4:3)
at HTMLAnchorElement.onclick (VM467:570)
This is quite inconvenient since I try to setup a forum for our neighborhood assistance due to the coronavirus lockdown.
It’s a private website for our HOA so I would need to change it to public to make the link work. Not sure what you would see other than a grayed out post. The settings for the post are “Super Sticky” and “Closed”. Simple plain text.
My real question is why manually editing the color code in the CSS files doesn’t have any effect. I have deleted the forum, deactivated bbpress, activated bbpress, and created a new forum. Shouldn’t that pick up the changed CSS files? My host is Bluehost if that makes any difference.
I edited both the bbpress.css and the bbpress-min.css files to change the “status-closed” text color from #ccc to #000 as indicated in any number of posts on this topic. Still shows up as gray text.
I have a bad omen for my question after finding this:
Mark All Forums As Read
Just as an update, editing the content-archive-forum.php file worked and the GD Power Search for bbPress plugin now works as expected
Many thanks for your guidance
I’ve put that change in my site and submitted the patch in the trac. The best thing is that you reported this 4 months ago!! https://bbpress.trac.wordpress.org/ticket/3297
hmmm… css won’t do it then.
you’ll need to amend content-archive-forum.php in your child theme
find
wp-content/plugins/bbpress/templates/default/bbpress/content-archive-forum.php
transfer this to your pc and edit
delete line 17
<?php bbp_get_template_part( 'form', 'search' ); ?>
and save
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
Then transfer the file you saved above and put in in the directory called bbpress that you created above, so you end up with
wp-content/themes/%your-theme-name%/bbpress/content-archive-forum.php
bbPress will now use this template instead of the original
Hi Robin, just cleared the cache and found that via GD Power Search for bbPress plugin, the default search works, but when I then select advanced search, the page/script for advance search does not appear. Home › Forums › Search ?
I have left it running an my site incase you get a chance to try for yourself, you do not need to be a forum member for searches etc on my site ?
https://uktechhub.com/forums/
@robin-w This is not working as expected and I think there is a bbpress bug. I’m currently testing in my localhost but I think I will publish on trac what I’m finding
put this in the custom css of your theme
#bbpress-forums #bbp-search-form {
display: none !important;
}
Hi
Currently running bbPress 2.6.4 and would like to understand how to remove / hide the default search bar that appears at the top of the Forums page listings
I have in a side bar widget set-up ‘GD Power Search for bbPress’ – (works very well), just need to remove the Search bar from the top of the Forums page as looks out of character for my forum
Forum is https://uktechhub.com/forums/
Thanks
I’ve checked the bbpress code and it seems that something is hindering my site
Theorically it shall show the last replay by default without the need of a plugin because it technically should be saving the last active id in the forum post meta field _bbp_last_active_id
Not sure what can be hindering my forum behaviour :S
I’m checking this very old plugin
bbPress Go To First Unread Post
Isn’t this implemented by default in bbpress nowadays?
They may have quit working on it.
I did some digging through their code, and came up with something for you to try if you want.
You’ll add the below code to your theme’s functions.php file, once you add the code and save the file. Reload your WordPress admin area by refreshing the page/browser, then remove the code and re-save the file.
Go to your discussions page, and try out that button(Apply settings to existing posts) again and see if it works for you.
if(!function_exists('bbppt_reset_topics_for_posts_meta_fix')){
function bbppt_reset_topics_for_posts_meta_fix(){
$args = array(
'meta_key' => 'bbpress_discussion_comments_copied',
'post_type' => 'post',
'post_status' => 'any',
'posts_per_page' => -1
);
$posts = get_posts($args);
if($posts){
foreach ($posts as $post) {
delete_post_meta( $post->ID, 'bbpress_discussion_topic_id');
delete_post_meta( $post->ID, 'bbpress_discussion_comments_copied');
$comments = get_comments( array( 'post_id' => $post->ID, 'order' => 'ASC' ) );
if($comments){
foreach ($comments as $comment) {
delete_comment_meta( $comment->comment_ID, 'bbppt_imported');
}
}
}
}
}
add_action( 'admin_init', 'bbppt_reset_topics_for_posts_meta_fix' );
}
This probably comes too late to be of any use to you, and maybe your error had a different cause, but I encountered this problem on my site yesterday and was able to fix it by deleting some replies that did not have associated parent topics in the wp_posts database.
I accessed wp_posts using PHP My Admin, entered “reply” next to “post type”, and manually deleted all posts that had “0” under their “Post parent”.
In my case the error appeared after I clicked on “Replies” – “Add new” – “Preview” in the dashboard. It created an errant entry in the database. It’s probably a bbPress bug.
Please use maximum caution before modifying the database though, and don’t do it if you don’t have a proper backup.
Put this in your child theme’s function file – or use
Code Snippets
change the ‘-10 days’ to say ‘-90 days’ if you want 3 months
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 );
}
}