Opened 12 years ago
Closed 12 years ago
#2094 closed defect (bug) (fixed)
BuddyPress: 'Forum' tab isn't shown after a new group is created with a forum
Reported by: | Owned by: | ||
---|---|---|---|
Milestone: | 2.3 | Priority: | normal |
Severity: | normal | Version: | 2.2.2 |
Component: | Extend - BuddyPress | Keywords: | commit |
Cc: | jmdodd@… |
Description
During the group creation process, if you create a group with a forum, the 'Forum' tab does not show up.
I've attached a that addresses this.
You could probably change:
$checked = bp_get_new_group_enable_forum() || groups_get_groupmeta( bp_get_current_group_id(), 'forum_id' );
to:
$checked = groups_get_groupmeta( bp_get_current_group_id(), 'forum_id' );
or filter 'bp_get_new_group_enable_forum'
to do the group meta 'forum_id' check as well.
Let me know what you think.
Attachments (1)
Change History (5)
#2 follow-up: ↓ 3
@
12 years ago
- Cc jmdodd@… added
Could this be affecting group forum import as well?
Related: http://bbpress.org/forums/topic/bbpress-1-import-successful-but-forums-not-mapped-to-bp-groups/
Note: See TracTickets for help on using tickets.
Confirmed and valid. could be cleaned up by moving the (bool) type cast around, but works as intended.