Skip to:
Content
Pages
Categories
Search
Top
Bottom

Only admin can create a group!

  • @eelambuddy

    Participant

    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)
  • @lokers

    Participant

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

    @newbie999

    Participant

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

    @johnjamesjacoby

    Keymaster

    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.

    @newbie999

    Participant

    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