Group Mods

  • Profile picture of @mercime
  • Profile picture of r-a-y
  • Profile picture of Hugo

Disable ’HOME’ for Certain Groups (ie, kill activity stream) (4 posts)

Started 1 year, 7 months ago by: Driftless1

  • Profile picture of Driftless1 Driftless1 said 1 year, 7 months ago:

    Anyone know of an elegant solution to disable the Home tab on a group?

    I have certain groups that are public that I want to be “Forum Only” groups. Right now, people land on he “Home” tab and mistakenly post forum topics in the activity stream… I would like to:

    1) Completely hide the activity stream (since any updates will be forum related and displayed there)

    -or-

    1) Disable posting to the activity stream
    and 2) make the forum the default landing zone.

    Thanks!

    Seems like this should be an option by default (turn on/off different components for each group) and maybe it is… am I missing it somewhere?

  • Profile picture of Driftless1 Driftless1 said 1 year, 7 months ago:

    I see a partial solution here:

    http://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/custom-groups-or-activating-different-plugins-in-different-groups/ (thanks boone)

    The only other things I need to complete the process is a way for the end-user to easily set groupmeta. Can’t have em mucking about in the db now can we…

    Thanks

  • Profile picture of Driftless1 Driftless1 said 1 year, 7 months ago:

    Hmmm. Well, I can kill the home tab, but since thats the default landing for a group, it means I get kicked to the site homepage whenever I try to open a group…

    Ok… so now to find how to change the default landing page of a group.

  • Profile picture of Driftless1 Driftless1 said 1 year, 7 months ago:

    Woohoo! Persistence pays… Once again, thanks to boone and r-a-y

    Found the solution here: http://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/changing-group-tab-display-defaults/#post-55449

    Wraped it all in a

    if ( groups_get_groupmeta( $bp->groups->current_group->id, 'forum_only' ) ) {

    wrapper – and we’re golden.

    Now back to the easily-changeable groupmetadata thing…