Skip to:
Content
Pages
Categories
Search
Top
Bottom

Yet another search function thread


  • caming
    Participant

    @caming

    Hi all,

    Stop me when you’ve heard this before: I need a search function. Is this still planned for a 2.3 release? Is there an ETA? No rush, necessarily. I’m using the following as a bandaid:
    `function my_add_bbp_to_search( $post_type ) {
    $post_type['exclude_from_search'] = false;

    return $post_type;
    }
    add_filter( ‘bbp_register_forum_post_type’, ‘my_add_bbp_to_search’ );
    add_filter( ‘bbp_register_topic_post_type’, ‘my_add_bbp_to_search’ );
    add_filter( ‘bbp_register_reply_post_type’, ‘my_add_bbp_to_search’ );
    `

    Wondering if there’s a way to identify and block hidden posts from showing (we have a mod forum) — or maybe I’ll just have to wait until the next release. Just curious if there’s any thoughts on it …

    Thanks ~

Viewing 2 replies - 1 through 2 (of 2 total)

  • Jared Atchison
    Moderator

    @jaredatch

    bbPress search has been implemented from scratch in bbPress 2.3 release. The new search does not piggyback off of WordPress search (which is what happens when you add the code above) and works extremely well.

    Version 2.3 is actually in RC1 right now and is very stable, so you could upgrade to that and it would give you the new search feature.

    http://bbpress.org/blog/2013/03/bbpress-2-3-release-candidate-1/

    My recommendation would be to give 2.3 RC1 a whirl. Of course since it is RC1, do a backup before upgrading :)


    caming
    Participant

    @caming

    Rad. Thanks Jared!

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.