Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '+.+default+.+'

Viewing 25 results - 1 through 25 (of 6,786 total)
  • Author
    Search Results
  • #246484

    In reply to: Bug https url

    Robin W
    Moderator

    if you go to a site that is https using an http format, then it automatically loads the https version.

    if you go to a site that is http using an https format then it will come up with a not secure message

    it therefore makes sense is that if no ‘httpx’ is given, you default to the http which ensures it loads in both cases.

    if you only want to go to https sites, then enter the https in your link

    #246443
    Amin
    Participant

    Sorry to bring this ancient topic up! But this issue is stil present after 11 years! It’s not a theme issue, I changed theme to the wordpress default.

    Topics are sorted by freshness in each individual forum, but not in the forum index page at example.com/forum

    I also added this in my custom plugin, bt no success:

    function freshness_topic_order( $args ) {
    		$args['meta_key']='_bbp_last_active_time';
                    $args['orderby']='meta_value';
                    $args['order']='DESC';  //change to ASC to put oldest at top
                    return $args;
    }
    add_filter('bbp_before_has_topics_parse_args','freshness_topic_order');
    #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.

    #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

    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!

    Ricsca2
    Participant

    Hi everyone,

    I’d like to share a very useful snippet for bbPress that I had a hard time finding on Google, but which can save a lot of time.

    For many communities it’s extremely helpful to have the “Notify me of follow-up replies via email” box checked by default. This way, users are automatically notified of new replies and are more likely to come back to the forum and engage in the discussion.

    Here is a simple solution that works on the latest WordPress + bbPress. Just add it to your theme’s functions.php or into a small custom plugin:

    
    // Auto-check the "Notify me of follow-up replies via email" box (topic + reply forms)
    add_action('wp_footer', function () {
        if (is_admin() || !function_exists('bbp_is_subscriptions_active') || !bbp_is_subscriptions_active() || !is_user_logged_in()) {
            return;
        }
        ?>
        <script>
        document.addEventListener('DOMContentLoaded', function () {
            var t = document.getElementById('bbp_topic_subscription');
            if (t && !t.checked) t.checked = true;
    
            var r = document.getElementById('bbp_reply_subscription');
            if (r && !r.checked) r.checked = true;
        });
        </script>
        <?php
    }, 99);
    

    With this snippet, whenever a logged-in user creates a new topic or reply, the subscription checkbox will already be checked by default.
    Of course, the user can still uncheck it if they don’t want notifications.

    This small trick makes it much easier to keep members engaged and ensures they don’t miss important replies.

    Hope it helps others too, since I believe this should be more widely documented!

    Robin W
    Moderator

    By default, if a user is participant, then they can post new topics.

    I’m not sure what you have set up that requires admin approval?

    #245868
    yt
    Participant

    Hello @robin-w

    The code is tested and works fine. Thank you for that.

    It seems that the code needs two modifications to be converted into a complete code. These two modifications are:

    1- Modification related to the user
    Absolutely directing the logged in user to the first page of the site is not useful in most cases, because

    Suppose the user has entered a forum topic and wants to reply to it. For this purpose, he enters the forum by entering his user information. In the default WordPress mode, the user who is on the current page is considered a logged in user and can send a reply

    However, with the above code, the user is redirected from the current page to the first page of the site and must return to the initial page of the topic in question with a few clicks. This causes user annoyance and increases the bounce rate from the forum.

    Therefore, the code needs to be modified so that the user on the current page (meaning any page of the forum or site that has a comment) is logged in on the same page as the current user after entering his user information and logging in, but at the same time does not have access to the counter.

    2- Correction related to the site and forum administrator
    The same problem as above is true for the administrator. For example, the administrator enters the forum and wants to create a topic or reply to a topic, so he enters the login information. In the default WordPress mode, he is considered logged in on the current page, but at the same time, the WordPress admin bar is displayed at the top of the forum or site, which means he has access to the counter.

    However, with the above code, the administrator is redirected from the current page to the counter, which should return to the original current page with a few clicks, just like the same user.

    Is it possible to modify the code as described?

    Thank you very much in advance for your valuable help.

    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’
    );
    });

    #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

    #245649
    Robin W
    Moderator

    Every website is a unique combination of hoster, operating and hosting systems (eg apache, PHp) WordPress theme, plugins, settings and content, so I cannot just give you an answer.

    So between ‘some time ago’ (days? weeks? years?) and now – what has changed on your site?

    If you cannot answer that, then I can only suggest the core fault finding viz..

    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

    #245526
    Robin W
    Moderator

    ok, I am not a bbpress author, just someone who tries to help out.

    So it’s Sunday morning here in the UK, and I have guests coming for lunch, so I will try and pick this up later.

    But let’s just eliminate some stuff.

    1.

    dashboard>settings>permalinks and just click save – this resets the permalinks and may help

    2.

    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

    #245481

    Doh! Lawdy me, how stupid can I be? Deepest apologies.

    I do want to retain the private groups, so please forget that side of things.

    It is “Front End PM” that I want to remove, and disabling that has re-introduced the fatal error on the forum pages.

    The debugging reports:

    Fatal error: Uncaught Error: Call to undefined function fep_current_user_can() in /home/signalbo/public_html/wp-content/plugins/code-snippets/php/snippet-ops.php(584) : eval()’d code:5 Stack trace: #0 /home/signalbo/public_html/wp-includes/class-wp-hook.php(324): {closure}(”) #1 /home/signalbo/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #2 /home/signalbo/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #3 /home/signalbo/public_html/wp-content/plugins/bbpress/templates/default/bbpress/loop-single-reply.php(56): do_action(‘bbp_theme_after…’) #4 /home/signalbo/public_html/wp-includes/template.php(812): require(‘/home/signalbo/…’) #5 /home/signalbo/public_html/wp-content/plugins/bbpress/includes/core/template-functions.php(103): load_template(‘/home/signalbo/…’, false) #6 /home/signalbo/public_html/wp-content/plugins/bbpress/includes/core/template-functions.php(41): bbp_locate_template(Array, true, false) #7 /home/signalbo/public_html/wp-content/plugins/bbpress/ in /home/signalbo/public_html/wp-content/plugins/code-snippets/php/snippet-ops.php(584) : eval()’d code on line 5

    so I understand from that the error lies with the code-snippets plugin although as yet I’m not quite sure where to start on that. I’ll give it some thought but if you have any suggestions they wuld be appreciated.

    John

    Robin W
    Moderator

    1. yes, this is the intended behavior
    2. yes, that behavior is set by a function which is called by an action, so we can remove it, and do something else.

    so untested, but this should work

    remove_action( 'bbp_template_redirect', 'bbp_forum_enforce_blocked', 1  );
    
    add_action( 'bbp_template_redirect', 'rew_forum_enforce_blocked', 1  );
    
    function rew_forum_enforce_blocked() {
    
    	// Bail if not logged in or keymaster
    	if ( ! is_user_logged_in() || bbp_is_user_keymaster() ) {
    		return;
    	}
    
    	// Set 404 if in bbPress and user cannot spectate
    	if ( is_bbpress() && ! current_user_can( 'spectate' ) ) {
    		//DON'T DO THE SET 404 ie this is the code that the default bbp_forum_enforce_blocked does
    		//bbp_set_404();
    		// DO SOMETHING ELSE HERE!
    	}
    }

    What the something else is, you will need to decide

    Put this in your child theme’s function file –

    ie wp-content/themes/%your-theme-name%/functions.php

    where %your-theme-name% is the name of your theme

    or use

    Code Snippets

    3. I can’t say what the original authors intentions were, but I suspect yes

    #245394
    hollandnumerics
    Participant

    Check Email installed. It defaults to local sendmail, instead of installed Postman SMTP that uses smtp.officce365.com. However:

    This test email proves that your WordPress installation at https://hollandnumerics.org.uk can send emails. Sent: Sun, 06 Jul 2025 10:10:50 +0000

    #245379

    In reply to: Website Critical Error

    titice
    Participant

    No it is not theme related. Just decided to install BBPress plugin on my website and get same criticall error. Unpublished every plugin, except BBPress and activated default theme 21. Same problem – critical error.Version 2.6.14

    #245357

    In reply to: Website Critical Error

    Robin W
    Moderator

    Does this occur anytime you try and access the forum page?

    if so, 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

    #244966
    Robin W
    Moderator

    reply threading means that you can reply to a reply and it will show against that reply, it lets a thread go in many directions – personally I hate it and would not use it.

    ‘Voices’ means the number of different people who have contributed to a thread.

    As to your original question, I cannot replicate the issue, so I can only suggest you try the standard fault finding viz:

    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

    #244964
    Robin W
    Moderator

    settings>discussion just sets the default.

    That will stop it for new pages, then you need to go into

    dashboard>pages>edit pages and the R.E.D. “Crew Lounge” page and find comments and turn it off

    Robin W
    Moderator

    This is working – the topic index shortcode you are using will show all tooics and then allow new topics with a forum select dropdown.

    You are seeing that first.

    After that you are seeing another ‘new topic’ box that says
    Create New Topic in “R.E.D. Crew Lounge”

    then you are also seeing and comment box.

    so I would suggest you replace

    [bbp-topic-index]
    [bbp-topic-form forum_id=846]

    with

    [bbp-single-forum id=846]

    That will then display the topics and only a reply to that forum

    I would also turn off comments, you do that by

    dashboard>settings>discussion>default post settings> and turn off all 3

    That will stop it for new pages, then you need to go into

    dashboard>pages>edit pages and the R.E.D. “Crew Lounge” page and find comments and turn it off

    alm1
    Participant

    Wordpress: 6.8.1
    bbPress: 2.6.13.

    shortcodes on my Forum page:
    [bbp-topic-index]
    [bbp-topic-form forum_id=846]

    website: https://www.pcrnmra.net/redwood/
    Forum page R.E.D. “Crew Lounge”

    My site has only one forum (id=846), but when I add the shortcode
    [bbp-topic-form forum_id=846], the dropdown for Forum: still defaults to –No forum –.

    I researched this and found that the shortcode
    [bbp-topic-form forum_id=846] is supposed to fix this, but it is not working for me.

    TIA

    #244792
    Robin W
    Moderator

    bbpress uses custom post types, so uses their status in the posts table (not post meta) to determine whether to display.

    So on trashing a topic, I would expect the post_status on the posts table to be changed to trash.

    To enable you to ‘untrash’ a topic (say if it was a mistake) in tbe post_meta table, I would then expect to see

    _bbp_pre_trashed_replies	a:4:{i:0;i:33965;i:1;i:33963;i:2;i:33959;i:3;i:33956;}
    _wp_trash_meta_status	publish
    _wp_trash_meta_time	1748443956

    The trash status being the status BEFORE it was trashed, so that it can go back to this if you made a mistake.

    I am not sure what the other statuses are doing there, if you have been trashing and untrashing, other stuff might happen, and other bbpress plugins might be adding things.

    I’d suggest you try creating a test topic and then trashing it, and seeing what happens, so that you can see a ‘clean’ set of entries.

    If you still have problems, then it could be a theme or plugin issue, so I’d try creating and trashing a topic with the below happening.

    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.

    #244624
    Robin W
    Moderator

    The link only works for logged in users, but if I have understood the problem, then if you have FTP capability :

    find
    wp-content/plugins/bbpress/templates/default/bbpress/single-topic.php

    transfer this to your pc and edit

    line 21 contains the h1 tag, so you can amend this to what you want

    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/single-topic.php

    bbPress will now use this template instead of the original

Viewing 25 results - 1 through 25 (of 6,786 total)
Skip to toolbar