I'm trying to modify this plugin to show ALL achievements on the achievements tab in a user's profile. I then intend to use CSS to highlight the ones that user has actually earned. I've almost got it working.
In this plugin's bp-members.php, I edited the function bagdeos_bp_member_achievements_content to use the following attributes when echoing badgeos_achievements_list_shortcode:
$atts = array( 'type' => 'all', 'limit' => '100', 'show_filter' => 'true', 'show_search' => 'false', 'group_id' => '0', 'user_id' => bp_displayed_user_id(), 'wpms' => badgeos_ms_show_all_achievements(), );
This works to display all the achievements, but the problem now is that the badges seem to be given the "user-has-earned" or "user-has-not-earned" css classes based on the VIEWER'S user id rather than the PROFILE'S user id.
Any hint as to what I'm missing?