Search: AI, Hybrid, Classic

  • Pricing
  • Contact Us
  • Help
    • My Licenses
      • Login
      • Download
      • Why us
      • Contact us
    • Features
      • Google Retail Search
      • Weaviate
      • Elasticsearch
      • OpenSearch
      • Solr
      • Algolia
      • Roadmap
      • Artificial Intelligence
      • Hosting
      • Releases
    • Documentation
    • Support
    • Testimonials
    • Live Demos
    • Blog
Menu
  • Pricing
  • Contact Us
  • Help
    • My Licenses
      • Login
      • Download
      • Why us
      • Contact us
    • Features
      • Google Retail Search
      • Weaviate
      • Elasticsearch
      • OpenSearch
      • Solr
      • Algolia
      • Roadmap
      • Artificial Intelligence
      • Hosting
      • Releases
    • Documentation
    • Support
    • Testimonials
    • Live Demos
    • Blog
Search
Search
Search
Search

Home » Your configuration journey, step by step » Add-ons » bbPress add-on

bbPress add-on

62 views 0 April 9, 2021 Updated on April 13, 2021

What is the bbPress add-on

The bbPress add-on combines the forum plugin with WPSOLR search.

 

How to install the bbPress plugin

Image Screenshot-2021-04-02-at-11.23.27.png of bbPress add-on

Click on Plugins.

Image Screenshot-2021-04-02-at-11.22.30.png of bbPress add-on

Then click on “Add New”.

Image Screenshot-2021-04-02-at-11.22.38.png of bbPress add-on

Type in “bbpress”.

Image Screenshot-2021-04-02-at-11.22.44-1024x402.png of bbPress add-on

Select “Install Now” to install the plugin.

Image Screenshot-2021-04-02-at-11.25.46-1024x248.png of bbPress add-on

We can see the plugin was installed correctly.

 

Create a bbPress forum

Image Screenshot-2021-04-08-at-12.51.22.png of bbPress add-on

Click on “Forums” > “Add New”.

Image Screenshot-2021-04-08-at-12.54.43-1024x491.png of bbPress add-on

Then give your new forum a title and a description. Choose the type of forum it is, the status and the visibility. When you’re done save your changes.

Image Screenshot-2021-04-08-at-13.05.35.png of bbPress add-on

Then click on “Pages” > “Add New”.

Image Screenshot-2021-04-08-at-13.50.07-1024x383.png of bbPress add-on

Add a title and a shortcode. Add this shrtcode to add the newly created forum.

Image Screenshot-2021-04-08-at-13.52.50.png of bbPress add-on

Then click on “Appearance” > “Menus” if you want to add the new page on the menu bar.

Image Screenshot-2021-04-08-at-13.53.13-1024x366.png of bbPress add-on

Select the menu to edit at the top then click on the newly created page on the left.

Image Screenshot-2021-04-08-at-13.53.19.png of bbPress add-on

Click on “Forum”.

Image Screenshot-2021-04-08-at-13.53.25.png of bbPress add-on

Then click on “Save Menu”.

Image Screenshot-2021-04-08-at-15.26.47-1024x411.png of bbPress add-on

Then go on the front part of your website and create a comment.

Image Screenshot-2021-04-08-at-15.26.57-1024x502.png of bbPress add-on

As you can see we have one post created on our forum.

Image Screenshot-2021-04-09-at-11.31.01-1024x211.png of bbPress add-on

Then head onto WPSOLR and click on “Define your search with ‘wpsolr-index'” > “Data”.

Image Screenshot-2021-04-09-at-11.32.45-1024x108.png of bbPress add-on

Click on “Forums” and select the fields you want to use.

Image Screenshot-2021-04-09-at-11.30.13-1-1024x155.png of bbPress add-on

Here I chose the topic id field.

Image Screenshot-2021-04-09-at-12.06.25.png of bbPress add-on

Then click on “Filter” in the sidebar.

Image Screenshot-2021-04-09-at-12.08.01-1024x80.png of bbPress add-on

Then select the bbPress fields.

Image Screenshot-2021-04-09-at-12.30.19-1024x677.png of bbPress add-on

Image Screenshot-2021-04-09-at-12.30.28-1024x669.png of bbPress add-on

Then Choose a label for these fields and pick a layout. I picked the “Select box” layout. Save and index the content.

 

Create a WPSOLR index

Image Screenshot-2021-04-02-at-11.45.31.png of bbPress add-on

Click on “Connect your indexes” in the menu bar at the top in the WPSOLR admin area.

Image Screenshot-2021-04-02-at-11.45.37.png of bbPress add-on

Then click on “Connect to your search server or search service”.

Image Screenshot-2021-04-02-at-11.46.44-1024x698.png of bbPress add-on

