We encountered a severe problem. A couple of weeks ago we converted our PHPBB forum to bbPress.
The converted forum was doing all functions as expected. Since three days ago users who where already member on the PHPBB forum cannot login after renewing their password when they donot spell the nice-name correctly.
Then they get the message: Warning: register_shutdown_function(): Invalid shutdown callback ‘BBP_Converter_DB::__destruct’ passed in E:\wamp64_bert\www\forum\wp-content\plugins\bbpress\includes\admin\classes\class-bbp-converter-db.php on line 35
So far we have traced that it must have something to do with the information stored in the table usermeta with meta_key ‘_bbp_class’. When we remove that record the user can login as expected.
The only change to the systems has been the update of WordPress. May be that has something to do with it. Our knowledge of debuging is rather limited so we need urgent advice on how to fix this problem.
We have seen that similar problems have been reported in the past but no solution other then removing and reentering the user was mentioned. That is not a reel solution because the orignal name of the author is lost.
Wo can provide us a solution or hint to solve our problem.
Best regards,
Bert
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
Hello everyone,
we use bbpress 2.6.9 with wordpress 6.1.1, both acutal version. On the edit my profile page the update profile button does not appear, so nobody can save changes to their profiles.
Can somebody help me please? Do you need any more information to solve the problem?
Many thanks,
Antonio
bbp style pack
once activated go to
dashboard>settings>bbp style pack>forum roles and you can set the topic author
Thanks Robin! All topics & replies can already display freshness.
One more thing about lead topic. I’d like to add a label like “Thread Starter” on top of the avatar of the topic starter for every reply (EXCEPT the lead topic) from the topic starter. In this case we will always keep track on who is the topic starter as the conversation goes on.
It is similar to the screenshot below (from other WordPress forum):
https://paste.pics/MRVM6
Regards.
you can leave the template for time unchanged.
add_filter ('bbp_get_topic_post_date' , 'rew_change_to_freshness', 10 , 6) ;
add_filter ('bbp_get_reply_post_date' , 'rew_change_to_freshness', 10 , 6) ;
function rew_change_to_freshness ($result, $topic_id, $humanize, $gmt, $date, $time) {
$result = bbp_get_time_since( bbp_convert_date( $time ) ) ;
return $result ;
}
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 am using WordPress version 6.1.1 and bbPress version 2.6.9. I need to add a next and previous button to navigate to next and previous topics in the forums. Currently we are reading a topic and there is only back button to navigate to other topic. Is there any option to add next and previous buttons in forum discussion page.
Install this additional plugin
Private groups
once activated go to
dashboard>settings>help to see how the plugin works, but then look at ‘topic permissions’ tab, which has the exact example you are after.
Created a forum (for a school) with the top level being a category, directory type closed to act as a single parent. Created a sub-forum as a child to act as a school class (one of more to come). There will be a fixed number of topics underneath, each representing an assignment for certain chapters. Students will create replies but cannot add topics because they are fixed. However, I understand if you close the sub-forum to prevent topics from being added you also prevent any replies. There apparently is no easy way to circumvent this. I have the latest WordPress installed and it’s a Twenty Sixteen theme. The site is http://www.biblebookletschool.com.
I saw that thread before and few others but could not find any solution, literally spent ages trying to sort this out. At the end installed WPforo, but really wanted to go with bbpress since it’s made by the WordPress developers and has a lot of users. Although it has very infrequent updates.
So I understand bbpress creates their own pages in php. This is not a divi problem because it doesn’t even load with those php search pages but does for other forums index, topics and stuff. It’s a shame
maybe look through these, bbpress simply uses custom post types of ‘forum’, ‘topic’ and ‘reply’, so any that will let you add custom posts types should be fine
https://blog.hubspot.com/website/best-wordpress-related-post-plugins
This is one of the new FSE themes, so you need a fix to work with bbpress.
install
bbp style pack
once activated, navigate to
dashboard>settings>bbp style pack, and you should see the first tab called ‘Theme Support’ – if you don’t see this, come back.
In that tab, select
Enable Theme Support
and save
Excuse me, sir. What do you mean?
I mean related topics at the end of the topic or widgets.
There are plugins that do this, but they do not work with bbpress. like: YARPP.
I installed bbpress 2.6.9 and bbp style pack 5.4.2 and I set up two forums and one test message so far. I was able to change most of the look with the bbp style pack but what I can’t figure out is how I change the root page of the forum. All I see is above the two forums is the word “Forums” in big red letters. I tried using elementor pro and the regular editor but it doesn’t work.
I’m using WordPress 6.1.1 and site is behind a maintenance plugin under development.
This code will truncate the title
add_filter ('bbp_new_topic_pre_title' , 'rew_limit_topic_length' ) ;
add_filter ('bbp_edit_topic_pre_title' , 'rew_limit_topic_length' ) ;
function rew_limit_topic_length ($topic_title) {
$length = 40 ;
if (strlen($topic_title) > $length) {
$topic_title = substr($topic_title, 0, $length);
}
return $topic_title ;
}
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
for your second issue, it is site/theme specific, I’d need to see the site and a real example
ok – thanks
bbp style pack
once activated go to
dashboard>settings>bbp style pack>Profile
bbp style pack
once activated go to
dashboard>settings>bbp style pack>Subscription Management
and activate
From that screen you can set up new users to be subscribed
and from
dashboard>forums>all forums>and for each forum click subscriptions and you can subscribe all then current users to that forum in a couple of clicks. Repeat for all current forums
Wordpress 6.1.1; BBpress Version 2.6.9
Hello,
My website is dedicated to a private community. It uses BBpress to give access to several forums organised hierarchically. The members need to be informed of every message that is posted but they do not want to subscribe to every forum of the the site by hand.
Is there a way to automatically set subscription parameters of every forum to on when a new account is created ? Each member could then unset the subscription parameter to off il he doesn’t want it anymore.
The default setting for subscribe to forum, would actually be “on”.
Thanks for your answer
install
bbp style pack
once activated, navigate to
dashboard>settings>bbp style pack, and you should see the first tab called ‘Theme Support’ – if you don’t see this, come back.
In that tab, select
Enable Theme Support
and save
still playing with this – am now chatting to one of the FSE advocates within wordpress – so hoping that we will make progress
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
My Frontend, but I think there is a conflict with WordPress, because when I go to the “View user” option, in wordpress, the url http://www.example.com/forums/users/{user name} appears.
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