Skip to:

Opened 12 years ago

Closed 11 years ago

Last modified 11 years ago

#1669 closed task (blessed) (fixed)

Use BuddyPress group extension API to integrate forums into groups

Reported by: johnjamesjacoby's profile johnjamesjacoby Owned by: johnjamesjacoby's profile johnjamesjacoby
Milestone: 2.2 Priority: normal
Severity: normal Version:
Component: Extend - BuddyPress Keywords:
Cc: mercijavier@…, jmdodd@…, stephen@…


Master ticket for work going into the BuddyPress Group Extension for bbPress 2.1.

Change History (35)

#1 @johnjamesjacoby
12 years ago

(In [3565]) Update the BuddyPress group extension with working create/edit screens. @todo Saving. See #1669.

#2 @johnjamesjacoby
12 years ago

(In [3566]) Introduce shortcode, rewrite rule, template file, and theme-compatibility code for front-end Forum editing. See #1669.

#3 @johnjamesjacoby
12 years ago

(In [3567]) Add is_forum_edit() check to breadcrumb function to correctly load the ancestors. See #1669.

#4 @johnjamesjacoby
12 years ago

(In [3575]) Add functions and settings for BuddyPress group forums and Akismet extensions. Add checks to these settings to only show them when relevant. Do not load new Forums component if BuddyPress forums are already active. See #1669.

#5 @johnjamesjacoby
12 years ago

(In [3654]) BuddyPress Group Forum Integration:

  • BuddyPress group/forum sync functions
  • Add forum/topic row actions
  • Group create/edit helper methods
  • Forum create/edit handlers
  • See #1669

#6 @johnjamesjacoby
12 years ago

(In [3667]) Remove BuddyPress group forum styling from bbp-twentyten theme. We'll be relying on default styling for 2.1. See #1669.

#7 @johnjamesjacoby
12 years ago

(In [3669]) First pass at forum trash/untrash/delete actions and functions for BuddyPress group forums. See #1669.

#8 @johnjamesjacoby
12 years ago

(In [3678]) Add forum author functions, and rename bbp_get_forum_parent() to bbp_get_forum_parent_id(). See #1669.

#9 @johnjamesjacoby
12 years ago

(In [3679]) Introduce functions and code to help create new forums from within the theme:

  • Turn on forum-form shortcode
  • Add supplemental actions for saving forum extras on new/edit
  • bbp_save_forum_extras() function to handle forum metadata saving
  • See #1669

#10 @johnjamesjacoby
12 years ago

(In [3680]) Add missing '_post_extras' actions to new topic/reply handlers. See #1669.

#11 @johnjamesjacoby
12 years ago

(In [3681]) Add 'bbp_save_forum_extras' action to new/edit forum extras. See #1669.

#12 @johnjamesjacoby
12 years ago

(In [3682]) Tweak empty forum-description feedback. See #1669.

#13 @johnjamesjacoby
12 years ago

(In [3720]) Improvements to BuddyPress User Forums styling. See #1669.

#14 @johnjamesjacoby
12 years ago

(In [3721]) Filter links to user subscriptions and favorites, and return them to their BuddyPress profile equivalents. See #1669.

#15 @johnjamesjacoby
12 years ago

(In [3723]) In BuddyPress group forum extension, use raw forum slug option to avoid including the forum prefix. See #1669.

#16 @johnjamesjacoby
12 years ago

(In [3746]) Next pass at BuddyPress Group Fourms integration:

  • Filter forms to prevent fields from appearing
  • Output new field data where needed on above forms
  • Better integration with group create and edit screens
  • Tweak forum/group ID functions to return arrays when needed
  • Flesh out display_forums() method
  • See #1669

#17 @johnjamesjacoby
12 years ago

(In [3748]) Use bbp_redirect_to_field() in form_fields() functions. See #1669.

#18 @johnjamesjacoby
12 years ago

(In [3752]) Rearrange filtering of $forum_parent_id in bbp_new_forum_handler(). See #1669.

#19 @johnjamesjacoby
12 years ago

