Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: [New Plugin] CubePoints Buddypress Integration!


Tosh
Participant

@xberserker

@vee_bee I’m using the BuddyPress Template Pack Plugin with my Single Install WP. So I updated my:
wp-content/themes/fusion/members/single/member-header.php file with this and it works great. Shows the points for the member your viewing at the moment. Tried to get the donate link to work as well. But no success just yet.

These forums don’t allow you to embed code like the wordpress.org forums I guess. In the echo’s I’m just surrounding it with a bold tag

<?php
// Cubepoints for current user
echo ““;
if(function_exists(‘cp_displayPoints’)){
global $bp;
cp_displayPoints($bp->displayed_user->id);
}
echo “

“;
// END Cubepoints
?>

So how it displays on mine is:

User @user
1635 points

active 6 hours, 32 minutes ago
Cancel Friendship
Mention this User
Send Private Message

Skip to toolbar