Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 4,526 through 4,550 (of 64,471 total)
  • Author
    Search Results
  • #211578
    desmond234
    Participant

    Theme – Aardvark

    Hey guys, I’m having an issue with how my theme is interacting with the bbpress subforum list. I added the bbpress style pack plugin because of a issue I was having with the search bar, but it resulted in all the subfourms piling up on one another. The issue arises because the subforums have a box background (which I like), but the background overlaps with the other subforums. You can see the issue I’m having here.

    http://www.podfolk.com/forums/

    Does anyone know any code I can put into the style or functions file to resolve the issue?

    #211568

    In reply to: Replies not indenting

    Robin W
    Moderator

    WordPress 5.4.1
    bbpress 2.6.5
    bbp style pack 4.5.3
    twentyten theme

    #211567
    Pete
    Participant

    I have a problem with the way breadcrumbs are being displayed on my search results screen.

    First of all, I have the following (amongst other things) in my functions.php file:

    
    /**
    Just a simple breadcrumb trail, but, importantly, don't double up when we're at the root
    **/
    function mycustom_breadcrumb_options() {
    	// Home - default = true
    	$args['include_home']    = false;
    	// Don't need breadcrumbs if we're at the root
    	if ( apply_filters( 'bbp_no_breadcrumb', is_front_page() ) ) {
    	// Forum root - default = true
    		$args['include_root']    = false;
    	// Current - default = true
    		$args['include_current'] = false;
    	}
    	return $args;
    }
    add_filter('bbp_before_get_breadcrumb_parse_args', 'mycustom_breadcrumb_options' );
    
    /**
    Search only the specified forum
    **/
    function my_bbp_filter_search_results( $r ){ 
        //Get the submitted forum ID
        $forum_id = sanitize_title_for_query( $_GET['bbp_search_forum_id'] );
        //If the forum ID exits, filter the query
        if( $forum_id && is_numeric( $forum_id ) ){
            $r['meta_query'] = array(
                array(
                    'key' => '_bbp_forum_id',
                    'value' => $forum_id,
                    'compare' => '=',
                )
            );  
        }
        return $r;
    }
    add_filter( 'bbp_after_has_search_results_parse_args' , 'my_bbp_filter_search_results' );
    

    I have a search box on the forum home page and on the index page for each individual forum. For general navigation around my forum the breadcrumbs are presented as one might expect and search results are confined to those relevant to the current forum (or all forums from the home page).

    The breadcrumbs on the Forum ‘home page’ show simply as Forums and on individual forum index pages as Forums > ForumName, where ‘ForumName’ is the name of the current forum, etc. A search request from the Forum home page returns results as expected, with the breadcrumbs displayed as Forums > Search > Search Results for 'search string'. However, while a search from one of the individual forum index pages returns the refined search results as expected, the breadcrumbs are always displayed as Forums > Search > Search Results for 'search string', they don’t include the name of the forum that has been searched (i.e. Forums > ForumName > Search > Search Results for 'search string'.

    I think I can see that the search is actually being applied to all forums, then refined by the relevant function in the functions.php file, so I think I can see why I might have to do a little extra work to get the relevant forum name displayed in the breadcrumb, but can anyone suggest how I might do this? It would seem that I should be able to add a little more code to my mycustom_breadcrumb_options() function, but what exactly…?

    Thanks for any assistance anyone can offer.
    (WordPress 5.4.1, bbPress 2.6.5, website: digitalconcepts.net.au/forum – Please note, this part of the website is ‘hidden’ from the home page, you need to navigate there via the above direct URL)

    #211565

    In reply to: Replies not indenting

    sleestak
    Participant

    That’s why I said it is a fresh install. Literally…installed WordPress, bbpress, created a forum and it doesn’t work.

    JohnRDOrazio
    Participant

    I am seeing this error in the posts when posting / updating a post:

    Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘publish_topics’ not found or invalid function name in …/wp-includes/class-wp-hook.php on line 287

    Am using WordPress 5.4.1, Buddypress 6.0.0, bbPress 2.6.5, and PHP 7.1.33 .

    #211547
    eroesi
    Participant

    Hey guys,
    I think my bbPress database is broken.

    First I am unable to post anything with any users and different rights (admin, participant), the error “you are too fast, slow down” appears every time.

    Second I am unable to reset the database through admin > tools > forums > reset forums. If I try to reset the database with a click on the blue button “reset bbPress” the page reloads but there is the whole content still there.

    Third I tried to delete and reinstall bbPress, but after reinstall I have not a single bbPress-option in the admin dashboard, like tools > forums oder settings > forum oder Forums, Topics and the other bbPress-related links.

    I already disabled every plugin but still I am unable to post anything or reset the database.

    Can you guys please help me?

    #211544
    zirow
    Participant

    I’ve tried @robin-w snippit above but didnt work with my current wordpress version(latest one according to the date of my post) but i managed to get it working with this snippit if anyone needs it.

    Note: I’m a beginner to wordpress and bbpress so there might be other better ways of doing this.

    function change_role(){
    $user_id = $user->ID ;
    if( current_user_can(‘administrator’)){

    bbp_set_user_role( $user_id, ‘bbp_keymaster’ );

    }
    }
    add_action(‘wp_login’, ‘change_role’);

    #211543
    sleestak
    Participant

    I have posted this before, but I still can’t get this to work. I have threaded replies enabled, but my replies are not indenting. To determine if it was an issue with my theme, I created a brand new WordPress test site and tried all of the included test themes and indenting does not work on any of them. The only plugins I have are bbpress and the bbpress style pack. What am I missing?

    Thanks!

    #211537

    In reply to: bbPress Roadmap

    Robin W
    Moderator
    #211535

    In reply to: bbPress Roadmap

    Dion Hulse
    Keymaster

    Like WordPress, bbPress uses a semi-decimal-based versioning system, where bbPress 2.4, 2.5, and 2.6 are considered major versions.

    bbPress 2.6 was a major update with just under 6 years of development:

    This version of bbPress has been in development for just a bit under 6 years (yikes!) over which 420 tickets were resolved via 1737 individual code commits.

    The Full list of releases is available on the bbPress codex, although it doesn’t have the full details for the latest two minor 2.6.x releases.

    #211534
    josh.grisdale
    Participant

    Just wondering if there is an official bbPress roadmap for the next few releases. We’ve been on version 2 since 2011..

    #211532

    Read the blog post here!

    bbPress 2.6.5 is out!

    This is a really important security release, so please take the time to update as soon as you are able to. There are 3 separate security improvements in 2.6.5, so don’t delay!

    Sorry for releasing late in the week. Thank you to everyone for using bbPress! 💚

    amirzwp
    Participant

    Ok I fixed it with deactivating and activating bbpress again.

    #211501
    Robin W
    Moderator

    Sorry I’m just a bbpress user who helps out here. I don’t have time to research every part of code – the answer is no doubt yes.

    #211498
    raderack
    Participant

    im running xammp and installed wordpress as a module.
    i installed the bbpress
    but isnt in /wordpress/bbpress or /bbpress
    where it is?

    #211495
    joergfischer75
    Participant

    Hi there,

    I´ve got a question about the login function of bbpress. I´ve created a forum and would like this to be visible only after you have logged in. So if you come on the forum-page there should be only a login field. And then you come to the forum. Is this possible and can anybody give me a hint?

    Thanks a lot and best regards

    Jörg

    Robin W
    Moderator

    post type reply is definately bbpress.

    so how would I know from the link whether it is working – what am I looking for ?

    amirzwp
    Participant

    And again, thank you very much for your help.

    It didn’t change anything on the BBPRESS – Reply Pages, for example:

    https://www.paastoa.com/antworten/8907/

    Is the code you sent me really for BBPRESS? I think it’s for the normal replies…

    #211488
    davelowe1977
    Participant

    Apart from the root forum which shows all the sub forums and nothing else, all my sub forums have a reply / new topic form tacked on at the bottom. I would like to remove this and replace it with two buttons: “New” and “Reply” which lead to a separate form/page with all the removed functionality. If I inspect the page code as it is, it is everything in this element tag:

    <div id=”new-topic-0″ class=”bbp-topic-form”>

    Is this possible? Thanks.

    WordPress 5.4.1
    BBPress Version 2.6.4 & default theme.

    #211487

    In reply to: first reply sticky

    Robin W
    Moderator

    I think this is what you are after

    bbp_show_lead_topic

    Put this in your child theme’s function file – or use

    Code Snippets

    #211485
    Robin W
    Moderator

    you could just enqueue it

    bbp_enqueue_script( bbpress-editor-always, 'js/editor.js', array( 'jquery' ), '2.6.4', true );

    Robin W
    Moderator

    thanks – I’m just a user who helps out here, not a bbpress author.

    so

    1. can you confirm that the above plugin is not necessary – bbpress already does this ?

    2.

    can you try this code

    add_filter( 'wpseo_metadesc', 'rew_meta_desc' );
    function rew_meta_desc( $content ) {
        global $post;
        if ($post->post_type == 'reply' ) {
    		$order = $post->menu_order ;
    		$post_parent = $post->post_parent ;
    		$title = get_the_title ($post_parent) ;
            $content = $title.' '.$order ;
        }
     return $content;
    }

    Put this in your child theme’s function file – or use

    Code Snippets

    amirzwp
    Participant

    Thanks for your answer. This only does that the topics in BBpress displays the correct meta description from Topic Content. But I need it also for the Reply-Pages, like I mentioned.

    #211477
    Robin W
    Moderator

    theme specific, bbpress just uses the width your theme gives it.

    amirzwp
    Participant

    bbPress does automaticly create a page for each reply.

    Example:

    Antwort auf: Auf- und Abbautage – was muss ich beachten?

    Antwort auf: Braucht es eine Darmreinigung?

    Antwort auf: Welche Methode passt zu mir?

    The Meta Title is empty (only the title of the website), how can we automaticly create a meta title from the title of the reply? I give you an example:

    Reply: https://www.paastoa.com/antworten/8907/
    Reply Title: Antwort auf: Auf- und Abbautage – was muss ich beachten? 01
    Meta Title should be: Antwort auf: Auf- und Abbautage – was muss ich beachten? 01
    or something like that. But something is important: It should create a different title for each of the answers (With a number at the end? Or what do you think is the best solution for this issue?)

    Hope you understand my question and thanks for your help.

Viewing 25 results - 4,526 through 4,550 (of 64,471 total)
Skip to toolbar