I created a plugin which would search the wordpress blogs when a search is performed in the bbpress forum.
you can see the details here
I created a plugin which would search the wordpress blogs when a search is performed in the bbpress forum.
you can see the details here
I have a feeling that to use this, I would have needed to set up both my WP site and my BB site on the same MySQL database, but I didn’t. What would be the solution to this? Thanks.
hmm.. good point.. I’ll put some new options in the next release.. as of now, I think I don’t have a solution except some code changes to the plugin.
Thanks for the quick reply. I’ve gone ahead and re-installed BB (there is an updated version to install anyway) so this time I made sure to use the same DB as WP with the table prefixes and all, and now your plugin works great in terms of including WP content in searches from BB. But my WP searches (separate function) are not going to include BB content. Searching all the content on the site (WP and BB) only happens when searching from a BB search box (your plugin), not the other way round. So how can I substitute the existing WP search function with the BB search function driven by your plugin? Thanks again!
:) good point.. another enhancement that I’ll have to make in the next version..
Uh-oh… whenever I make a good point, it means something I want can’t be done! :)
But I do have it working now, and it seems like all I had to do was open searchform.php and change
/” method=”get”>
to
/my_bbpress_dir/search.php” method=”get”>
and then change the width of the search box but I am using the WP default theme and this may not work for other themes.
I see your comment engine mangles the code. Anyway, I do have it working now. I only posted the code to help others who might have the same problem, but oh well…
thanks for the comments.. i have all these as enhancements in the plugin browser here
keep an eye out for it.