Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 401 through 425 (of 64,429 total)
  • Author
    Search Results
  • sunshineday77
    Participant

    Subscriber level users are unable to reply to newly created topics. They can’t see the rely button an don’t see the text box to enter their reply. bbPress is behind a membership site, and the forums are set to closed and the topics are set to open. I’ve exhausted troubleshooting with ChatGPT. Please help as we have a class starting Monday. I emailed everyone to reply to a topic and they are unable to do so.

    I tested as an admin and can see the reply button and text entry box.
    Signed in as a student (subscriber) those items are not visible.

    #241162
    George
    Participant

    For anyone that landed here from a Google search. The pagination is not working for forums set up inside BuddyPress groups. You need to copy those two files from
    \plugins\bbpress\templates\default\bbpress
    pagination-topics.php
    pagination-replies.php

    and copy them to
    \wp-content\themes\[yourchildtheme]\bbpress

    Replace the code inside pagination-topics.php to:

    <?php
    
    /**
     * Pagination for pages of topics (when viewing a forum)
     *
     * @package bbPress
     * @subpackage Theme
     */
    
    // Exit if accessed directly
    defined( 'ABSPATH' ) || exit;
    
    do_action( 'bbp_template_before_pagination_loop' );
    
    // Use bbPress setting for topics per page
    $posts_per_page = bbp_get_topics_per_page();  // Dynamically get the value from bbPress settings
    
    // Get the current page
    $paged = (get_query_var('paged')) ? absint(get_query_var('paged')) : 1;
    
    // Set up the custom query
    $args = array(
        'post_type'      => bbp_get_topic_post_type(),
        'posts_per_page' => $posts_per_page,
        'paged'          => $paged,
        'meta_query'     => array(
            array(
                'key'   => '_bbp_forum_id',
                'value' => bbp_get_forum_id(),
            ),
        ),
    );
    
    // Run the custom query
    $forum_query = new WP_Query($args);
    
    if ($forum_query->have_posts()) :
    ?>
        <div class="bbp-pagination">
            <div class="bbp-pagination-count">
                <?php
                // Display the range of topics being viewed
                $start = ($paged - 1) * $posts_per_page + 1;
                $end = min($paged * $posts_per_page, $forum_query->found_posts);
                echo sprintf(__('Viewing %1$s to %2$s (of %3$s topics)'), $start, $end, $forum_query->found_posts);
                ?>
            </div>
            <div class="bbp-pagination-links">
                <?php
                // Generate the pagination links
                echo paginate_links(array(
                    'total'   => $forum_query->max_num_pages,
                    'current' => $paged,
                    'format'  => '?paged=%#%',
                    'add_args' => false,
                    'prev_text' => __('« Prev'),
                    'next_text' => __('Next »'),
                ));
                ?>
            </div>
        </div>
    <?php
    else :
        echo '<p>No topics found.</p>';
    endif;
    
    // Reset post data
    wp_reset_postdata();
    
    do_action('bbp_template_after_pagination_loop');
    ?>
    

    Replace the code inside pagination-replies.php to:

    <?php
    
    /**
     * Pagination for pages of replies (when viewing a topic)
     *
     * @package bbPress
     * @subpackage Theme
     */
    
    // Exit if accessed directly
    defined( 'ABSPATH' ) || exit;
    
    do_action( 'bbp_template_before_pagination_loop' );
    
    // Use bbPress setting for replies per page
    $posts_per_page = bbp_get_replies_per_page();  // Dynamically get the value from bbPress settings
    
    // Get the current page
    $paged = (get_query_var('paged')) ? absint(get_query_var('paged')) : 1;
    
    // Set up the custom query
    $args = array(
        'post_type'      => bbp_get_reply_post_type(),
        'posts_per_page' => $posts_per_page,
        'paged'          => $paged,
        'meta_query'     => array(
            array(
                'key'   => '_bbp_topic_id',
                'value' => bbp_get_topic_id(),
            ),
        ),
    );
    
    // Run the custom query
    $replies_query = new WP_Query($args);
    
    if ($replies_query->have_posts()) :
    ?>
        <div class="bbp-pagination">
            <div class="bbp-pagination-count">
                <?php
                // Display the range of replies being viewed
                $start = ($paged - 1) * $posts_per_page + 1;
                $end = min($paged * $posts_per_page, $replies_query->found_posts);
                echo sprintf(__('Viewing %1$s to %2$s (of %3$s replies)'), $start, $end, $replies_query->found_posts);
                ?>
            </div>
            <div class="bbp-pagination-links">
                <?php
                // Generate the pagination links
                echo paginate_links(array(
                    'total'   => $replies_query->max_num_pages,
                    'current' => $paged,
                    'format'  => '?paged=%#%',
                    'add_args' => false,
                    'prev_text' => __('« Prev'),
                    'next_text' => __('Next »'),
                ));
                ?>
            </div>
        </div>
    <?php
    else :
        echo '<p>No replies found.</p>';
    endif;
    
    // Reset post data
    wp_reset_postdata();
    
    do_action('bbp_template_after_pagination_loop');
    ?>
    
    #241161
    sunshineday77
    Participant

    Hello Robin,

    Currently, when emails send from bbPress through bbStylepack subscriptions option, the recipient sees “admin” in the from name in their email inbox. Is there a way to customize this and change it something else? Thank you!

    #241145
    enkoes
    Participant

    @Robin, thanks for the new update!

    How about the BCC list in the receiver part (for more than one subscribers)?

    Currently I’m using AsynCRONous bbPress Subscriptions plugin to get rid of BCC list, so that the subscription email would look like being sent to the receiver individually. But this plugin has no longer supported and most functions are not compatible anymore (except the BCC part still working well). Is it possible for bbp Style Pack to take over this task?

    delaitec
    Participant

    I would like to add a button that provides access to the user’s profile.
    Where he can see the topics he started, the responses created, edit his data, etc.

    I tried copying the profile page link, but realized it comes with my username:
    https://bbpress.org/forums/profile/delaitec/

    Therefore, it will not work for other users.
    I tried removing the username:
    https://bbpress.org/forums/profile/

    But then, it shows error 404.

    Can anyone help me with this?

    #241136
    delaitec
    Participant

    Hello, how are you?

    I would like to insert a social login shortcode below the login form that is displayed when we try to publish a post without being logged in.

    This is the shortcode [Heateor_Social_Login]

    Thanks in advance to everyone who can help

    #241124
    jrgalia
    Participant

    The email sent for email notification in bbPress is our website name. How to change it to have different email sender name?

    thanks

    #241108
    Robin W
    Moderator

    No idea of it is compatible, but bbpress has custom post types of reply, topic and forum, use these calls and see if they work

    add_post_type_support( bbp_get_reply_post_type(), 'shortlinks' );
    add_post_type_support( bbp_get_topic_post_type(), 'shortlinks' );
    add_post_type_support( bbp_get_forum_post_type(), 'shortlinks' );
    delaitec
    Participant

    Hello. I hope you are well!

    When using jetpack link shortener feature “wp.me”, this feature does not work with jetpack link sharer (whatsapp, facebook, etc)

    This was solved with the plugin: “Shortlinks for Jetpack sharing buttons” by Jeremy Herve.
    See here:
    https://br.wordpress.org/plugins/jetpack-shortlinks-for-sharing-buttons/

    However, the plugin only works natively on standard WordPress posts and pages, on custom post types like Woocommerce, it does not work.

    Here’s a way to fix this:
    https://jetpack.com/support/wp-me-shortlinks/
    As the post type for woocommerce products is “product”, the code looked like this:

    add_action( 'init', function () {
    add_post_type_support( 'product', 'shortlinks' );
    });

    It is now possible to share woocommerce products with shortened links using jetpack share buttons.

    I would like to know if BBPress is compatible with Jetpack’s sharing feature, and what type of post should I use so that shares can be made using the link shortener as I did above in Woocommerce.

    Grateful.

    #241094
    dano92580
    Participant

    So we are using the most recent WordPress and BBPress versions, along with Twenty Twenty Four template. We were getting the blank page so I installed the BBpress style app as ive seen in other posts. It now shows the forums, but it’s throwing the menus in the header to the left, along with messing up the headers in the footer. How do I fix this?

    #241093
    Robin W
    Moderator

    bbpress just uses wordpress authentication, so probably the answer is no

    #241087
    Robin W
    Moderator
    #241086
    BennyW
    Participant

    Hi,
    New to bbpress. Just installed.
    We have WordPress custom roles and I need to limit access to forums based on custom roles.

    1. Is it possible to limit forum visibility (forums, post, widgets) based on WP custom user roles?
    I have many user roles and would like to limit it by user role “MainGroup” that is set up for users that have certain access.

    2. Is it possible to do the above but based on role combinations, eg give access to users with role “MainGroup” AND “Learner” user groups?

    3. Is it possible to set user access on a per forum basis or globally (all forums)?

    Many thanks for any help and advice.

    Ben

    #241080
    momotarou
    Participant

    Is there a way to avoid basic authentication via wp admin-ajax.php for bbpress only?

    #241057

    In reply to: PrivateContent

    Robin W
    Moderator

    bbpress just uses WordPress users so if your plugin is not using wordpress users,the answer is probably no.

    Maybe ask the private content plugin authors.

    #241047
    badbert
    Participant

    Hi,

    is there a plugin that will give the user a popup after pressing “post” on a reply in a topic when the topic is older than a certain amount of days?
    Telling the usesr the topic is older than XX days, and asking if they are sure they want to post in that topic. When pressing YES, the post is sent. When pressing NO, nothing is sent.

    also, some sort of notification box above the input field for the post would be lovely….

    i have seen this on other forums, but can’t seem to find this for bbpress.

    #241046
    drzomboss
    Participant

    The default of bbpress is set to participant, and the default user role on the site is subscriber, however users can also have a custom ‘vendor’ role, which should give them the same permissions as far as the forum goes as everyone else

    #241037
    Robin W
    Moderator

    what wordpress and bbpress roles do users have?

    #241025
    neon67
    Participant

    Hi. I use a shortcode from bbP shortcodes like [bbp-display-topic-index show=’6′ forum =’2692,2696,2697,2698,2700,2702′ show_stickies=’false’] Question about Stickies – the display does not depend on this records – false or true. I even tried to write no – it doesn’t help either, the topics are always shown at the top.
    BBpress 2.6.11
    How is this solved?

    #241018
    Ketil Ervik
    Participant

    I changed the color visually via the web browser and then copied the code into Custom CSS, but when I then refresh the page, it again shows the color I wanted to change, so this didn’t help! See the image of the code I wrote in Custom CSS

    What am I doing wrong here, why didn’t the color change? See the image of the code I pasted into Custom CSS

    I use bbPress Version 2.6.11 and wp version: 6.6.1.
    I am also using bbp style pack Version 6.0.6.

    https://drive.google.com/file/d/10K7mu5ipMPwsPtfEneTZ5PpmRjq4Ilhn/view?usp=sharing

    #241015
    Robin W
    Moderator

    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

    #241012
    Robin W
    Moderator

    you are using the divi theme

    On profiles,I’d suggest you add

    bbp style pack

    once activated go to

    dashboard>settings>bbp style pack>theme support and you’ll see some useful info on search and profiles

    2. on splitting using the same plugin as above, go to

    dashboard>settings>bbp style pack>bbPress Bug Fixes

    and select Fix ‘A variable Mismatch has been detected’ – this may fix that one.

    #241010
    drzomboss
    Participant

    current WP version: 6.6.1
    current bbpress version: 2.6.11
    website: https://lolbay.gg

    Dear BBpress moderators,

    I have recently started a forum on my site and chose bbpress as my forum plugin… Now Iam experiencing the following problem; when I login as a user, post a topic and then try to edit it as the user OR as an admin, I get a “no results found” blank page with a 404 error. Another matter that is inoptimal is that when you click a user’s profile, you get a mile long blank page with broken links on it, and when you scroll to the bottom you get a very glitched out user module with non-functioning tabs. Would you perhaps know how to fix this? I have already tried a ton of things, from editing the slug to logging in as different roles, nothing works. Bytheway, as an admin, ‘splitting’ a topic/ reply also doesn’t work and gives me the same error.

    Thak you in advance

    Sincerely, Dave.

    #240991

    In reply to: Email template edit

    Milan Petrovic
    Participant

    Since bbPress sends emails in ‘bulk,’ every recipient gets the same message; there is no way around that. There was some discussion of changing how emails are sent, but that is a very complex issue right now.

    The only way to resolve this is to override the bbPress code for sending emails and write a new one to do what you need. But, that needs to be custom-coded, and it would not be cheap to do.

Viewing 25 results - 401 through 425 (of 64,429 total)
Skip to toolbar