Skip to:
Content
Pages
Categories
Search
Top
Bottom

is there anything similar to bp_member_id

  • Avatar of mariazapata
    mariazapata
    Member

    @mariazapata

    Hello,
    I am trying to get the id of each member when the following loop runs in the members-loop.php file:

    I know about bp_member_name to get the name, but how about the id.
    Thanks very much

Viewing 4 replies - 1 through 4 (of 4 total)
  • Avatar of Roger Coathup
    Roger Coathup
    Participant

    @rogercoathup

    Inside the loop, you can use:

    bp_member_user_id() to echo the ID

    and bp_get_member_user_id() to get the ID

    Avatar of mariazapata
    mariazapata
    Member

    @mariazapata

    ooowww, THAT IS GREAT

    Avatar of mariazapata
    mariazapata
    Member

    @mariazapata

    Thank you so much I couldnt find that function… :D!… helps toons

    Avatar of mariazapata
    mariazapata
    Member

    @mariazapata

    hello, sorry it is me again, how about if i add a new field in the registration for example country, how can i get that information in the loop?,
    Thanks again

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

You must be logged in to reply to this topic.