Skip to:
Content

BuddyPress.org

Opened 12 years ago

Closed 11 years ago

Last modified 11 years ago

#2664 closed defect (bug) (no action required)

Group edition not editing associated forum - patch inside

Reported by: aethril's profile aethril Owned by:
Milestone: 1.5 Priority: normal
Severity: Version:
Component: Groups Keywords: groups, forums
Cc:

Description

Hello,

My first ticket so I hope i'm doing it the right way.

When you're editing a group after it has been created, the associated forum is not edited.

Here is my solution (commented by at end of lines is the current stable version. 2 changes.)

File: bpgroups.php around line 1956

function groups_update_group_forum( $group_id ) {

$group = new BP_Groups_Group( $group_id );

if ( !$group->enable_forum )

return false;

$args = array(

'forum_id' => groups_get_groupmeta( $group_id, 'forum_id' ),'forum_id' => groups_get_groupmeta( $group, 'forum_id' ),
'forum_name' => $group->name,
'forum_desc' => $group->description ,
'forum_desc' => $group->desc,
'forum_slug' => $group->slug

);

bp_forums_update_forum( apply_filters( 'groups_update_group_forum', $args ) );

}

Regards,

Change History (2)

#1 @r-a-y
11 years ago

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

This is already fixed in [3082].
Try upgrading BuddyPress.

#2 @r-a-y
11 years ago

Oops, linked to the wrong changeset.
But this issue is fixed in the latest version of BuddyPress.

Note: See TracTickets for help on using tickets.