How can i show Cubepoints ranks/points in bbpress replies

I found the solution of the problem, it goes like this:

<td class="bbp-reply-author">

        <?php do_action( 'bbp_theme_before_reply_author_details' ); ?>

        <?php bbp_reply_author_link( array( 'sep' => '<br />' ) ); ?>
        <!--Ranking -->
        <div class="bbp-ranking">
        <span class="bbp-rank"><?php echo cp_module_ranks_getRank(bbp_get_reply_author_id()); ?></span><br />
        <span class="bbp-points"><?php echo 'Reputação: '.cp_getPoints(bbp_get_reply_author_id()); ?></span>
        </div>
        <!--Ranking -->

        <?php do_action( 'bbp_theme_after_reply_author_details' ); ?>

    </td>

in loop-single-reply.php

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)