bbPress

Simple, Fast, Elegant

bbPress plugin browser »

WP Search (1.0)

Download

Version: 1.0

Other Versions

Last Updated: 2007-1-9

Requires bbPress Version: 0.73 or higher

Compatible up to: 0.74

Author Homepage »

Plugin Homepage »

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(4)

Your Rating

Author: Aditya Naik

This plugin searches the Wordpress Posts whenever a search is executed in BBPress. The template for the search will need to be modified to display the posts

Tags: ,

  1. I would really like to use this plugin but I get the following error when trying any search:

    bbPress database error: [Table 'wordpressmu.wp_posts' doesn't exist]
    SELECT * FROM wp_posts WHERE (post_title LIKE '%hello%') OR (post_content LIKE '%hello%')

    Any ideas?

    Greetz,

    Posted: 1 year ago #
  2. Another great integration plugin to list if we ever get an integration sub-forum around here ;-)

    I think you need to modify your search so it only includes published WP posts, and excludes private.

    if ($bb->wp_table_prefix)	$wp_posts = $bbdb->get_results("SELECT * FROM " . $bb->wp_table_prefix . "posts
    	 						WHERE (post_title LIKE '%$q%') OR (post_content LIKE '%$q%') AND post_type != 'page' AND post_status = 'publish'");

    and your date function was not working for me so I modified it to this:

    <p><small><?php _e('Posted') ?> <?php echo _bb_time_function_return( $wp_post->post_date, array('format' => 'F j, Y, h:i A') ); ?></small></p>
    Posted: 1 year ago #
  3. After I activate the plugin, what do I need to do next?

    I think this is a great plugin but I just cann't figure it out on my own, sorry newbie in the house.

    I am not to familiar with the functions!!

    Thanks in advance

    Posted: 1 year ago #
  4. You should let us know what code to add to our templates.

    Posted: 11 months ago #
  5. Where need to paste this code bb_search_wp?

    Posted: 5 months ago #

RSS feed for this topic

Add a Comment

You must log in to post.

Code is Poetry.