Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 1 through 25 (of 64,431 total)
  • Author
    Search Results
  • #246550
    Sirmadsen
    Participant

    I got the editor and this plugin to work by adding a code to my themes functions.php (child theme if you use that)

    function bbp_enable_visual_editor( $args = array() ) {
        $args['tinymce'] = true;
        $args['teeny'] = false;
        return $args;
    }
    add_filter( 'bbp_after_get_the_content_parse_args', 'bbp_enable_visual_editor' );

    It activates the TinyMCE editor in BBPress.

    #246533
    a7xfanben
    Participant

    When a user quotes another post using the quote button, their post shows the bbcode as plain text. I tried to recreate the issue on my end with a test account (non-admin) in incognito mode, and was not able to recreate the issue. Any idea what could be causing it? (example linked below)

    Wordpress version: 6.8.2
    bbPress version: 2.6.14
    Link: example post with issue

    #246519
    hardel
    Participant

    Hi @johnjamesjacoby,

    I realize you’re busy and I hate to keep pressing this, but the truth is that the functionality for this specific pagination has been broken for nearly five years (at least that I’ve been aware of).

    In addition to the examples I’ve already shared (which I’m still waiting on a reply to), I wanted to provide one more. Since this site is publicly listed as an example on bbPress, I figured it would be fine to post it here.

    On the Angry Birds bbPress/BuddyPress forum, the same pagination issue appears for Topics Started and Replies Created. You can see the broken links for the user “Bird Leader” here:
    https://www.angrybirdsnest.com/members/birdleader/forums/replies/

    If you try to view page 2 for either section, it results in a 404 error. Viewing the page source confirms they’re running the latest versions of both bbPress and BuddyPress.

    A response on this matter would be greatly appreciated.

    #246512
    Robin W
    Moderator

    ok, it is listed as a bug for bbpress to fix, I am just a volunteer here,

    so if you want a fix in the meantime , install

    bbp style pack

    once activated go to

    dashboard>settings>bbp style pack>bbPress Bug Fixes and select the relevant one (at/near the bottom)

    #246494

    In reply to: Bug https url

    Robin W
    Moderator

    I have no influence on what the core bbpress does.

    21% of websites are http

    #246491

    In reply to: Bug https url

    Ricsca2
    Participant

    99% of sites are in https and not http, so if you can, it would be a good idea to point this out to whoever handles bbpress updates.
    People who type in a domain start with www and never type https, so it’s really annoying to see URLs in http.

    #246490

    In reply to: Bug https url

    Robin W
    Moderator

    yes for the reasons stated above, ie the link will resolve to https if the site has ssl.

    Not every site is https

    that’s how the bbpress authors have decided it should work

    #246489

    In reply to: Bug https url

    Ricsca2
    Participant

    But seriously, are you telling me that it is normal that if a user writes www.google.com on bbpress it becomes http://www.google.com and not https:?

    #246464
    Robin W
    Moderator

    The key word in their answer is ‘should’ – by which they mean that they do not intend to do it, and they think that each forum provider (in this case bbpress) ‘should’ do this – but free software only contains what the software authors want it to. From a small amount of looking at that article, I’d suggest that it would be 1-3 weeks work to provide a solution as either a google structured expert would need to learn bbpress or a bbpress expert would need to learn google structured, and not something that I have any interest in doing – sorry 🙁

    #246463
    Ricsca2
    Participant
    #246436
    andrew55
    Participant

    Is there a plugin or function to sort topics by weight? In other words, a field where a numerical value can be added, and if a value exist in this field, it brings the topic to top of topic lists.

    And each topic that has a value in it, if the value is higher than other values of topics, the highest values are are the top of topic lists. And then topics which have no values are sorted in topic list in default manner.

    I’ve seen sorting set up with values like this in all types of scripts, and just hoping there is a way to accomplish this in bbPress.

    Thanks for any suggestions.

    #246409
    Ricsca2
    Participant

    Liking posts is very engaging for users, especially if there’s a page that shows the users who have received the most likes. It’s true, but it’s a shame it doesn’t exist by default on BBpress.

    #246397
    markkavin
    Participant

    You can achieve this without raw SQL by looping through the replies and filtering out the author’s own ones. Something like this:

    $reply_count = 0;
    $replies = bbp_get_all_child_ids( $topic_id, bbp_get_reply_post_type() );

    if ( ! empty( $replies ) ) {
    foreach ( $replies as $reply_id ) {
    if ( get_post_field( ‘post_author’, $reply_id ) != $author_id ) {
    $reply_count++;
    }
    }
    }

    This way you count only replies not made by the topic author. Then you can compare $reply_count with your threshold to trigger the reward.

    It’s lightweight, avoids direct SQL, and keeps everything inside bbPress/WordPress functions.

    wp1945225
    Participant

    Hello,

    We are running bbPress 2.6.14 on a WordPress 6.8.2 site with a private forum.

    We have noticed a strange issue:

    Some subscribed users receive email notifications when new topics/replies are posted.

    Other subscribed users (from the same forum) do not receive anything.

    We checked spam/junk folders, nothing there.

    Trying to unsubscribe and resubscribe does not solve the issue.

    So I have two main questions:

    Where are subscriptions stored in the database with bbPress 2.6.14?

    I don’t see a wp_bbp_engagements table in my DB.

    I also don’t see any _bbp_subscriptions or _bbp_topic_subscriptions entries in wp_usermeta.

    Yet some users clearly do receive notifications.

    How does bbPress decide who gets notified?

    Is it handled directly via wp_mail() when a reply/topic is created?

    Could private forums behave differently compared to public ones?

    Troubleshooting guidance

    Is there a way to “rebuild” or “reset” subscriptions to ensure consistency?

    Should I try to manually create the wp_bbp_engagements table if it is missing?

    I’d really appreciate if someone could clarify how subscription data is stored and how email notifications are triggered in bbPress 2.6.14, so I can debug why some users receive emails and others don’t.

    Thanks a lot!

    #246381
    kal123
    Participant

    I have disabled all plugins other than buddypress and bbpress.
    Issue requires both to enabled. buddypress by itself does not cause this.

    I am seeing this VERY HIGH log spam on every page load:

    Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the bbpress domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in …/wp-includes/functions.php on line 6121

    yt
    Participant

    Hello
    My question is:
    In the address

    Layout and functionality – Examples you can use

    In the issue
    25.Restricting User Access to the WordPress backend

    Add this PHP code snippet so that only users who can only edit posts can access the WordPress admin section.
    Which was introduced to prevent the logged-in user from accessing the counter of the following code

    /**
    * Redirect back to homepage and not allow access to
    * WP backend for Subscribers.
    */
    function rkk_redirect_admin(){
    if ( ! current_user_can( ‘edit_posts’ ) ){
    wp_redirect( site_url() );
    exit;
    }
    }
    add_action( ‘admin_init’, ‘rkk_redirect_admin’ );

    The code works fine, but the bug is that:

    Although it appears to prevent a common user from accessing the WordPress dashboard, the same user can easily bypass the code ban and log in to the dashboard by opening a new tab in the browser and entering the address

    https://wordpress.org/wp-admin/

    in that tab and pressing Enter. This is the bug in the above code.

    The question is:
    How can I change the above code to prevent the trick of logging into the dashboard as described above?

    Thank you in advance for your advice.

    orvilleboggs
    Participant

    Wordpress version 6.8.2
    bbPress version 2.6.14

    In my forum, I have some sticky notes that are closed. They have a yellow highlight around them and I can’t figure out how to remove it.

    How to remove yellow highlights?

    I have tried a number of CSS overrides but no success. Any ideas? I feel like I am missing something simple.

    Thank you!
    DS

    #246345
    Robin W
    Moderator

    as with your other question

    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

    #246344
    Robin W
    Moderator

    ok, that does not belong to the bbpress search field default.

    It could be added by several things, without a link to a live example (which would let me see in browser what class it is and try and see what is sending it) I can only suggest you

    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

    #246342
    andrew55
    Participant

    it’s a private site, so not sure how to let anyone see it. But here is screenshot of what search field with message:

    Screenshot

    #246135
    hardel
    Participant

    Hi John, just following up to see if you’ve had a chance to look into the points I mentioned in my previous post.

    Last night I had some free time to test this further. I set up a brand new WordPress install with only BBPress and BuddyPress. I then created a forum with 16 posts.

    Using the Twenty Twenty-Four theme, I was unable to view Page 2 of “Topics Started.” The only way I could view it was by installing the BP Classic plugin.

    The most recent change to that plugin was:

    Version: 1.4.0 — Ensure bbPress topics/replies pagination behaves as expected with BuddyPress 12.0 & up (See #44).

    Here are the changes that imath added to fix the pagination issue.

    I’ve now seen this issue in 3 places: my public website, the website I sent you via PM on Instagram, and a clean install. I hope that I’ve been able to provide enough examples that this issue still exists.

    #246053

    In reply to: Topic to be approved

    Robin W
    Moderator

    yes that would be it, and yes bbpress uses these settings for moderation

    #246041
    Ricsca2
    Participant

    I migrated an old custom forum to bbpress, and today (I opened the forum yesterday) a user registered and wrote a topic, but it wasn’t visible (I noticed this by accident because the section in the frontend where it says “x topics are not public” is really small), and I had to manually approve it.
    Why? Do I have to set the permissions for registered users somewhere?
    Thanks

    Robin W
    Moderator

    you need to submit this to Yoast, nothing that bbpress can do about it

    Ricsca2
    Participant

    Hello,
    I’ve noticed a possible bug in the way Yoast SEO generates sitemaps for bbPress replies.

    – In the topic-sitemap.xml files, the topic URLs are correctly generated and point to the actual topics (e.g. https://www.example.com/topic-name.html).

    – But in the reply-sitemap.xml files, every reply entry points to the same generic URL like https://www.example.com/forums/reply, which doesn’t resolve to the actual reply.

    As a result:

    – These sitemap entries are invalid because they don’t lead to a specific page.

    I built a custom plugin (with ChatGPT’s help) that adds proper URLs for replies, but I’m wondering: does it even make sense to submit reply URLs to Google?
    Wouldn’t it be better if Yoast excluded replies from the sitemap entirely, and only kept topics?

    I also noticed that in the Yoast settings (SEO → Search Appearance → Content Types) it is possible to disable “Replies”. That solves the problem, but shouldn’t this be the default setting?
    Or alternatively, if replies are enabled, shouldn’t Yoast output the correct URLs instead of /forums/reply?

    Can you clarify what the recommended behavior is?

    Thank you!

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