Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Home

  • What I wanna do is eliminate the home tab completely from groups. I don’t see a need for the group activity. So i’d want the forum tab to be the default tab when reaching a group forum.

    What code would I need to just eliminate the home tab in the bp custom file?

    Thanks so much,
    eor

Viewing 2 replies - 1 through 2 (of 2 total)
  • Bump. Any help appreciated.

    Thanks,

    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. .

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Forum Home’ is closed to new replies.
Skip to toolbar