(In [3789]) BuddyPress Group Forum create page and handler. See #1669

#20 @johnjamesjacoby
12 years ago

(In [3791]) Introduce bbp_get_config_location() function to look for previous BuddyPress integration. See #1669.

#21 @johnjamesjacoby
12 years ago

(In [3799]) BuddyPress group forums:

  • Fix new reply and topic redirects
  • Remove first group forum topic and reply in lieu of more customization
  • See #1669
  • Fixes #1776
  • Fixes #1778
  • Fixes #1777
  • Props boonebgorges

#22 @johnjamesjacoby
12 years ago

(In [3800]) Pinking shears on bbp-extend-buddypress.php. See #1669.

#23 @johnjamesjacoby
12 years ago

  • Milestone changed from 2.1 to 2.2

Punt to 2.2. A lot of work has gone into this for 1.1 already, which will make transitioning things over easier in BuddyPress 1.7/bbPress 2.2.

#24 @mercime
12 years ago

  • Cc mercijavier@… added

#25 @jmdodd
11 years ago

  • Cc jmdodd@… added

#26 @johnjamesjacoby
11 years ago

(In [4266]) BuddyPress:

  • Remove advanced group forum admin UI; go with feature parity of existing bbPress 1.1 installations for a v1.
  • Remove support for multiple forums/groups combinations. Assume the first item in the array is the only one.
  • Adds some canonical redirection to group forum content.
  • Maps forum content links to group forums when needed.
  • Add support for editing of topics and replies within group forums.
  • Some more to do here, but closing in on completeness.
  • Huge props jmdodd,
  • Fixes #1906.
  • See #1669.

#27 @johnjamesjacoby
11 years ago

  • Milestone changed from 2.3 to 2.2

#28 @netweb
11 years ago

  • Cc stephen@… added

#29 @johnjamesjacoby
11 years ago

(In [4393]) BuddyPress:

  • First pass attempt at repairing BuddyPress group forum relationships.
  • Includes new tool for looping through converted forums and updating group meta.
  • See #1669.

#30 @netweb
11 years ago

I don't get any errors on screen if I run the 'Repair BuddyPress Group Forum relationships' tool on a site without BuddyPress though if WP_DEBUG is enabled I get the expected WP DB Database Errors:

WordPress database error: [Table 'wpdev.wptrunk_groups_groupmeta' doesn't exist]
UPDATE `wptrunk_groups_groupmeta` SET `meta_value` = '311' WHERE `meta_key` = 'forum_id' AND `meta_value` = '0';

WordPress database error: [Table 'wpdev.wptrunk_groups_groupmeta' doesn't exist]
UPDATE `wptrunk_groups_groupmeta` SET `meta_value` = '339' WHERE `meta_key` = 'forum_id' AND `meta_value` = '0';


Can (or should) a check if BuddyPress is enabled be made to hide this tool if BuddyPress is not enabled?

(Like the check 'Forum settings for BuddyPress' in bbPress Settings here)

#31 @johnjamesjacoby
11 years ago

(In [4401]) BuddyPress:

  • Update group-repair tool to update the group forums root.
  • Also rename the 'Default Forum' to 'Group Forums' since it's part of the sitewide forums now.
  • See #2025, #1669.

#32 @johnjamesjacoby
11 years ago

  • Resolution set to fixed
  • Status changed from new to closed

Closing this; it's finally *done.*

New tickets should be open for specific issues.

#33 @johnjamesjacoby
11 years ago

(In [4402]) BuddyPress:

  • Only rename 'Default Forum' if name matches old bbPress default forum title.
  • See #2025, #1669.

#34 @johnjamesjacoby
11 years ago

(In [4407]) BuddyPress Group Forums:

  • Suppress hierarchical group forums for now, for feature parity with existing BuddyPress forums.
  • See #1669.

#35 @johnjamesjacoby
11 years ago

(In [4409]) BuddyPress:

  • Add note to the top of BuddyPress loader.php.
  • See #1669.
Note: See TracTickets for help on using tickets.