Skip to:
Content
Pages
Categories
Search
Top
Bottom

Removing options for private and hidden groups


  • vaughancavca
    Participant

    @vaughanwalton

    Hi,

    In the privacy options on the group creation page, I’d like to have the private and hidden group options taken out, as I only want users to have their posts public. How would I go about doing this?

    http://thenetwork.cavcaventures.org
    I’m on WordPress version 4.5.1 and BuddyPress version 2.5.2

Viewing 9 replies - 1 through 9 (of 9 total)

  • shanebp
    Moderator

    @shanebp

    Create a template overload of this file:
    buddypress\bp-templates\bp-legacy\buddypress\groups\create.php

    Then, in your template overload, remove the html for the Private and Hidden options.


    vaughancavca
    Participant

    @vaughanwalton

    I’ve tried doing that and removing everything related to the Private and Hidden options, but it hasn’t changed on the group creation page, still exactly the same.


    shanebp
    Moderator

    @shanebp

    Is your edited file in the correct place?
    It should be here:
    .../wp-content/themes/your-theme/buddypress/groups/create.php


    vaughancavca
    Participant

    @vaughanwalton

    Yes, just doubled checked, it’s in the correct place and the private and hidden groups are still there.


    shanebp
    Moderator

    @shanebp

    Some themes include BP files.
    To see if that is the case with your theme, try switching momentarily to a WP theme like 2013.


    vaughancavca
    Participant

    @vaughanwalton

    My theme doesn’t seem to have any BP files, although I’ve found another create.php file in the themefolder > blogs folder, it’s completely different to the one I’ve been working with. Could this be a conflict with the BP one?


    shanebp
    Moderator

    @shanebp


    I’ve found another create.php

    Make a small change in it and see if it is visible.


    vaughancavca
    Participant

    @vaughanwalton

    I had a go at making a small change, and it didn’t seem to do anything.


    cloe193
    Participant

    @cloe193

    Hello,

    Did you find a solution to do that? I’m searching for the same thing and I’ve tried to delete html lines on these files too but without ssuccess..
    Thank you

Viewing 9 replies - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.
Skip to toolbar