Plugin: CubePoints Buddypress Integration

Join this plugin group to follow comments, support topics and reviews.

Showing cubepoints under the avatar in the activity stream? (7 posts)

Started 1 year, 5 months ago by: Bowe

  • Profile picture of Bowe Bowe said 1 year, 5 months ago:

    Hi guys,

    I would like to show the amount of points earned by the user in the activity stream items..

    <?php echo cp_displayPoints($bp->displayed_user->id); ?>

    shows the points of the logged in user, is there a way to show the point of the one that posted the activity entry?

    Thanks in advance :-)

  • Profile picture of Bowe Bowe said 1 year, 5 months ago:

    Anyone ? :D @xberserker maybe? Also I would like to add Avatars to the Top Users widget, but that might be harder :-)

  • Profile picture of Tosh Tosh said 1 year, 5 months ago:

    I use this to display user points in blog comments I’ve sure we could modify it to show up in the activity stream somehow ..

    http://pastebin.com/0RRNnqXF

  • Profile picture of Timothy Tarmon Jr Timothy Tarmon Jr said 1 year, 4 months ago:

    i have done this, but i user bp-columns theme and also made major modifications to the layout, what theme are you using?

  • Profile picture of Tosh Tosh said 1 year, 4 months ago:

    I use this theme – http://digitalnature.ro/projects/fusion/

    But it is heavily modified.

  • Profile picture of pcgrejaldo greiz said 1 year, 2 months ago:

    I tried this one with buddypress installed and works for me… (placed in entry.php)

    <?php
    if(function_exists('cp_displayPoints')) { ?>
    <p>
    <?php
    	echo cp_displayPoints(bp_get_activity_user_id());
    ?>
    </p>
    <?php } ?>
  • Profile picture of marielb marielb said 8 months, 1 week ago:

    greiz: where in entry.php did you put the code?