Post Comments as bbPress Topics

Description

Adds an option to the Discussion meta box to use a bbPress topic instead of WordPress comments, and displays that topic beneath the post on your site.

You can let the plugin create a new topic for you in the forum of your choice, or specify an existing topic to attach to the post.
A topic can be attached to as many posts as you’d like, but only one topic can currently be attached to a post.

Screenshots

  • The post Discussion meta box
  • Default post settings on the Discussion page
  • Comment bubble replaced with the number of forum posts

Installation

  1. Extract the plugin archive
  2. Upload plugin files to your /wp-content/plugins/ directory
  3. Activate the plugin through the ‘Plugins’ menu in WordPress

FAQ

I don’t see the Discussion meta box. Where is it?

See this article for a quick tip on how to toggle the Discussion meta box.

Reviews

September 10, 2023
Amazing solution! Thank you so much - it is so much needed! Please do not leave this brilliant plugin....
January 22, 2022
Thanks for the plugin, it works like a charm! PS - why you don't have a logo? It looks like an old abandoned plugin. I can try to draw a modern bright logo for such amazing plugin if needed!
March 17, 2021 1 reply
I could see how this plugin would be an absolute must if you are someone who is serious about using bbPress. bbPress Topics for Posts is clean and works well. I'm glad I found it.
May 22, 2019
I have been using this plugin for years now and I love the idea of creating a new post and it automatically creating a forum topic to handle the comments or to attach it to an already existing forum topic.It is a great way to funnel traffic to a forum topic as your blog posts can appear on your home page. You can even attach multiple posts to the same forum topic to keep topics alive. If you have a blog and a forum, this will be the best plugin besides BBPress you can use. A bit of history. I ran an old Ikonboard forum and decided to upgrade and transfer it over to BBPress. And using WordPress enabled me to create blog posts which I use a lot. But the site members were confused because they were use to the forum and forum posts, but the comment section under the blog posts confused them because they looked different and didn't have the familiar toolbar etc. They still thought the blog was a forum and the comments is where you post forum topic replies. But the members couldn't understand why it looked different to the forum itself. They still thought of the site as just a forum with a fancy home page. So I installed this plugin and it transformed the site. With WordPress, BBPress, and this plugin, my old forum was transformed into a Blog site that uses a forum to handle comments and drive traffic and activity from the home page to the forum topics.
Read all 18 reviews

Contributors & Developers

“Post Comments as bbPress Topics” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

2.2.7

*updated to correct errors on saving drafts and fix isssues where the ‘classic editor’ plugin was being used

2.2.4

*further updated prior to re-open

2.2.3

*further updated prior to re-open

2.2.2

*updated prior to re-open

2.2.1

*corrected error on update comments on import

2.2.0

*corrected error on update post when topic slug not numeric

2.1.9

*reverted to == for most compare functions from ===
*replaced ‘create_function’ which was deprecated in php 7.2 and removed in php8 for line 355 and 408

2.1.8

*bug fix for post update – to correctly update the relared topic

2.1.7

*allow for topic deletion and remove post meta

2.1.6

*amended error in custom post types to ensure listing on upgrade

2.1.5

*added support for custom post types

1.9.5

*an automatic cache purge for wp-rocket and w3Total Control has been added

1.9.4

*corrections to apply filters on line 77 to take out syntax error

1.9.3

