BuddyDev

Search

Replies

  • Participant
    Level: Initiated
    Posts: 7
    Arik Twena on #11499

    I have contacted them. Just waiting for an aswer 🙂

  • Participant
    Level: Initiated
    Posts: 7
    Arik Twena on #11490

    Okay, just so I understand this 🙂 If im’s sponsoring 1 hour, the task will be completed immediately or when? and is it 1 hour or 1 hour plus the contract fee?

    Thanks

  • Participant
    Level: Initiated
    Posts: 7
    Arik Twena on #11484

    How much would it take to sponsor this feature? I’m hopping not to much 🙂

  • Participant
    Level: Initiated
    Posts: 7
    Arik Twena on #11032

    Super!!! Thanks. It work 100% now :)))

  • Participant
    Level: Initiated
    Posts: 7
    Arik Twena on #11030

    Perfect it works!!!

    One last question. When I login as admin I can’t see the users name. Is there a way to add to the code, so it’s visible for admins only?

    Thanks for the help with the code! 🙂

  • Participant
    Level: Initiated
    Posts: 7
    Arik Twena on #11028

    Im not so good to PHP, so do you mean like this?

    <?php if( bp_is_anonymous_activity( bp_get_activity_id() ) ) :?>
    // what do you want to show here.,
    <?php else :?>
    $member_id = bp_get_activity_user_id();
    echo ‘<div class=”name”>’ . bp_core_get_user_displayname( $member_id ) . ‘</div>’;
    echo ‘<div class=”nice-name”>@’ . bp_core_get_username( $member_id ) . ‘</div>’;
    <?php endif;?>

    Because this example didn’t work for the last part where it has to show the usernames.

  • Participant
    Level: Initiated
    Posts: 7
    Arik Twena on #11026

    Hi

    Thanks. The other topic is still closed for any replay. I don’t know why..

    BUT 🙂 I think i have found the problem. Its in our theme. I have found a way to change the “name”-link, but our theme has the username next to the avatar in the activity stream.

    Is there a “if” statement i can use here is a user has chosen anonymous?

    The theme has this code:
    <?php
    $member_id = bp_get_activity_user_id();
    echo ‘<div class=”name”>’ . bp_core_get_user_displayname( $member_id ) . ‘</div>’;
    echo ‘<div class=”nice-name”>@’ . bp_core_get_username( $member_id ) . ‘</div>’;
    ?>

    Thanks