How can I edit the group creation steps for non admin users
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:
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:
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.
- The topic ‘How can I edit the group creation steps for non admin users’ is closed to new replies.