ok, that’s a problem.
The undefined function is breadcrumbs_plus_get_parents which is not a bbpress function.
Do you have any plugins that do anything with breadcrumbs?
They tell me that since it’s a bbPress issue, they won’t provide a solution.
That’s great – thank you.
This error says that it is within the plugin directorypress
Call to a member function is_built_with_elementor() on bool in
/homepages/25/d981722677/htdocs/clickandbuilds/nombreweb/wp-content/plugins/directorypress/includes/directorypress_functions.php:
but below seems to indicate it is having a problem with the bbpress template
/template-loader.php
But that does not mean it is the fault of directorypress, or indeed bbpress !
There are 2 methods of getting bbpress to display
which method are you using in this guide
https://codex.bbpress.org/step-by-step-guide-to-setting-up-a-bbpress-forum/ item 3
this is a known bug.
either
if( !function_exists( 'bbpress_browser_supports_js' ) ){
function bbpress_browser_supports_js() {
echo '<script>document.body.classList.remove("no-js");</script>';
}
add_action( 'wp_footer', 'bbpress_browser_supports_js' );
}
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
or
Hi all,
I`m using BBpress on a wordpress website with Elementor Pro – When a YouTube share link is embedded inside a forum topic it does not seem to be responsive when viewed from a mobile device.
The rest of the forum page looks fine on mobile it`s only the Youtube video that is not resizing according to the mobile dimensions.
Is there a solution to this?
Looking at your site, I think you are using one of the new block or 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, you will find instructions on how to set up
Hello,
Wordpress version 6.5.4
bbpress version 2.6.9
buildingbetterleaders.blog
I’m using Bluehost as provider and blog theme called Version 3 (labeled as version 1.0.0 and called a child theme of YITH Wonder).
I’m very new to WordPress, brand new to bbpress, and brand new to bluehost. I followed the directions to install bbpress, create a forum, and create a topic. I see those in my dashboard. My root slug is set to ‘forums’ and the permalink is setting is ‘postname.’
Nothing appears at https://buildingbetterleaders.blog/forums/
I appreciate any help! I’ve searched through the forums. Most people are getting their forum to appear. I couldn’t find a topic like this one.
I’m experiencing this issue as well in June 2024.
I don’t seem to have the Repair Forums option in bbpress > Tools
Reply is slow for posting and for replying to first level posts.
WordPress 6.5.4
Any help would be greatly appreciated. People are posting multiple times because they think it’s not processing when they hit submit.
this is free software with free support offered by volunteers who do not get paid anything.
You come across as slightly rude and entitled, but I’m sure you do not mean to do so.
However it looks like I was wrong when I said the style pack has a fix – I may have removed it following buddypress 12 being released,.
This plugin bridges bbpress and the newer versions of buddypress – if that does not fix, do come back.
BP Classic
I’m getting the same message trying to add a new role.
function add_vahennetyt_role() {
$subscriber = get_role('subscriber');
add_role(
'vahennetyt_oikeudet',
__('Vähennetyt oikeudet'),
$subscriber->capabilities
);
$role = get_role('vahennetyt_oikeudet');
if ($role) {
$role->remove_cap('edit_posts');
}
}
add_action('wp_loaded', 'add_vahennetyt_role');
Sure, it’s not an error, but I’m getting like 6 of these lines every time anyone loads any page.
[12-Jun-2024 07:47:34 UTC] PHP Deprecated: Creation of dynamic property BBP_Forums_Component::$members is deprecated in /home/.../public_html/wp-content/plugins/bbpress/includes/extend/buddypress/loader.php on line 149
[12-Jun-2024 07:47:36 UTC] PHP Deprecated: Creation of dynamic property BBP_Forums_Component::$members is deprecated in /home/.../public_html/wp-content/plugins/bbpress/includes/extend/buddypress/loader.php on line 149
I’d appreciate it, if I could see all the actual errors and warnings in my logs and not have to slog through these un-messages.
Cheers.
No, they are just the images we are using via the divi builder on one of our pages. Only one of the images shows, the rest are there in the back end, and as soon as I deactivate bbPress, they all show.
Thank you!!
hmm… I think I have not fixed it enough !!
part of removing those fields was also getting passed the subsequent checks that bbpress does before allowing the topic to be posted. Looks like it is failing one of those if you are not getting posts saved and displayed.
can you try disabling one at a time and see if it never works on posting or doesn’t when x field is missing
Hello.
We have an issue where our thumbnails are not showing when bbPress is enabled. I did a plugin conflict test, and it is only when bbPress is deactive that the issue is resolved.
Are you able to help with this issue?
Hi everybody. I wanna remove login part of BBpress and let my user just login with one way which is used in other part of my site. mean Digits…
would u please help me do this..
The page I need help with: https://polaby.com/forums/topic/%d8%a7%d9%86%d9%88%d8%a7%d8%b9-%da%a9%d8%a7%da%a9%d8%aa%d9%88%d8%b3/
if you have a visual editor, presume you are using another plugin to add this, as it is not natove to bbpress?
Apologies should have given the name.. its GD bbPress Tools
I want to display the latest posting date and time in “Last Post” at the top of the forum.
File:\bbpress\loop-single-forum.php
Part you want to change:
<?php do_action( ‘bbp_theme_before_forum_freshness_link’ ); ?>
<?php bbp_forum_freshness_link(); ?>
<?php do_action( ‘bbp_theme_after_forum_freshness_link’ ); ?>
I want to write it like this:
2024-06-07 13:35
It’s kinda hard to fix issues if the original post starts with
‘I am using ASTRA pro theme 4.6.9 and bbpress 2.6.9’ and now you say that you were not using this.
But I cannot immediately replicate with the current free theme, and will leave it for the time being
Got it to work, Had another BBpress tools plugin installed that was clashing with it. Thank you so much for all your help etc much appreciated.
ok, so if you can’t the fields, that means they aren’t being saved.
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
You thoughts are essentially correct, bbpress just uses wp_posts.
So yes if you migrate dev to live you will overwrite the forum, the same is true for comments and anything else that uses the posts table, which is quite a few other plugins you might use later. lots of other tables used by wp plugins also can change in live whilst you are trying things in dev.
In essence you should treat dev as just that – ie not a copy of live, but an environment to check site functionality and look.
There is also a danger if you work in dev and add links and images, these will be the url of the dev site, so when the pages are migrated across all will look ok on the front end, but actually you will be using data/images from dev.
So plugin and theme updates should be tried in dev first, and then repeated in live rather than migrating.
For pages and posts, copy/paste is very easy to use – much of the time you will only be changing one or 2 pages.
If you are using the standard blocks, then switching to the code editor (the 3 vertical dots top right of a page or post edit and then look for the ‘code editor’ choice) make copying/pasting pages and posts super easy.
Yes it is a bit more of a pain, but as you site develops you’ll be glad you learned the techniques
Hi Folks,
I’m setting up a training website for a small company. The site consists of posted training materials and a BBPress user forum. I’ve noticed that when I update the production site from our development site the posts in the forum on the production site are overwritten. After each upgrade the forum in production only contains the test posts made in the development environment.
As far as I can tell this is because both the training pages and the BBPress forum are stored in the ‘wp_posts’ database. I’ve tested migrating all database tables except ‘wp_posts’ and confirmed that the forum is not overwritten, unfortunately, neither is the training content on other pages. Is there anyway to migrate page content from the development environment to the production environment without overriding user posts in the forum?
(BBPress version 2.6.9)
(WordPress site supported via WPEngine)
Thank you for you help!
Zach
Bonjour,
function restrict_bbpress_topic_creation() {
// Vérifier si l’utilisateur est sur une page de création de sujet
if ( bbp_is_topic_create() ) {
// Vérifier si l’utilisateur est un administrateur
if ( !current_user_can( ‘administrator’ ) ) {
// Rediriger l’utilisateur vers la page d’accueil du forum
wp_redirect( bbp_get_forum_url() );
exit;
}
}
}
add_action( ‘template_redirect’, ‘restrict_bbpress_topic_creation’ );
Ce script vérifie si l’utilisateur essaie de créer un nouveau sujet et le redirige vers la page d’accueil du forum s’il n’est pas administrateur. Ajoute ce code dans ton fichier functions.php et teste pour t’assurer que ça fonctionne comme prévu.
In case anyone is curious, this works with the bbPress Members Only plugin.