So you are telling me that the theme we see here is not a default bbpress theme? You need something external to be able to do that sidebar?
with bbpress active, I normally only let users see that profile.
You might want to disable the WordPress admin bar for ordinary users. There are a bunch of plugins that do this.
eg
Hide Admin Bar Based on User Roles
no problem.
on no. 3 there is a bbpress profile and a wordpress profile. Other plugins may also add their own profile pages.
If it is not the bbpress profile page you want it to go to, then do come back, I can probably give you some code.
Whoops we must have been posting at the same time. THANK YOU SO MUCH.
Believe me I had to edit other bbpress files to make ACF plugin work. Again thank you!!!!!
Thank you for the clarification of the analogy. Yes, that certainly makes sense, and I certainly would like to just use the car. BUT no one has been able to help me make ACF plugin to work on the frontend. ACF has me going to bbpress and bbpress has me going to ACF. (The code that is working great on the backend I have not been able to work on the front end. Spent hours upon hours trying to this.
What I do not understand is why an admin/moderator would ever want a topic to fall under the category of no forum. If nothing else I will figure out a way to just make it so the first option has no words so the poster sees it looks strange, and/or find a way to add additional text below it to tell them to choose the Fishing Report Forum. (I will be giving each new user an instruction pages but I can see many topics going into la la land.
Thanks for what you do at the kitchen table. I will deal with the train. 🙂
because I am feeling in a good mood, I did a bit of searching.
There is a way, but you have to edit a bbpress file.
so go to
\bbpress\includes\admin\metaboxes.php
and remove line 445 which says
'show_none' => esc_html__( '— No forum —', 'bbpress' ),
and save it back
You will need to do this again if bbpress issues an update, but those are few and far between.
bbpress is free software and has no dedicated support. The bbpress authors rarely visit the support site, and there is no way to contact them directly. That is the nature of free open software – you write it and put it out there, but with no warranty and no obligation to support.
hmmm.. looks like you need a bbpress template in your theme.
so first you need to create a child theme – the ‘salient’ theme docs should tell you how to do this.
Then in your salient theme copy the ‘left-sidebar-page.php’ file you created into the child theme, and then rename it ‘bbpress.php’
That should mean that all bbpress pages use this template.
Oh sorry Robin,
I thought you were part of bbpress.
Do you then maybe know if I can contact them directly?
I would say that I am not a bbpress author, I just started using bbpress and got interested in improving how it looks and works.
I will try and find time to look at your other questions, but I do this in my spare time 🙂
it can be combinations, so yes, I want to eliminate that.
Given that at the moment I have the problem as :
On registration:
worpdress has no role
bbpress has participant role
so you need subscriber role to be set
then I am struggling to see how bbpress is ‘unsetting’ the subscriber role.
Robin:
I have already found that bbPress, if inactivated, the problem goes away. Are you thinking that another plugin might be part of the process?
ok, let’s try the standard fault finding :
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, starting with wpforms, and then style pack.
Then come back
Robin,
wpForms was only minimal help. They told me it was bbPress problem. They did tell me that the user role was set when the user who is registering clicks the “acknowledge” link. It seems that bbPress is setting the user role to empty after wpForms sets it. So, is there a snippet that could set the user role to “Subscriber” that would activate after bbPress sets the user role and forum role?
Almost all new users will be subscribers and only a very few will be different, and I don;t mind setting those manually.
Uh Yes I did the steps you mentioned, so I’m not stuck haha.
But I also don’t have a sidebar on my page…
I created a regular page, because I need some info above the forum. I didn’t set a page template or anything. If I do chose the page template left-sidebar, then I do have a sidebar. But that looks the same then when I just add the bbpress widgets to the default left sidebar and don’t do the specific sidebar steps.
I thought if I use the specific sidebar it would look more like the rest of the forum. Thats why I tried that. Was I wrong?
So when should someone use the specific sidebar?
Thanks for your help again!
Hello!
Question might seem stupid but hear me out;
The last update, per the download page, seems to be from November 2021.
Usually, a plugin that hasn’t seen any updates in the last year, to me, is abandonned and should not be used in a new production; Theres always a little nugget to change every once in a while, so even the most basic of plugins, barring a few exceptions, get updates at least once a year.
But, bbPress has not been updated in a year and a half; is it just that there is nothing to fix/modify, or was bbPress left behind to make place for a new forum plugin by the WP Core team and that should be the thing I do install?
I ask because I am right now creating a brand new site where bbPress would be used. So if the current plugin is under another name, I should install that one and not this one.
Now I have to edit the file
ok so you have already put :
function rkk_widgets_init() {
register_sidebar( array(
'name' => __( 'bbPress Sidebar', 'rkk' ),
'id' => 'bbp-sidebar',
'description' => __( 'A sidebar that only appears on bbPress pages', 'rkk' ),
'before_widget' => '<aside id="%1$s" class="widget %2$s">',
'after_widget' => '</aside>',
'before_title' => '<h3 class="widget-title">',
'after_title' => '</h3>',
) );
}
add_action( 'widgets_init', 'rkk_widgets_init' );
into your child theme functions file – yes ?
and then did this
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.
which replaces the second part of 26, as you have chosen the left-sidebar rather than just sidebar
yes ?
so what exactly are you stuck on?
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.