Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 1,026 through 1,050 (of 64,428 total)
  • Author
    Search Results
  • #237052
    Robin W
    Moderator

    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.

    #237051
    waprothero
    Participant

    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?

    #237046
    Robin W
    Moderator

    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

    #237039
    waprothero
    Participant

    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.

    #237034
    eefkedigibitch
    Participant

    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!

    #237032
    Frederic Pilon
    Participant

    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.

    #237031
    Robin W
    Moderator

    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?

    #237025
    eefkedigibitch
    Participant

    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.

    #237018
    Robin W
    Moderator

    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.

    #237008
    juanm777
    Participant

    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

    #237005
    newtech1
    Participant

    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.

    #237004
    Robin W
    Moderator

    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.

    #236996
    waprothero
    Participant

    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.

    newtech1
    Participant

    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.

    newtech1
    Participant

    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.

    #236978
    Robin W
    Moderator

    bbpress uses custom post types, so forum, topic and replies will be in the posts table

    #236977
    polleke1959
    Participant

    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

    #236975
    waprothero
    Participant

    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

    waprothero
    Participant

    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.

    #236956
    Robin W
    Moderator

    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

    #236955

    In reply to: Prevent topic replies

    newtech1
    Participant

    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.

    #236954
    newtech1
    Participant

    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’.

    #236953

    In reply to: Prevent topic replies

    Robin W
    Moderator

    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

    #236951
    Robin W
    Moderator

    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

    #236947

    In reply to: a user login problem

    Robin W
    Moderator

    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

Viewing 25 results - 1,026 through 1,050 (of 64,428 total)
Skip to toolbar