Then choose a search engine, a hosting service, the language and a WPSOLR index name. Choose the search engine index name as well and enter the Endpoint URL that the search engine service has provided you. Leave the default number of shards and replicas iff you’re not sure how much you need. Finally, fill in the user and password you received with your endpoint url.

 

Add the bbPress add-on

Image Screenshot-2021-04-02-at-14.30.00.png of bbPress add-on

Click on “Activate extensions”.

Image Screenshot-2021-04-02-at-14.31.05.png of bbPress add-on

Click on “bbPress” in the sidebar.

Image Screenshot-2021-04-02-at-14.31.09-1024x677.png of bbPress add-on

Then select the first checkbox and save to activate the add-on. Activating the bbPress add-on is important because without it we could not search bbPress content on the website like forum and topics.

Image Screenshot-2021-04-13-at-08.58.54-1024x177.png of bbPress add-on

Image Screenshot-2021-04-13-at-08.59.05-1024x659.png of bbPress add-on

here is what happens when I click on a suggestion when the bbPress add-on is deactivated. It leads me to a product and not the bbPress topic I created earlier.

Image Screenshot-2021-04-02-at-14.41.41.png of bbPress add-on

Then click on “Theme” in the sidebar.

Image Screenshot-2021-04-02-at-14.41.50-1024x291.png of bbPress add-on

Click on the first checkbox. This add-on is important if you want to have more options in the type of layout available when installing the filters.

 

Configure WPSOLR

Image Screenshot-2021-04-02-at-16.11.29.png of bbPress add-on

Click on “Define your search”.

Image Screenshot-2021-04-02-at-16.11.47-1024x517.png of bbPress add-on

Then select the “Search” checkbox and select the search index we created earlier. When you’re done save.

Image Screenshot-2021-04-06-at-09.26.06.png of bbPress add-on

Click on “Data” in the sidebar.

Image Screenshot-2021-04-06-at-09.27.02-1024x236.png of bbPress add-on

Then click on the data you want to search in. Here I chose “Products”. Then select the taxonomies you want.

Image Screenshot-2021-04-06-at-09.27.39-1024x399.png of bbPress add-on

Then select the fields you want. You can also choose the type of the field. I decided to use floating point number on the price field and the integer number on the stock field because I will use them as sliders. Since stock status is going to be a checkbox, I left the text field type.

Image Screenshot-2021-04-12-at-12.17.02.png of bbPress add-on

Then click on “Suggestions” in the sidebar.

Image Screenshot-2021-04-12-at-14.46.31-1024x500.png of bbPress add-on

Click on “Configure new suggestions”

Image Screenshot-2021-04-12-at-15.02.46-1024x722.png of bbPress add-on

Then fill in the fields. Click on the checkbox to activate the suggestions. Choose a label then fill in the jquery selectors. I will show you how to find out the jquery selector after. suggest a query. Then fill in the following fields. Here I chose to use the default options.

Image Screenshot-2021-04-12-at-14.48.01-1024x312.png of bbPress add-on

To get the jQuery id head to the front part of the website and select the search box you want the suggestions to apply to.

Image Screenshot-2021-04-12-at-14.48.06.png of bbPress add-on

Then copy the id.

Image Screenshot-2021-04-06-at-11.07.50.png of bbPress add-on

Click on “Filter” in the sidebar.

Image Screenshot-2021-04-06-at-11.08.42-1024x109.png of bbPress add-on

Select the filters you would like to use, then save.

Image Screenshot-2021-04-06-at-11.19.23-1024x556.png of bbPress add-on

You can now modify these filters. Choose a label and a layout. I chose the “Range slider” layout. This layout will not be available if you have not activated the “Theme extension” in the previous section. Choose a skin for the filter as well. This will determine the to sliders appearance.

Image Screenshot-2021-04-07-at-11.49.00-1024x563.png of bbPress add-on

Fill in the same fields for the stock filter. I decided to use the range slider a second time here.

Image Screenshot-2021-04-07-at-11.50.09-1024x691.png of bbPress add-on

Then scroll down and enter a label for the stock status filter. I chose the “Check boxes” layout this time. Then scroll down.

Image Screenshot-2021-04-07-at-12.00.22-1024x258.png of bbPress add-on

Click on the “Override each item label”.

Image Screenshot-2021-04-07-at-12.08.27.png of bbPress add-on

Then fill in the field. This will be the title displayed next to the checkbox. Here I chose to call it “available”.

 

Index the content

Image Screenshot-2021-04-08-at-09.12.21.png of bbPress add-on

Click on “Send your data” in the menu bar.

Image Screenshot-2021-04-08-at-09.13.19-1024x392.png of bbPress add-on

