there are filters for topics and replies
bbpress 2.6.6\includes\topics\functions.php lines 389 and 705
$redirect_url = apply_filters( 'bbp_new_topic_redirect_to', $redirect_url, $redirect_to, $topic_id );
$topic_url = apply_filters( 'bbp_edit_topic_redirect_to', $topic_url, $view_all, $redirect_to );
bbpress 2.6.6\includes\replies\functions.php lines 473 and 768
$reply_url = apply_filters( 'bbp_new_reply_redirect_to', $reply_url, $redirect_to, $reply_id );
$reply_url = apply_filters( 'bbp_edit_reply_redirect_to', $reply_url, $redirect_to );
which Weglot can apply query args to
how are you installing bbpress ?
normally I would expect you to go into
dashboard>plugins>add new and select bbpress, install and activate
bbpress does not have ‘welcome to the bbpress installer’
Hi,
My current WP configuration
– WordPress version: 5.4
– BBPress version : 2.6.6
– Website Link : https://kam-webagentur.fr
Problems encountered :
I installed WordPress but I am having a problem installing “bbpress” which I want to integrate with WordPress.
I arrive at the “Welcome to bbPress installer” installation interface
and this is the error message I get once I run the installation.
Fatal error: Call to undefined function: wp_check_invalid_utf8 () in /www/forum/bb-includes/functions.wp-core.php on line 60
What is the procedure to stop getting this error message ???
Thank you in advance…
Hi there,
Im using Weglot to translate my website. I have 12 forums. A forum for each language.
I have a serious problem, if I am viewing, for example, my website in Spanish, and I publish a new topic or respond to an open topic, my website loses the current language when I hit the send button.
I have spoken to Weglot technical support and they tell me this:
It seems that I’m not able to reach the form action that redirects to the URL with /forums/topic/title_id
There’s always a 302 redirection to the next URL and I’m not able to counter that.
I think this setup is made her > https://desa.laprairievirtualbaevent.com/wp-admin/options-general.php?page=bbpress
However, I’m not able to add a condition regarding the current language.
Can you maybe contact BBPress support asking them how can we add a condition regarding the current language or the current URL?
How can i fix this? Is very urgent!
ok, hard to help without a link – a bit like trying to fix a car by email 🙂
try
#bbpress .post-navigation {
display : none !important ;
}
add this to your theme’s custom css
With bbPress 2.6.6 I have the following problem:
I use bbPress only in Buddypress Groups. Every Group can has a forum. If somebody create a topic it post a activity post in the activity stream of that group with all information of the new topic. Then I edit the topic in the forum and change the text it wont change the text of the buddypress activity on the group activity stream.
With bbPress 2.5.14 this worked fine. the edit of a topic update the buddypress activity stream post.
Has someone a solution for me?
I have disabled all the plugins on my site and this issue is still happening… BBpress embeds the link (to a wordpress site) The image of the landing page and intro text is displayed but the links are not clickable…
Amphibian and reptile info pages at WH
I cant upload a screenshot here but the above link shows the issue…
Any ideas?
it could be a theme or plugin issue
Themes
As a test switch to a default theme such as twentytwenty, and see if this fixes.
Plugins
If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users
Health Check & Troubleshooting
Then come back
You and I both 😉
Try the first option: as it does depend on your Theme
i.e go to your Dashboard > Appearance > Customise > Additional CSS and cut and paste the following in there (exactly as it is)
#bbpress-forums #bbp-search-form {
display: none !important;
}
In my forum profile page the mentioned features does not work. When clicked there is just an answer “couldnt find what you are looking for” and a different page.
However the same type of profile features; “engagemanets”, “favourites” and “subscriptions” work just fine. They show correct info and within the profile page.
What can be wrong? Has never worked even before updates to the addons and WP.
WP: 5.6.1
BBpress: 2.6.6
http://www.glademokraterna.se
WP Version 5.6.1 – BBpress Version 2.6.6 – Site is currently private and in development.
I am trying to import a relatively small, private MyBB forum (200 Forums, 290 threads, 9000 posts, 50 users) however I keep running into an issue where the converter somehow gets a total count of 5703 threads which makes several duplicates of every thread. If it was a smaller circumstance I would just manually delete the duplicates however which such a huge number of duplicates I was hoping some skilled eyes might see or understand what has happened.
I have a bit of a background in coding so have been trying to troubleshoot through the code to understand when it is reading the thread table why it would end up with exponentially more thread rows than actually exist. In review the thread table I have confirmed that there are only 290 rows so I am not sure what the converter code is doing to create this circumstance.
I have read through the converter and converter class files, but can’t seem to pin point where in the Step Seven, Topic conversion that this error is being produced.
If anyone can provide any assistance with experience with this, or pointing me in the direction of the files of code that I should be trying to troubleshoot to ensure I am in the right direction, that would be greatly appreciated!
this turns comments on in bbpress
add_filter ('bbp_force_comment_status' , 'rew_set_comments_on') ;
function rew_set_comments_on () {
return true ;
}
Put this in your child theme’s function file –
ie wp-content/themes/%your-theme-name%/functions.php
where %your-theme-name% is the name of your theme
or use
Code Snippets
I suspect it is in an amended version in your theme
so look in the theme for a folder called bbpress – their amended version should be in there
Robin,
Doubtful they’d have a response. Is the ‘On’ atypical to normal bbPress installs?
If so, I can start looking at the theme instead of bbP.
-e
I’m digging through php and can’t locate where the word “On” gets inserted.
bbpress/includes/replies/template/php
lines 660-680
function bbp_get_reply_post_date( $reply_id = 0, $humanize = false, $gmt = false ) {
$reply_id = bbp_get_reply_id( $reply_id );
// 4 days, 4 hours ago
if ( ! empty( $humanize ) ) {
$gmt_s = ! empty( $gmt ) ? 'G' : 'U';
$date = get_post_time( $gmt_s, $gmt, $reply_id );
$time = false; // For filter below
$result = bbp_get_time_since( $date );
// August 4, 2012 at 2:37 pm
} else {
$date = get_post_time( get_option( 'date_format' ), $gmt, $reply_id, true );
$time = get_post_time( get_option( 'time_format' ), $gmt, $reply_id, true );
$result = sprintf( _x( '%1$s at %2$s', 'date at time', 'bbpress' ), $date, $time );
}
// Filter & return
return apply_filters( 'bbp_get_reply_post_date', $result, $reply_id, $humanize, $gmt, $date, $time );
}
FYI I use the free version of GD bbPress Tools that has a setting for the User Signature. This plugin is actively updated.
GD bbPress Tools
Got the above from this stackoverflow thread
My problem is exactly like that except for bbpress
1) this is the default case – users can post topics without anyone needing to approve
2) I think this does it https://wordpress.org/plugins/wp-monalisa/ according to https://bbpress.org/forums/topic/smiley-emoticons/
3) this is what you might want https://wordpress.org/plugins/moderation-tools-for-bbpress/
I have the same problem toiday with bbpress 2.6.6
I explained here : https://bbpress.org/forums/topic/forum-subscriptions-are-not-displayed-in-profile/#post-218191
Maybe you have an idea ?
Fatal error: Uncaught Error: Cannot use a scalar value as an array in ..\wp-content\plugins\bbpress-post-topics\index.php:924
Stack trace: #0 ..\wp-includes\class-wp-hook.php(287): bbppt_activate('')
#1 ..\wp-includes\class-wp-hook.php(311): WP_Hook->apply_filters('', Array)
#2 ..\wp-includes\plugin.php(484): WP_Hook->do_action(Array)
#3 ..\wp-admin\plugins.php(193): do_action('activate_bbpres...')
#4 {main} thrown in ..\wp-content\plugins\bbpress-post-topics\index.php on line 924
Edit: formatted for readability
The plugin ‘bbPress Topics for Posts’ could’ve helped buy I’m getting an error when I activate it.
so what exact error message are you getting ?
For your questions:
-Yes, I have a bbpress in the plugins folder (version 2.6.6)
-I have these files there in a Multinews folder => content-archive-forum.php
content-search.php
content-single-forum.php
content-single-topic.php
content-single-topic-lead.php
form-search.php
loop-forums.php
loop-replies.php
loop-search.php
loop-search-forum.php
loop-search-reply.php
loop-search-topic.php
loop-single-forum.php
loop-single-reply.php
loop-single-topic.php
loop-topics.php
-I put these files above in a bbpress folder in Multinews-child, and it’s them I’m transforming.
But sometimes I supplement these files with others that are in 2.6.6, for example content-single-user.php. Now I realize that they are not in the same version as those contained in Multinews that will cause me problems.
I can’t see to get
<?php comments_template(); ?>to work, it only outputs the stringcomments are closed.The plugin ‘bbPress Topics for Posts’ could’ve helped buy I’m getting an error when I activate it.Is there a way I could enable comments on/under forum or topic pages?