Skip to:
Content
Pages
Categories
Search
Top
Bottom

how to get user id just after sign up


  • michaelvar
    Member

    @michaelvar

    How do I get the user id in register.php right after the person sign up (just before the avatar upload)?

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

  • Boris
    Participant

    @travel-junkie

    `bp_core_get_userid( $_POST )`

    This might work…


    michaelvar
    Member

    @michaelvar

    thanks for the answer ,but when I put it just after the ‘you have successfully created….’ :
    `bp_core_get_userid( $_POST )`
    its printing nothing.
    I realy new to php so meybe I missed a fundemental thing here?

    edit
    forgot to put `echo` :)

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘how to get user id just after sign up’ is closed to new replies.
Skip to toolbar