Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] Print user id in profile page

  • Avatar of ne.mherrera
    ne.mherrera
    Participant

    @nemherrera

    I want print user id of member in your profile to show to all visitors of my website

Viewing 6 replies - 1 through 6 (of 6 total)
  • Avatar of @modemlooper
    @modemlooper
    Moderator

    @modemlooper

    bp_displayed_user_id()

    All the template tags you can use: http://codex.buddypress.org/developer-docs/buddypress-template-tags/

    Avatar of ne.mherrera
    ne.mherrera
    Participant

    @nemherrera

    dont work for me… i wanna show the user id on user profile

    Avatar of Hugo
    Hugo
    Moderator

    @hnla

    Well that’s the way to do it, no need to re-state you ‘wanna show’ it on user profile we got that bit, what did you do wrong then? how about adding a little detail like code you tried , template you tried it in, if you come to forums for help you must be prepared to provide a little bit of information so people can actually help you.

    Oh and you did try echoing the function didn’t you?

    Avatar of ne.mherrera
    ne.mherrera
    Participant

    @nemherrera

    Sorry my english is too bad.. I want to show user id in your profile to display next to the word “citizen”.

    For example Citizen # 12 of my community

    Under user avatar

    i am using this function indise bold tags

    bp_displayed_user_id();

    Thanks for your help

    Avatar of shanebpdev
    shanebpdev
    Participant

    @shanebp

    > indise bold tags

    ``

    Avatar of ne.mherrera
    ne.mherrera
    Participant

    @nemherrera

    Thanks @shanebpx.. worked!

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

You must be logged in to reply to this topic.