• Resolved psmorrow

    (@psmorrow)


    Hi there,

    I want to include a member’s stars on a groups’ members listings. I have added xprofile fields with this:

    	
    function my_directory() {	
    if ( bp_is_active( 'xprofile' ) )
    
    if ( $member_type = xprofile_get_field_data( 'Member Type', bp_get_member_user_id() ) ) :
    		echo '<br/><div class="type">';		
    		echo "Member type: ";
    		echo $member_type;
    	endif;	
    }
    add_action( 'bp_group_members_list_item', 'my_directory' );

    Can you provide any guidance on how to add a member’s stars?

    Many thanks!!!

Viewing 1 replies (of 1 total)
  • Plugin Author wordplus

    (@wordplus)

    Hi!

    Try to add something like this

    global $BP_Member_Reviews;
    $BP_Member_Reviews->embed_rating( bp_get_member_user_id() )
Viewing 1 replies (of 1 total)
  • The topic ‘Add stars to group member list’ is closed to new replies.