Hi there,
I’m trying to create a specific sidebar in my website. I’ve been reading about it in this forum and I’m following step 26 of the article ‘Layout and functionality – Examples you can use’.
What I did so far;
1. I added the code to register the sidebar in my functions.php of my child theme.
2. I chose the left-sidebar-page.php of my theme, copied it into my child theme and replaced <?php get_sidebar(); ?> with <?php dynamic_sidebar( ‘bbp-sidebar’); ?>. Because I read this in another topic of a theme salient user.
Now I have to edit the file like the example that’s mentioned in the article, but I don’t understand it. So this is where I get stuck.
Can someone please help me?! I’d really appreciate it!
Kind regards,
Eve
Ps. My website has a shop and LearnDash courses. The forum is meanly for the course participants and should be connected to the specific LearnDash courses. The theme I’m working with is Salient. The only other sidebar I have is the woocommerce sidebar.
bbpress works with smtp as far as I know, so it may be that the sending address is not liked by something in the email system.
If you are using the professional version, then enable logs to see if messages are leaving the site.
If you are not using the professional version of SMTP, install the ‘check and log email’ plugin which does much the same.
finally, try changing the sending email address using
bbp style pack
once activated go to
dashboard>settings>bbp style pack>Subscription Emails
and change the sending email to a real one.
Hi,
I am using the WP mail SMTP – Plugin, and bbpress is not sending emails (notifications) through this plugin.
After searching on the web, I found a similar issue on BuddyPress,
Buddypress registration ignoring WP Mail SMTP
They solved it with this code:
add_filter(‘bp_email_use_wp_mail’, ‘__return_true’);
Is there a similar procedure for bbpress?
Thanks
Juan
I understand completely. Makes sense.
I will have to find a plugin that makes it so I can limit permissions and capabilities per user role.
There is Permissions Pro and Capabilities Pro plugins that give me all that I need but sadly they do not support ‘topic’ posts. Do you know of any other plugins?
BTW
I have ACF to work great for me in the backend. All I need to do is put this code in content-single.php Maybe this will help somebody else who is using ACF with BBPress
`?>
YOU CHOOSE HOW MUCH INFORMATION YOU ENTER<br>
Catch Date & Time: <?php the_field( ‘catch_date_time’ ) ; ?><br>
Anglers: <?php the_field( ‘anglers’ ) ; ?><br>
Weather: <?php the_field( ‘weather’ ) ; ?><br>
Fish Caught: <?php the_field( ‘fish_caught’ ) ; ?><br>
Kept or Released: <?php the_field( ‘kept_or_released’ ) ; ?><br>
Lake Point Marker: <?php the_field( ‘lake_point_marker’ ) ; ?><br>
Water_Features: <?php the_field( ‘water_features’ ) ; ?><br>
Speed: <?php the_field( ‘speed’ ) ; ?><br>
Fish Depth: <?php the_field( ‘fish_depth’ ) ; ?><br>
Lake Depth: <?php the_field( ‘lake_depth’ ) ; ?><br>
Method Used: <?php the_field( ‘method_used’ ) ; ?><br>
Lure & Color: <?php the_field( ‘lure_color’ ) ; ?><br>
Image:
<?php
$image = get_field(‘image’);
if( !empty( $image ) ): ?>
” alt=”<?php echo esc_attr($image[‘alt’]); ?>” />
<?php endif; ?> <br>
<br>
<br>
Fishing Location: <?php the_field( ‘location’ ) ; ?><br>
<?php
$location = get_field(‘location’);
if( $location ): ?>
<div class=”acf-map” data-zoom=”13″>
<div class=”marker” data-lat=”<?php echo esc_attr($location[‘lat’]); ?>” data-lng=”<?php echo esc_attr($location[‘lng’]); ?>”></div>
</div>
<?php endif; ?>
<style type=”text/css”>
.acf-map {
width: 100%;
height: 400px;
border: #ccc solid 1px;
margin: 20px 0;
}
If there was a way to make this code or another code to work in the frontend posting topics I would be thrilled to death. BUT ACF will not help me for BBPress and BBPress will not help me for ACF. If I knew code more I am sure I could figure it out. It cannot be that hard.
Not sure this is achievable. The backend is meant for management. That you couldn’t get ACF to work is driving you down a path for which bbpress was never intended.
I think that to see the topic and replies on the backend needs the ability to ‘edit_others_topics’ or the ability to ‘moderate’ – maybe both.
By the way, it did set the bbPress role to “Participant”, which is what I wanted for that person. However, for the main wp user role, which is essential for other parts of the web site, it left it blank.
I can set the wordpress user role to the “Subscriber” role, manually in the dashboard. Unfortunately, after the user logs in, they will not be able to see other content that requires the “Subscriber” role to be set in the wordpress default role assignment system.
I thought another solution was to just put the shortcodes in the wp-content/plugins/bbpress/templates/default/bbpress/content-single-forum.php file but the shortcodes do not work.
I am wanting my bbpress tags and bbpress search input form to display on my forum main page just below the bread crumbs.
This is what I understand to do.
A. Copy my page.php template from by theme folder. (..//wp-content/themes/fishingclub)
B. Rename it bbpress.php and upload to the theme folder.
(I do this and the forum main page displays properly.)
Here is the page,php code:
<?php
/**
* The template for displaying all single pages
*
* @package WordPress
* @subpackage FISHING_CLUB
* @since FISHING_CLUB 1.0
*/
get_header();
while ( have_posts() ) { the_post();
get_template_part( 'content', 'page' );
// If comments are open or we have at least one comment, load up the comment template.
if ( !is_front_page() && ( comments_open() || get_comments_number() ) ) {
comments_template();
}
}
get_footer();
?>
C. Since I want to display bbpress tags and bbpress I need to put these shortcodes in the bbpress.php template: [bbp-topic-tags] and [bbp-search], BUT the page crashes no matter where I put the shortcode.
D. I assume I must put some kind of coding before and after the shortcode. No idea what I need to do.
bbpress uses custom post types, so forum, topic and replies will be in the posts table
Hi
i installed BBPress plugin and activated it.
But i cannot find any tables bbpress or something like that.
Did i forget something to do?
regards Jan
Robin, thanks for your response. I’m out of town until Monday and will try out your suggestions then. Some quick question tho. I’m an experienced programmer, but not with wordpress. I’m unclear where to insert these code items. So….
_———-here’s your suggestion
so use this code
—where do I add this this.. To the bbPress functions file?
add_action (‘plugins_loaded’ , ‘rew_remove_bbp_role’) ;
function rew_remove_bbp_role () {
remove_action( ‘bbp_user_register’, ‘bbp_user_add_role_on_register’, 10, 1 );
}
Put this in your child theme’s function file –
I am guessing this goes in wp initiation file.
ie wp-content/themes/%your-theme-name%/functions.php
where %your-theme-name% is the name of your theme
I use wpForms “User Registration”,version 2.2.0 for user registration for my site. However, I found that wpForms user registration form is no longer setting the role that I have specified in wpForms. I found that if I deactivated the bbPress plugin, then the new user’s default role was set as specified in wpForms. So, something in bbPress is interfering with the wpForms setting.
I am using bbPress version 2.6.9
This is a critical error. Any help solving this would be MUCH appreciated.
ok, not quite sure why, but in that case
find
wp-content/plugins/bbpress/templates/default/bbpress/content-single-forum.php
transfer this to your pc and edit
take out the line
<?php bbp_get_template_part( 'form', 'topic' ); ?>
which is in twice, so remove 2 times
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-single-forum.php
bbPress will now use this template instead of the original
Are you saying to replace the existing code in form-reply.php just with this code? If so my forum page is ‘page not found’.
<?php
/**
* New/Edit reply
*
* @package bbPress
* @subpackage Theme
*/
// Exit if accessed directly
defined( 'ABSPATH' ) || exit;
I believe this shoudk end with
<?
but it still does not work.
Are you saying that I am to replace all of the code in form-topic.php with just this code:
`<?php
/**
* New/Edit Topic
*
* @package bbPress
* @subpackage Theme
*/
// Exit if accessed directly
defined( ‘ABSPATH’ ) || exit;
if ( ! bbp_is_single_forum() ) : ?>
<div id=”bbpress-forums” class=”bbpress-wrapper”>
</div>
<?php endif;’
If so the when I go to my forum page it says ‘page not found’.
find
wp-content/plugins/bbpress/templates/default/bbpress/form-reply.php
transfer this to your pc and edit
make the file read
<?php
/**
* New/Edit reply
*
* @package bbPress
* @subpackage Theme
*/
// Exit if accessed directly
defined( 'ABSPATH' ) || exit;
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/form-reply.php
bbPress will now use this template instead of the original
find
wp-content/plugins/bbpress/templates/default/bbpress/form-topic.php
transfer this to your pc and edit
make the file read
<?php
/**
* New/Edit Topic
*
* @package bbPress
* @subpackage Theme
*/
// Exit if accessed directly
defined( 'ABSPATH' ) || exit;
if ( ! bbp_is_single_forum() ) : ?>
<div id="bbpress-forums" class="bbpress-wrapper">
</div>
<?php endif;
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/form-topic.php
bbPress will now use this template instead of the original
thanks,
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 might also try
bbp style pack
once activated go to
dashboard>settings>bbp style pack>login failures
Hi !
I have a user login problem.
When you enter the connection info, bbpress does not take them into account.
The form comes back asking me to log in again. If I change pages despite everything, it tells me that I am connected.
Is this a conflict between wordpress and bbpress?
Thank you for your help.
Website: dev.ouestlekeum.com
Thanks
Is it possible to some how reset the forums?
As in back up all data and import all data?
Something is still causing me agro with multiple submissions when I hit Submit so I need to go back o basics. But I don’t want to loose mu subscribers and data.
But i feel if I delete bbPress and all tables and put it all back in …
Or is this not possible?
We plan to integrate bbPress in a client website How difficult it would be to adopt the style to the one we use (Astra, Elementor?
How is it here with support, bug fixes, and updates?
Thank you
hmmm… that’s interesting, I fully believe you, but am struggling to see why it should either slow the site or cause other issues.
I would suggest you undo the content-search.php change you made above and see if that affects anything.
Beyond that, If that doesn’t work, also deactivate all plugins apart from bbpress and elementor plugin and my elementor fix and see if this sppeeds it up. 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
Robin — Just FYI, I had to delete your plugin because not only was it slowing down the site but it deactivated my Elementor templates – they stopped displaying altogether on all my posts and pages. So the plugin seems to help Elementor be compatible with bbpress search but hurts Elementor in other ways. Thanks very much for your efforts to help though. – Mike
I am pretty new to wordpress in general. I set up a site with buddypress, the buddyx theme, and bbpress. However, the posts on my forums appear to be grayed out. The font is too light for the background. Is there any way to fix it? I tried switching themes, but it didn’t fix anything
ah, ok add this plugin which should fix it
Hello theme Elementor bbPress template fix