Skip to:
Content

BuddyPress.org

Opened 10 years ago

Closed 10 years ago

#6232 closed enhancement (fixed)

Hook proposition - Enable or reorder group creation steps

Reported by: natrio's profile natrio Owned by: boonebgorges's profile boonebgorges
Milestone: 2.3 Priority: normal
Severity: normal Version: 2.2
Component: Groups Keywords: needs-patch
Cc:

Description

/bp-groups/bp-groups-actions.php line 413 at this end of the function i added this hook: do_action('groups_action_sort_creation_steps');

This is needed if you want:

  • remove a step in group creation workflow
  • Reorder the step in group creation workflow

Then, you are able to edit the $bp->groups->group_creation_steps variable.

Change History (5)

#1 follow-up: @boonebgorges
10 years ago

  • Milestone changed from 2.2.2 to 2.3

Hi natrio - I'm not sure I understand from the line numbers where you want the action. Do you mean right at the end of the groups_action_sort_creation_steps() function? If so, I agree it would be nice to do something here. Just want to confirm before moving ahead with it.

#2 in reply to: ↑ 1 @natrio
10 years ago

Replying to boonebgorges:

Hi natrio - I'm not sure I understand from the line numbers where you want the action. Do you mean right at the end of the groups_action_sort_creation_steps() function? If so, I agree it would be nice to do something here. Just want to confirm before moving ahead with it.

Hi boonebgorges,
Yes, the action should be placed at the end of the groups_action_sort_creation_steps() function.

#3 @natrio
10 years ago

  • Milestone changed from 2.3 to 2.2.2
  • Summary changed from Hook proposition - Enable or reorder group creation step to Hook proposition - Enable or reorder group creation steps

#4 @johnjamesjacoby
10 years ago

  • Milestone changed from 2.2.2 to 2.3

Moving back to 2.3.

2.2.2 is for urgent fixes to the 2.2 branch.

#5 @boonebgorges
10 years ago

  • Owner set to boonebgorges
  • Resolution set to fixed
  • Status changed from new to closed

In 9516:

Introduce 'groups_action_sort_creation_steps' action.

Props natrio.
Fixes #6232.

Note: See TracTickets for help on using tickets.