Skip to:
Content
Pages
Categories
Search
Top
Bottom

Disable hidden groups completely


  • angrywarrior
    Participant

    @angrywarrior

    Hi
    Well as the subject says. How can you completely disable hidden groups in Buddypress?

    Considering that my site is public its dangerous feature that will attract all the worst of the internet has to offer. Criminals and alike. So i need to get this done somehow.

    It somewhat surprises me that this isnĀ“t a built in setting in BuddyPress core settings so you could just click to disable it min the first place.
    Anyways: i would very much appreciate help with this.

    Please advise.

    Kind regards
    AngryWarrior.

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

  • Venutius
    Moderator

    @venutius


    angrywarrior
    Participant

    @angrywarrior

    Thanks for that link!

    However i seen it and the code is pretty old – over 5 years.
    So I’m looking for if there is better more updated/current code.

    Also what i forgot to say was that if applicable then completely disable hidden groups for users, but for admin/super admin maybe allow it for use of internal staffing purposes. There could be a benefit in that configuration for administrative company tasks.

    Thanks!

    Kind regards
    AngryWarrior.

    I’d say if you’re worried about people creating groups (which is a reasonable thing to worry about), your safest bet is to uncheck the checkbox “Enable group creation for all users” (or something like that) at wp-admin > settings > buddypress , and restrict group creation to site admins only. Then, add a group request form or similar, and you can either create the group or not.


    angrywarrior
    Participant

    @angrywarrior

    Thanks @dcavins for your advise, but that is not a option for us a we run a new public service so it is open for anyone to join and create.

    However we have found a solution which is editing the admin.php and removing the code part that displays this option in the groups settings.

    I will stop probably 99% of all users and left is only very advanced users that would craft such URL I guess?

    On a sidenote:
    I think it would be good if you guys that are part of the BuddyPress Team would consider adding an option in BP back-end setting to be able to enable/disable groups types eg. hidden groups and maybe private to give people more control? Well at least hidden groups.

    Thanks!

    Kind regards
    AngryWarrior.


    cloe193
    Participant

    @cloe193

    Hello @angrywarrior

    I have tried to remove from admin.php and create.php the code part that displays this option too. But it does nothing..

    Can you please tell me please where did you put the new modified files admin.php ?

    I use a child-theme

    Thank you very much!


    skyb
    Participant

    @skyb

    I 100% second this.

    I want to disallow ‘Public’ groups from being made.

    I have removed the code in the create.php file, updated other words from “Group” to “Project” like “Project Privacy Options” for the title of the second section but nothing changes.

    I have combed every file I could find and cannot find where the “Privacy Options” screen content is populating from including both template types.

    Any help would be great. This seems like an extremely useful addition.


    edensan
    Participant

    @edensan

    No one knows.. lol…


    angrywarrior
    Participant

    @angrywarrior

    Guys @ I’ll try to post a solution when I find time for it. I do have the code for it. It’s a bit old but should still work.


    angrywarrior
    Participant

    @angrywarrior

    You need to tweak the code for both create.php and group-settings.php @skyb
    I try to post details more when I have time.


    maciejatmyshca
    Participant

    @maciejatmyshca

    Hello,

    This is very intresting topic and I would like to second this as well. If BP developers could add relevant settings to allow/disallow certain group types that would be awesome.

    At the same time I would like to ask if the side admin can see all the hidden groups content and moderate it?

    Many thanks

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