Skip to:
Content
Pages
Categories
Search
Top
Bottom

Add new step in Group Creation Wizard


  • sx1001
    Participant

    @sx1001

    Hi all,

    I want to conditionally add a step in the Group Creation wizard of Buddypress / Buddyboss.
    In step 2 my form asks for a specific field (via a Select-box with the HTML name “group-types[]”).

    Whenever a specific group type is selected and the user clicks “next step”, I want to add a new step inbetween conditionally on the group type field.

    I found the Group Extension API which is very complicated to understand:

    Group Extension API

    And I found this code:
    https://gist.github.com/shanebp/c9cdde9443bdeab9b4ca

    It kind of works, but there are two things:

    I’m not sure where exactly to “ask” the already made setting “group-type[]” for the group in the creation wizard and unfortunately the settings-page “Ville” is added at the end.

    I tried to set a “position”-element in the $arg which is passed to parent::init( $args ); but this is not accepted.

    Any help would be highly appreciated.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar