[buddypress-trac] [BuddyPress] #4072: bp_groups_default_extension makes group activity inaccessible
buddypress-trac at lists.automattic.com
buddypress-trac at lists.automattic.com
Tue Mar 13 19:24:57 UTC 2012
#4072: bp_groups_default_extension makes group activity inaccessible
-------------------------------------------+------------------
Reporter: boonebgorges | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 1.6
Component: Groups | Version:
Severity: normal | Resolution:
Keywords: needs-patch reporter-feedback |
-------------------------------------------+------------------
Comment (by boonebgorges):
Sure. On the latest trunk, put the following in bp-custom.php or another
plugin file:
{{{
function bbg_change_group_extension( $e ) {
return 'members';
}
add_filter( 'bp_groups_default_extension', 'bbg_change_group_extension' );
}}}
Now visit a group. You will see the Members content by default. Try
clicking on the Home tab (where Activity normally lives). You will be
directed back to the home tab.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4072#comment:2>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list