Skip to:
Content
Pages
Categories
Search
Top
Bottom

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

Viewing 25 results - 26 through 50 (of 6,773 total)
  • Author
    Search Results
  • #241914
    Robin W
    Moderator

    many sites will not wish you to even know that the topic exists, so throwing a 404 error is the default way.

    You can set where to send private topics using

    bbp style pack

    once activated go to

    dashboard>settings>bbp style pack>Subscription Emails item 2

    #241792
    Robin W
    Moderator

    ok, so in default mode, you will have the same bar as here. Another plugin or the theme is adding tyhe one on your test server. Are you using the bbp style pack plugin?

    #241665
    mikiya6729
    Participant

    I thought I would use the default forum template, so I clicked on the form template and saved it, but for some reason it wasn’t reflected. I’d like to know the cause of this.
    https://divivison.com/message-boards-around-the-world/

    smelendez
    Participant

    Hi, I am using the bbPress integration with BuddyPress, so that when new BuddyPress groups are created, their respective associated forum is also created. I would like these forums to already have some topics created by default (such as rules, general chat, …), so that the user does not have to create them manually. Although the user can create more topics later, but I would like the forum to already include some topics by default when the group is created. Is it possible to achieve this? Thanks.

    #241478
    Robin W
    Moderator

    ok, all I can suggest is the standard fault finding…

    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

    #241453
    yt
    Participant

    Hello
    I use Block FSE theme in my site anfdactivate BBPress in it.
    so, How can I change the default font family of Visual Editor and style it?

    #241405
    Ricsca2
    Participant

    I don’t understand how it is possible that bbpress in 2024 does not inherit the theme style! Buddypress inherits the theme style so it is even more absurd that bbpress does not inherit it.
    Here we are not talking about new features but simply an obvious thing that should have by default.

    #241361
    Robin W
    Moderator

    Learndash I think hides some stuff, maybe try disabling and see if that is the issue, you can then look at what you need to do there.

    If not, then 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

    #241339
    Salvatore Noschese
    Participant

    Thanks for reply but, sorry…
    Installed and keymaster issue (so, nothing work, I need to fix via your plugin): this is an important issue (cannot work without the fix by your plugin).
    Also, not work in FSE and also with your plugin I have bad result.
    FSE is out and default theme in wp from about 4 yrs and still not supported from bbpress.

    This really looks like an abandoned project.
    Other minor project (like asgaros
    And similar) work out of the box (install, shortcode, all work as expected).

    Best regards and I really hope bbpress team can work to fix asap this issue.

    #241306
    Robin W
    Moderator

    ok, that’s like sending your auto mechanic a picture of your Ford and asking him to say what is wrong 🙂

    The best I can say is 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

    #241284
    gkldh
    Participant

    yes, @robin-w its working on server side by default buddyx-theme/twentytwenty and no need any additional code add. May i know the reason why didn’t work on localhost ??

    And Next time I will test it on the server first. If I face any problem then I will post it.

    thank you so much your great help @robin-w

    #241283
    Robin W
    Moderator

    ok, since I cannot see the site, troubleshooting is near impossible.

    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

    Clivesmith
    Participant

    I am trying to use wp to buffer to send my topics and replies to X etc, but it does not send a featured image is there a way to set a default featured image.
    wp to buffer give 3 options
    1 No Image
    2 Use open Graph settings
    3 Use Feat..Image not linked to post.

    wp to buffer said “No such option for bbPress topics and replies”
    but on the setup page it has settings for posts, forums, topics and replies.

    Hope that makes sense.

    #241203
    uksentinel
    Participant

    Hi Robin
    Your test forum I believe is arranged as bbp style pack > Forum Templates > Alternate Forum template 1
    My Forum is arranged as bbp style pack > Forum Templates > Default Forum Template > Click to Select
    Then under bbp style pack > Forum Display > (Item 1 checkbox is not Selected)

    My Forum presents all Forums in a horizontal format, which is great for views on Desktop / PC etc.
    But what I am looking to achieve is to change that horizontal format to a vertical format when somebody views my forums on a mobile device < 400 dpi.

    Horizontal View Mobile
    https://uktechhub.com/wp/wp-content/uploads/2024/08/horizontal-view.png

    Vertical View Mobile
    https://uktechhub.com/wp/wp-content/uploads/2024/08/vertical-view.png

    Horizontal View when bbp style pack > Forum Templates > Default Forum Template > Click to Select
    And looking to change this view to Vertical for mobile screens
    https://uktechhub.com/wp/wp-content/uploads/2024/08/horizontal-view-template-horizontal.png

    My Site URL: https://uktechhub.com/forums/

    #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');
    ?>
    
    hansderuiter
    Participant

    Thanks @robin-w,

    Nice to see that your plugin is being updated.

    Is there a default group that all users are added to? The particular forum that I want to restrict is one that everyone must be able to see and have access to. Having to manually add every new user to the right group wouldn’t work.

    #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

    #240855
    arnoldmatt
    Participant

    I’ve heard disabling plugins one by one and switching to a default theme can sometimes help with these AJAX functionality issues. Let me know if you try this and it works!

    #240854
    priyam1234
    Participant

    In the new version, I am encountering a major issue where all AJAX functionality, as well as BuddyPress and other plugins, are not working properly.

    I have checked every scenario, including using the default WordPress theme, and consistently face issues due to the new version of bbPress.

    I kindly request you to resolve this issue as soon as possible, as my client has raised a refund request because of this problem.

    houd
    Participant

    You need to pick the allowed html tags that the users can use in your “functions.php”, like so:

    function wp_bbpress_allow_tags(){
        return array(
            'span'=> array(
                'class'     => true,
                'style'     => true,
            ),
    	// add other tags to allow here
        );
    }
    add_filter('bbp_kses_allowed_tags', 'wp_bbpress_allow_tags');

    Keep in mind the tags you pick here are the only tags that will be allowed, so list all of them here.

  • Don’t ask me why the default allowed tags are different than the default shown TinyMCE buttons.
