Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to change the Request Button to do something else?


  • eberswine
    Participant

    @eberswine

    I am trying to streamline our BuddyPress group to go to another page to explain that if they BUY a membership, then we (the Admins) will add them to that group after payment.

    ( or POST payment automatically ) — but just trying to find a way to change the action of the REQUEST Group button? Thanks!

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

  • eberswine
    Participant

    @eberswine

    mmm, still can’t find the Request Group button in the code anywhere ?? Anybody know where this is?

    Thanks.

    Those buttons are added in the functions.php in the bp_dtheme_setup() of the BP-Default theme. You could unregister those actions, depending on what you want to do.


    eberswine
    Participant

    @eberswine

    Is it under group buttons? Thanks for the reply :

    // Group buttons
    if ( bp_is_active( ‘groups’ ) ) {
    add_action( ‘bp_group_header_actions’, ‘bp_group_join_button’ );
    add_action( ‘bp_group_header_actions’, ‘bp_group_new_topic_button’ );
    add_action( ‘bp_directory_groups_actions’, ‘bp_group_join_button’ );
    }


    eberswine
    Participant

    @eberswine

    Dang, i still cant find where this button is at ?

    Thanks!


    anubhavkushwaha
    Member

    @anubhavkushwaha

    The code for the button exists in the ‘function bp_get_group_join_button( $group = false )’ which gets the button. This code can be found in the bp-groups-template.php file under buddypressbp-groups

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to change the Request Button to do something else?’ is closed to new replies.
Skip to toolbar