Then click on “Index selected post types in index”. This will index our products.

 

Add the WPSOLR facet widget

Image Screenshot-2021-04-08-at-09.57.58-1024x70.png of bbPress add-on

Click on Customize on the frontend side of your website.

Image Screenshot-2021-04-08-at-10.00.02.png of bbPress add-on

Click on “Widgets”.

Image Screenshot-2021-04-08-at-10.00.10.png of bbPress add-on

Then click on “Sidebar”.

Image Screenshot-2021-04-08-at-10.13.01.png of bbPress add-on

Click on “Add a Widget”.

Image Screenshot-2021-04-08-at-10.13.13.png of bbPress add-on

Then type in “WPSOLR Facets”. Select it then leave the default settings and publish the changes.

 

Test website search

Image Screenshot-2021-04-09-at-15.43.57-1024x306.png of bbPress add-on

This is what search return to us by using WPSOLR without the bbPress add-on activated. We can see the WPSOLR facets have been added correctly. Now if we activate the add-on, we will not see the products

Image Screenshot-2021-04-12-at-15.59.47-1024x138.png of bbPress add-on

Image Screenshot-2021-04-13-at-09.43.00-1024x382.png of bbPress add-on

As you can see suggestions are also working. Here a bbPress topic is recommended to me as well as its post. But you should know that if you use the bbPress add-on, normal search will not work. You won’t be able to search products or any other content that is not related to bbPress.

Was this helpful?

Yes  No
Related Articles
  • Hybrid search
  • Question Answering
  • Cohere
  • OpenAI
  • HuggingFace
  • CLIP

Didn't find your answer? Contact Us

Previously
Add-ons
Up Next
YITH WooCommerce Ajax Search add-on
Expand All Collapse All
  • What is it WPSOLR ?
    • The standard WordPress SQL search
    • The WPSOLR search with Elasticsearch, Apache Solr, or Algolia
  • Your configuration journey, step by step
    • Install Apache Solr
    • Hosted Apache Solr and SolrCloud Services
    • Install Elasticsearch
    • Elasticsearch Hosting
    • Configure your indexes
      • Create a Google Retail search index
      • Create a Weaviate index
        • Transformers
        • CLIP
        • HuggingFace
        • OpenAI
        • Cohere
        • Question Answering
        • Hybrid search
      • Generate a test Apache Solr index
      • Generate a test Elasticsearch index
      • Create an Apache Solr index
      • Create a SearchStax SolrCloud index
      • Create an Elastic Elasticsearch index
      • Create an Amazon AWS OpenSearch index
      • Create an Algolia index
      • Create an Elasticsearch index
      • Create an Opensolr Solr index
      • Create a Qbox Elasticsearch index
      • Create an ElasticPress Elasticsearch index
      • Create an Aiven Elasticsearch or OpenSearch index
      • Create a Bonsai Elasticsearch index
      • Create an Amazon AWS Elasticsearch index
      • Create an ObjectRocket Elasticsearch index
      • Create a Cloudways Elasticsearch index
      • Create an Alibaba Cloud Elasticsearch index
      • Create a Compose Elasticsearch index
      • Connect to an Apache Solr index
      • Connect to an Elasticsearch index
    • Add-ons
      • bbPress add-on
      • YITH WooCommerce Ajax Search add-on
      • SEO add-ons
        • Yoast SEO add-on
        • All in One SEO add-on
      • Listable add-on
      • ACF add-on
      • Advanced Scoring add-on
      • Cron Scheduling add-on
      • Theme add-on
        • Filters layouts
          • Radiobox & Checkbox Layout
          • Numeric Range Layout
          • Colour Picker Layout
          • Range Slider Layout
        • Add Ajax to the current Theme
        • Collapse taxonomy hierarchies
        • Custom Facets CSS
      • WPML add-on
      • Premium add-on
        • Manage more than one Elasticsearch or Solr index
      • PDF Embedder add-on
      • Geolocation add-on
      • AI Natural Language APIs add-on
        • Amazon Comprehend
        • Google Natural Language
        • Aylien Text Analysis
        • MeaningCloud
        • Qwam Text Analytics
      • Toolset Types add-on
      • AI Image and OCR APIs add-on
        • Google Vision
        • Amazon Rekognition
      • Embed Any Document add-on
      • MyListing add-on
      • Polylang add-on
      • WooCommerce add-on
      • Cross-domain search add-on
      • Directory+ add-on
      • Toolset Views add-on
      • Listify add-on
      • Jobify add-on
      • Query Monitor add-on
  • Quick start
Login
Support
Privacy policy
  • Terms and Conditions
  • © 2020 wpsolr.com. All Rights Reserved.
Youtube
Roadmap