Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 1 through 25 (of 64,425 total)
  • Author
    Search Results
  • #245911
    Robin W
    Moderator

    ok, thanks.

    Given that the file is now ‘redundant’ in the child theme (as it is now the same as bbpress), are you able to remove both that whole file and the call to it – presumably in the child theme functions file.

    It may be that calling it as part of a theme rather than plugin is affecting how bbpress works at that point – but I am just guessing at possible issues

    #245907
    internationaljack
    Participant

    Thank you for helping me interpret that!

    This is what was on that line:
    <p class="logo_tagline"><?php bloginfo(description); ?></p>

    I added single quotes to 'description' and now the forums fully load (when FS_METHOD is set to direct). That line was basically the only difference between the original bbpress.php and the child theme’s copy of bbpress.php.

    Unfortunately, that fix only works with FS_METHOD set to direct. I need it set to ftpext so WordPress requests FTP credentials (for things like plugin updates), because otherwise WP doesn’t have write permission.

    When I change FS_METHOD to ftpext, the forum pages start giving me the ol’ “There has been a critical error on this website” message.
    The log gives me this:
    [08-Aug-2025 17:23:55 UTC] PHP Fatal error: Uncaught TypeError: ftp_fget(): Argument #1 ($ftp) must be of type FTP\Connection, null given in /var/www/vhosts/[SITEURL]/httpdocs/wp-admin/includes/class-wp-filesystem-ftpext.php:146

    That’s not a bbPress file, so I think I’ll have to talk with our webhost about this.

    Thanks for your help!

    Robin W
    Moderator

    This has been removed probably because it no longer worked.

    Since bbpress just uses WordPress login, If you google ‘modal popup login wordpress’ you’ll find both code and plugins that do this

    #245895
    Robin W
    Moderator

    ok the fatal error is

    [07-Aug-2025 22:39:39 UTC] PHP Fatal error: Uncaught Error: Undefined constant "description" in /var/www/vhosts/[SITEURL]/httpdocs/wp-content/themes/Avada-Child-Theme/bbpress.php:22

    so this is a file called bbpress.php which sites in you child theme.

    I suspect that this is a file that contains amendments to bbpress that someone has made, but without knowing why that file is there and what it does, I cannot say further

    yt
    Participant

    Hello everyone

    My site was created with WordPress 6.8.2 and BBPress 6.2.14 with the WordPress 2025 theme block template.

    In the BBPress documentation titled: “Layout and functionality – Examples you can use” at:

    Development & Updates

    in line 12 it says:

    12. Add a modal login (pop-up) window
    This is quite neat and the instructions add it to the menu and, if necessary, add the login/logout.

    The login looks like this
    https://buddypress.org/wp-content/uploads/53/2014/02/modal-login3-300×144.jpg

    There are different styles available and you can have your own style.

    Instructions can be found here:
    https://codex.bbpress.org/modal-login-in-a-menu/

    I tried to access it, but unfortunately the link gives an error of
    Error 404 – Destination Not Found.

    Please advise on how I can enable the above mentioned forum registration and login pop-up in my site’s forum?

    Thank you in advance for your help.

    #245891
    internationaljack
    Participant

    When I try to access a forum, I only see the site header (the rest of the page is blank). This is what shows up in my debug.log:

    [07-Aug-2025 22:39:33 UTC] PHP Warning:  chmod(): Operation not permitted in /var/www/vhosts/[SITEURL]/httpdocs/wp-admin/includes/class-wp-filesystem-direct.php on line 173
    [07-Aug-2025 22:39:34 UTC] PHP Warning:  chmod(): Operation not permitted in /var/www/vhosts/[SITEURL]/httpdocs/wp-admin/includes/class-wp-filesystem-direct.php on line 173
    [07-Aug-2025 22:39:39 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /var/www/vhosts/[SITEURL]/httpdocs/wp-content/themes/Avada/includes/class-avada-layout-bbpress.php on line 219
    [07-Aug-2025 22:39:39 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /var/www/vhosts/[SITEURL]/httpdocs/wp-content/themes/Avada/includes/class-avada-layout-bbpress.php on line 219
    [07-Aug-2025 22:39:39 UTC] PHP Fatal error:  Uncaught Error: Undefined constant "description" in /var/www/vhosts/[SITEURL]/httpdocs/wp-content/themes/Avada-Child-Theme/bbpress.php:22
    Stack trace:
    #0 /var/www/vhosts/[SITEURL]/httpdocs/wp-includes/template-loader.php(106): include()
    #1 /var/www/vhosts/[SITEURL]/httpdocs/wp-blog-header.php(19): require_once('/var/www/vhosts...')
    #2 /var/www/vhosts/[SITEURL]/httpdocs/index.php(17): require('/var/www/vhosts...')
    #3 {main}
      thrown in /var/www/vhosts/[SITEURL]/httpdocs/wp-content/themes/Avada-Child-Theme/bbpress.php on line 22
    [07-Aug-2025 22:39:39 UTC] PHP Warning:  chmod(): Operation not permitted in /var/www/vhosts/[SITEURL]/httpdocs/wp-admin/includes/class-wp-filesystem-direct.php on line 173
    [07-Aug-2025 22:39:47 UTC] PHP Warning:  chmod(): Operation not permitted in /var/www/vhosts/[SITEURL]/httpdocs/wp-admin/includes/class-wp-filesystem-direct.php on line 173

    The above is with this in wp-config.php:
    define('FS_METHOD', 'direct');

    Our sites are normally set to define('FS_METHOD', 'ftpext'); but that produces a much longer error string in the log and a “this site has experienced a critical error” message in the browser.

    Our prod site is on PHP 7.4.33 and doesn’t have any issues in either FS_METHOD mode. Did PHP 8 change something that affected filesystem access?

    Notes:
    – This is a multisite with a bbPress forum on almost all sites.
    – Our theme, Avada, runs fine on our other dev site with PHP 8.4.

    #245885
    manojmohandev
    Participant

    line #956,

    // Only update if reply is published
    if ( ! bbp_is_reply_pending( $reply_id ) ) {

    As per the comment, it should check if reply is published. But this condition will be true even if the reply is marked as spam. Instead it should use if ( bbp_is_reply_published( $reply_id ) ). Same thing I have observed for topic as well. If topic is marked as spam by akismet, the last active parameters reflects the spam topic instead of last published topic.

    #245878
    internationaljack
    Participant

    What’s the latest version of PHP that bbPress can reliably run on?

    The most recent update says it improved PHP 8.2 support, but it crashes on the dev site I’m running that is on 8.2.29. Is there an earlier version that is known to work well?

    Also, does anyone know what the developers’ plans are for PHP versions beyond 8.2? I was hoping to upgrade our sites to 8.4, but bbPress is the limiting factor on a couple of them.

    yt
    Participant

    Hello everyone

    A code snippet is needed to suspend the publication of topics and replies submitted by forum members until the forum administrator approves (something similar to what is in place for site comments until the administrator approves).

    A code that can be run in a BBPress function file or a WPCode plugin php snippet file and work.

    Thanks in advance for your help

    #245851
    Ricsca2
    Participant

    With a script I made with chatgpt (and a lot of testing), I managed to migrate an old custom forum to bbpress.
    I only have one error… basically, when I go to edit a post, I get a page error.
    Virtually all the posts I try to edit (if a thread has 5 replies, all replies have that URL on edit) have this URL /?reply&edit=1 (I’ve disabled the parmalink for now).
    Do you know what I could do?
    If I try to edit the thread, it works.
    Thanks

    Janell2
    Participant

    Hi,
    We have been using bbPress for a long time, and it has never given us any problems, so something has changed, and I can’t figure out what.  I don’t have a caching plug-in.  If you go to the Forum, click on the Topic, it says “This topic is empty” in the Topic (there has been for years.)  I have not changed the theme, or WordPress version, it just stopped working.

    Forum path: domainname/company-bulletin-board/companyforum/company-calendar/
    Topic that appears as link in the above Forum: domainname/company-bulletin-board/topic/key-dates/    When you click the link in the Forum, the topic says, “This topic is empty” which it is not.

    I tried as an experiment to substitute, “/companyforum/company-calendar/” for “/topic/” but that did not work.  This is happening for ALL the Topics, they all show “This topic is empty.”

    When I go to the list of Topics and click on the View in the WordPress Dashboard, again it says for every single topic, “This topic is empty.” Each topic has a lot of content.

    How do I fix this please?  I am out of ideas, especially since it just, “stopped working.”

    Thanks so much for your help.  Much appreciated. This is a members only Forum, so I worry about publishing the links. I have been through earlier posts from folks that have had a similar problem, but nothing has worked.
    Janell

    jennypins
    Participant

    What Happened to “Views” in bbPress 2.6.14?
    In earlier versions of bbPress, Views were visible as a menu item in the WordPress admin under Forums > Views.

    In version 2.6.14, the admin menu link to Views was removed by default as part of bbPress cleanup and streamlining.

    However, the Views themselves still exist — they’re just hidden from the admin menu unless you’re actively using or registering them.

    How to Restore the “Views” Menu
    You can manually re-enable the Views admin menu by adding a small code snippet to your theme’s functions.php file or a custom plugin:
    add_action( ‘bbp_admin_menu’, function() {
    add_submenu_page(
    ‘edit.php?post_type=forum’,
    ‘Topic Views’,
    ‘Views’,
    ‘manage_options’,
    ‘edit.php?post_type=topic_view’
    );
    });

    Robin W
    Moderator

    Try

    #bbpress-forums .status-closed,
    #bbpress-forums .status-closed a {
    color: #aaa !important;
    background-color: none !important;
    }
    yt
    Participant

    Hello everyone

    My site is using the latest WordPress 6.8.2 with WordPress 2025 theme and BBPress community

    To change the color of closed topics in

    13. Preventing closed topics from going grey

    At address:

    Layout and functionality – Examples you can use

    The following code:

    #bbpress-forums .status-closed,
    #bbpress-forums .status-closed a {
    color: #aaa !important;
    }

    is introduced.

    I put it in the css snippet of WPCode plugin. but the code doesn’t work.

    Can anyone help me fix the problem?

    Thanks

    #245831
    yt
    Participant

    Hi everyone

    My site is using the latest WordPress 6.8.2 with WordPress 2025 theme and BBPress community

    In
    27. Custom Redirect After Login

    At address

    Layout and functionality – Examples you can use

    The following dual-purpose redirect code:

    /**
    * WordPress function for redirecting users on login based on user role
    */
    function my_login_redirect( $url, $request, $user ){
    if( $user && is_object( $user ) && is_a( $user, ‘WP_User’ ) ) {
    if( $user->has_cap( ‘administrator’ ) ) {
    $url = admin_url();
    } else {
    $url = home_url();
    }
    }
    return $url;
    }
    add_filter(‘login_redirect’, ‘my_login_redirect’, 10, 3 );

    It is introduced that I have it in the php sippet file of the WordPress plugin code but I am getting the error

    Your changes are saved but your snippet was deactivated due to an error, please check the syntax and try again. Error message: syntax error, unexpected token ;

    It seems that there is a problem with the code.

    Can anyone help to fix the problem?

    #245810
    #245805

    Topic: Free bbpress theme

    in forum Themes
    Ricsca2
    Participant

    Could you recommend a good free theme for bbpress?
    Actually, I only found this one:

    Responsive Forum


    I like it, but it’s very basic…

    #245799
    yt
    Participant

    The only bbPress-related plugin that is installed and actived on the site is the “Enable bbPress for Block Themes” plugin.

    #245798
    Robin W
    Moderator

    ok, what other bbpress related plugins are you usin?

    #245787
    Robin W
    Moderator

    bbpress works fine with classic themes (ie non block themes), so you should have no problems.

    However bbpress is an integral plugin to your website, so it will use whatever theme your site is using, so you cannot have one theme for wordpress and another for bbpress.

    #245784
    yt
    Participant

    Hello forum members

    My site is using the latest version of WordPress 6.8.2 and the 2025 Block Theme and BBPress Forum.

    I want to use the classic theme for BBPress Forum instead of the Block Theme

    Please guide me how can I activate my favorite classic theme instead of the default BBPress theme?

    Thanks

    #245761
    manojmohandev
    Participant

    Any update on this?

    I have digged again further for the issue. The issue has started during this ticket #2838 with the changeset #6923. The last reply and count should only be changed when reply is public regardless whether it is spam or in pending state.

    #245745
    rameshb
    Participant

    I have created a forum website using the bbPress plugin. However, I’m facing an issue with user access levels. Currently, any user can publish a post directly on the forum without moderation.

    What I want is for users to be able to visit the forum and share their views, but their posts should first go into a “Pending Review” status. Only an admin should have the ability to review and publish these posts.

    Please help me configure bbPress to enable post moderation before publication.

    #245733
    sbask
    Participant

    Is there a way to show to moderators/admins only ipv4 addresses? Now that we moved our bbpress based forum site to cloudflare protection we are getting ipv6 addresses in some posters. We’d like to only get ipv4.

    #245652
    ploptime
    Participant

    thank you ! gd-bbpress-attachments 4.8 works (not 4.9)

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