#240821
prashpbt
Participant

Hello Robin,

I am using the default Twenty Twenty-Two Version: 1.2 theme provided by WordPress in version WP 6.0.9, without any customizations.

Does that too need the above fix you mentioned?.

Also I have earlier version of BBpress i.e 2.6.9 working fine with WordPress 5.8 installed on one of a server, which works absolutely fine without any such issues.

Any way to debug the possible cause ?. Cause no errors in apache logs as well.

#240818

In reply to: Change log

Robin W
Moderator

Nothing new

The following 13 errors fixed

View RSS feeds return the all-topic feed if the view doesn’t exist
After export from SMF error: bbp_converter_db_connection_failed
BBP_Converter_DB does not have a method “__destruct
Restoring a trashed topic will set the post status to ‘draft’ as of WordPress 5.6.0
Default arg to “bbp_add_forums_roles()” can cause errors
Reduce subscription email subject duplication
Editor buttons missing since 2.6.8 upgrade
bbp_get_reply_url() generates incorrect link for a spammed topic
Search displays hidden forums to participants
The content-archive-forum.php template does not filter if the search form should be displayed
Recount topics for each user, counts only published topics
Statistics widget throws Undefined index if no replies or topics tags
“You may use these HTML tags and attributes:” not escaped correctly

#240812
Kokiri
Participant

Hello everyone,

I hope you’re all doing well. I wanted to bring up an issue I’m encountering with our forum roles not displaying correctly for custom roles since making a recent change. Here are the details:

Issue:

    Our custom forum roles were displaying correctly a few hours ago (e.g., instead of “Keymaster,” we had “Staff/Admin”). However, after disabling forum topic tags, the custom forum roles are no longer showing up. Instead, the default roles like “Keymaster” are being displayed.


Steps Taken:

    Disabled forum topic tags in the settings.
    Observed that the custom forum roles stopped displaying and reverted to default roles.

Has anyone else experienced a similar issue or have any suggestions on how to resolve this? Any help would be greatly appreciated!

Thank you in advance!

Best regards,

#240772
Robin W
Moderator

Go to Settings > Permalinks, select the default permalinks then save. Now select your preferred permalinks structure. This flushes the rewrite rules and can solve some possible 404 errors.

#240759
ttiefenbach
Participant

I’m trying to get a default featured image to display using a filter of “post_thumbnail_id” in my child theme’s functions.php file. I’m able to add a default thumbnail for post_type of topic, but I’d like it to be a custom thumbnail based on the id, or name of the forum the topic is in. Here’s what I have so far:

function my_filter_thumbnail_id( $thumbnail_id, $post = null ) {
	if ( $post->post_type != 'topic' )
		return $thumbnail_id;
	
	$forumname = get_forum_name( $post->forum_id );
	if ( $forumname == "wellness")
		$thumbnail_id = 7091;

	return  $thumbnail_id;
}
add_filter( 'post_thumbnail_id', 'my_filter_thumbnail_id', 20, 5 );

The issue is, “get_forum_name(),” is an undefined function. I’m not looking to override the default functions of bbPress, just be able to access the forum_id or forum_name from my theme’s functions.php file. Any help would be greatly appreciated! Thanks

Viewing 25 results - 26 through 50 (of 6,773 total)
Skip to toolbar