Skip to:
Content
Pages
Categories
Search
Top
Bottom

How can I edit the group creation steps for non admin users


  • ahm3d
    Participant

    @ahm3d

    In my buddypress setup, I have the groups component enabled. I also have the bp docs, bbpress, invite anyone plugins installed.

    Currently when I create a group regardless who I am logged in as, I get prompt the following steps in the following order:

    group-details
    group-settings
    forum
    resources
    invite anyone

    I would like to preserve all these steps for the admin keymaster users but I would like to disable the forum and resources steps. How can I achieve this?

    I have attempted to use the following code at the top of the create.php within the groups directory:

    global $bp;
    if(!bbp_is_user_keymaster()){
    unset( $bp->groups->group_creation_steps[‘forum’] );
    unset( $bp->groups->group_creation_steps[‘resources’] );
    }

    Unfortunately this code doesn’t work so well as the page still redirects to the forum step after group-settings. The forum page does appear to be empty with back and next buttons being visible. If click on the next button, I get a page error and if I click on the back button, I get redirected to the invite-anyone step.

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

  • vinz98
    Participant

    @vinz98

    *bump*

    Same question here.

    How do I (and Ahmed) remove the “add forum” step within the group creation process?


    vinz98
    Participant

    @vinz98

    Well that answer needed several hours of internet…

    go to settings->forum and scroll down to the text “do not allow groups to start a forum”

    you know what to do

    cheers!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How can I edit the group creation steps for non admin users’ is closed to new replies.
Skip to toolbar