Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Code:
    <?php
    global $bp;

    $karma = get_usermeta( $bp->displayed_user->id, ‘rfp_post_karma’ );
    $relative_karma = rfp_calculate_relative_karma( $karma, $bp->displayed_user->id );

    echo ‘<div class="rfp-member-profile-karma">’ . get_option( ‘rfp_karma_label’ ) . rfp_poster_karma( $relative_karma ) . ‘</div>’;

    add_action( ‘bp_sidebar_me’, ‘rfp_show_poster_karma’ );

    ?>

    I was wondering if anyone could help me out i have reached out to the developer and he wants 140 for his time although i do think its fair and he should be paid for his time i just cannot afford it at this time unfortunately ..

    Im trying to show the users rating points in the login box after the user has logged in already

    i have added this code

    <?php
    global $bp;

    $karma = get_usermeta( $bp->displayed_user->id, ‘rfp_post_karma’ );
    $relative_karma = rfp_calculate_relative_karma( $karma, $bp->displayed_user->id );

    echo ‘

    ‘ . get_option( ‘rfp_karma_label’ ) . rfp_poster_karma( $relative_karma ) . ‘

    ‘;
    ?>

    it gets and displays the label no problem but it doesn’t show the the actual points after the label i have searched in and out and i cant figure it out.

    Any help is much appreciated.

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