Skip to:
Content
Pages
Categories
Search
Top
Bottom

Only admin can create a group!

  • Profile photo of Eelambuddy
    eelambuddy
    Participant

    @eelambuddy

    How can I hide the “group create” option from a user? I only want the admin to create a group.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Profile photo of lokers
    lokers
    Participant

    @lokers

    any luck with this? I am looking for this too…

    Profile photo of newbie999
    newbie999
    Participant

    @newbie999

    I’m looking for this functionality as well. Can anyone help? Please.

    Profile photo of John James Jacoby
    John James Jacoby
    Keymaster

    @johnjamesjacoby

    Easiest way would be to use the WPMU function is_site_admin() to determine if the currently logged in user is a site admin, and then hide the buttons accordingly in your template.

    Then, you can create a custom function in plugins/bp-custom.php to redirect a user if they try to access the group creation URL directly.

    Profile photo of newbie999
    newbie999
    Participant

    @newbie999

    Thank you for the response! I’m a total newbie at buddypress/wordpress mu/bbpress. Would you be able to provide some additional details as to how I can accomplish the 2 suggestions you provided, so I can head in the right direction? I’m not quite sure where to start. I’m using the bphome/bpmember themes.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Only admin can create a group!’ is closed to new replies.
Skip to toolbar