Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

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

  • Eyal Fitoussi
    Participant

    @ninjew

    Thank you Paul,
    finally found it in /members/single/home.php.
    i am using default bp theme but got me dizzy till i found it.

    Thanks again

    No. There is no function stop .This is just a way for me to check if the function being execute by getting the undefined function message.

    Hi Roger, thank you for your respond.
    i have tried something very simple like :
    `function wppl_delete_bp_member() {
    stop();
    }
    add_action( ‘delete_user’, ‘wppl_delete_bp_member’ ); `
    just to see of the function being execute.
    i also tried bp_core_action_delete_user.

    no, i am actually deleting from the “delete account” in the user’s profile under “settings”.
    and yes, the user is being deleted and removed from the wp database.

    any thing wrong that i am doing in the above?

    Thank you Dcavins,
    im not sure i can use the suggestions.well, at least not the second option since i need the function to run right after the registration using information that the user entered.
    this is what i am trying to do. the purpose of the plugin is to let members add their location and also to create a search form that let users search members near address entered within a certain radius. There is a already a “location” tab for the user to enter the address and it works fine. Now i am trying to connect the location to the registration form to make it mandatory (if admins choose to). the things is that in order to save the location in the database i need the member’s id.
    and so, i am trying to add the location fields into the registration form and make it mandatory and once the user fill up the form it will run the registration process and right after will grad the ID that was created , grad the info from the address fields and run the function i need.
    so i guess i need some kind of “after_member_created” hook.

    Anyone?

Viewing 5 replies - 1 through 5 (of 5 total)
Skip to toolbar