Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Forum Home


patradley
Member

@patradley

I modified bp-groups.php as mentioned in other posts. Two steps:
1) Comment out or delete the following line (it was line 201 for me):
`bp_core_new_subnav_item( array( ‘name’ => __( ‘Home’, ‘buddypress’ ), ‘slug’ => ‘home’, ‘parent_url’ => $group_link, ‘parent_slug’ => $bp->groups->slug, ‘screen_function’ => ‘groups_screen_group_home’, ‘position’ => 10, ‘item_css_id’ => ‘home’ ) ); `

2) Add the following function and call in the bp-groups file (I just stuck it at the very end):
`function redirect_to_forum() {
global $bp;

$path = clean_url( $_SERVER );

$path = apply_filters( ‘bp_uri’, $path );

if (bp_is_group_home()) bp_core_redirect( apply_filters( ‘bp_uri’, $bp->bp_options_nav) );

}
add_action( ‘wp’, ‘redirect_to_forum’ );`

Seems like this should be a simple toggle in the admin for a future release. I fail to see the functionality for an activity stream for a forum where people are posting activity. . .it was confusing for my users. .

Skip to toolbar