Skip to:
Content
Pages
Categories
Search
Top
Bottom

I found a code snippet that works for ’calling profile info’ but …

Viewing 3 replies - 1 through 3 (of 3 total)
  • @rogercoathup

    Participant

    bp_loggedin_user_id()

    It’s listed in the template tags section of the documentation on here. That should be the first place you look for bp functions.

    @nooi

    Participant

    Thanks Roger

    But actually I don’t have a clue what you’re saying.

    The code I pasted here, works, but it pulls member nr 1’s info and I want it to pull the logged in user’s start date etc.

    Anyways, thank you for trying.

    @rogercoathup

    Participant

    I’ve given you the function you need to get the current logged in user’s ID – you should use this in your call to bp_has_profile to initialise your profile loop for the correct user.

    This is what you asked for in your help request.

    The rest is fairly simple PHP programming

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘I found a code snippet that works for ’calling profile info’ but …’ is closed to new replies.
Skip to toolbar