Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

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

  • Mat
    Participant

    @mat2010

    For the record, this works.

    <?php $userid = bp_loggedin_user_id(); ?>
    <a href="<?php bp_loggedin_user_domain() ?>">Bonjour, <?php bp_get_user_firstname ( bp_get_loggedin_user_fullname ( $userid ) ) ?></a>

    Hope it could help someone. 🙂


    Mat
    Participant

    @mat2010

    This seems to work :

    $userid = bp_loggedin_user_id();
    echo bp_get_user_firstname ( bp_get_loggedin_user_fullname ( $userid ) )

    Is it a correct way to do so ?

    Now, what if I want to link this name to the user profile ?

    Any help would be much appreciated ! Thanks ! 🙂


    Mat
    Participant

    @mat2010

    With this :

    $userid = bp_loggedin_user_id();
    echo bp_core_get_user_displayname( $userid ) 

    I can have the full name. Now I try to find the user firstname.

Viewing 3 replies - 1 through 3 (of 3 total)
Skip to toolbar