Skip to:
Content
Pages
Categories
Search
Top
Bottom

how to get user id just after sign up

  • Avatar of michaelvar
    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)
  • Avatar of Travel-Junkie
    Boris
    Participant

    @travel-junkie

    `bp_core_get_userid( $_POST )`

    This might work…

    Avatar of michaelvar
    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)

You must be logged in to reply to this topic.