*Amend if(jQuery(this).attr(‘checked’)) { to if(jQuery(this).prop(‘checked’)) { to resolve jquery issue

1.9.2

*Localise messages

1.9.1

*Corrections to ‘do this for existing posts’ to re-enable

1.9.0

*Improved settings display

1.8.9

*added the ability to choose post and page types for display

1.8.8

*added the ability to show reply count in topic link

1.8.7

*minor amendment to prevent error on processing update

1.8.6

*minor amendment to prevent undefined variable warning

1.8.5

*prevent duplicate topic creation on post update during post creation

1.8.4

*amended bbppt_activate get_options to correctly load on null value (new installation)

1.8.3

*commented out filter in comment-bbpress.php line 15 as no longer needed and causing pagination to fail

1.8.2

*fixed call to deprecated function in comment-bbpress.php line 15
*amended index.php to allow for gutenberg page and post meta boxes

1.8.1

  • Fixed: Posts with draft settings did not have topics created under certain circumstances – thanks, Opinynated
  • Fixed: PHP notice when editing global settings for the first time
  • Changed: Updated default templates to look better with twentythirteen theme

1.8

  • Added: Anchor for “Respond” / “Leave a reply” links in post listings
  • Fixed: Post titles appeared blank when saving under certain circumstances – thanks, Keiser Media and nosignal
  • Fixed: Saved draft settings were not reflected when editing the post under certain circumstances – thanks, RobJustice777
  • Fixed: A couple other PHP warnings

1.7

  • Fixed: Multiple topics created for posts under certain circumstances – thanks, Erlend Sogge Heggen!
  • Fixed: Draft settings not properly deleted when publishing posts
  • Changed: Silenced a bunch of warnings for a cleaner debug experience

1.6

  • Changed: Will now create topics for posts marked ‘Private’ when selected – thanks, dhtc
  • Fixed: PHP warning about uninitialized $bbp object
  • Fixed: topic “Freshness” did not match post date for imported posts- thanks, Justin Mason
  • Fixed: comment bubble count didn’t match reply count when importing existing comments
  • Fixed: post settings for copying tags and comments did not reflect defaults

1.5

  • Added: Can import comments when bulk processing posts (with new default setting)
  • Added: Broad support for scheduled posts and those made by plugins
  • Added: Delete forum topics when deleting last associated post
  • Added: Template functions for integrators / theme developers
  • Added: much-needed action hooks — more to come!
  • Added: Debug hooks for diagnosing issues when processing new topics
  • Changed: dropped $bbp for carrying topic ID to template files — copies of comments-bbpress.php must be updated
  • Changed: Bulk processing now includes posts with topics attached (to copy tags and import comments)
  • Changed: Skip ineligible post types during bulk processing – thanks, Gawain Lynch
  • Changed: Skip pages during bulk processing (can use filter to include them)
  • Fixed: Make path to admin script MU-compatible
  • Fixed: Make topic date match post date when importing old posts (or setting post date in the interface) – thanks, casewolf

1.4

  • Fixed: duplicate topics created when updating posts with a default forum set – thanks, nchiari
  • Fixed: could not access multiple pages of replies from post – thanks, oddcopter
  • Added: bulk create topics for existing posts from the Discussion settings page

1.3

  • Added: support for copying existing comments to bbPress topic – generously contributed by javiarques!
  • Added: support for loading template files from theme directory
  • Changed: cleaned up the Discussion meta box a bit
  • Changed: moved away from $bbp since it has been dropped in bbPress 2.1
  • Fixed: not all forums appeared in dropdowns in some cases – thanks, javiarques

1.2

  • Added: support for copying tags from post to topic
  • Added: support for creating topics for XML-RPC posts (only if creating a topic is set in defaults)
  • Added: translation support – thanks, efedoso
  • Changed: addslashes to topic body, fixing some topic content issues – thanks, sangil

1.1

  • Added: support for bbPress 2.1
  • Fixed: Bug that broke “Link to topic” option until default discussion settings were saved

1.0

  • Changed: default topic text is processed with kses
  • Fixed: bug that could prevent going back to custom settings once defaults were selected
  • Fixed: short_open_tag issues – thanks, dalekoop and drsim
  • Fixed: error when default discussion settings hadn’t been saved – thanks, richardjay

0.9.5

  • Added: option to display only link to topic under post
  • Added: option to display newest/oldest x replies under post
  • Added: change the content of the new topic from the Discussion settings page
  • Added: option to “Use default settings” to keep topic display uniform
  • Changed: added placeholder text to make existing topic selection more intuitive – thanks, qgil
  • Changed: internal settings storage, for easier future changes

0.9

  • Fixed: bug preventing access to edit posts / pages under some conditions – big thanks, KaiSD

0.8

  • Changed: topic creation runs only when post is published, not when saving a draft

0.7

  • Added: strip shortcodes from excerpt in topic – thanks, wpforchurch
  • Added: bbppt_topic_content_before_link filter to change topic content without processing the link
  • Changed: stopped using deprecated function for excerpt generation

0.6

  • Added: bbppt_topic_content filter to let others change the content of new topics
  • Changed: Made error strings more detailed when creating or assigning a topic fails
  • Fixed: translation function error (used _( instead of __( – D’oh!) – thanks, justin-mason and David100351

0.5

  • Added: can set creating a bbPress topic for discussion as default for new posts
  • Changed: post meta format

0.4

  • Added: option to show only replies on the post / page
  • Fixed: link in forum topic was to nowhere – thanks, justin-mason
  • Fixed: could not select child forums when creating a new topic – thanks, justin-mason

0.3

  • Added: show reply count instead of comment count for posts with an attached forum topic
  • Changed: display an error if bbPress is not detected instead of failing silently
  • Changed: how bbPress is detected

0.2

  • Added: can use a topic ID or topic post_name/slug for existing topic
  • Added: better handling of bbPress environment
  • Fixed: use existing topic now works as expected
  • Fixed: finally settled on a name

0.1

Initial Release