This is not in response to anyone specific, just a response to the issue at hand.
The BadgeOS Community Addon checks for a few things before it generates the necessary information to create the “Achievements” tab. First it checks that there are any achievements awarded to the currently displayed user. If there are, it will start to loop through them all. In that loop, it constructs some variables to use, and it checks that we actually have an achievement to display. Lastly, it checks if the current achievement is set to be public for BuddyPress profiles. If all of these are met, it creates the parent tab for the main menu, and achievement type submenu tabs for each type that the user has earned. When you click a type, all of the achievements of that type get ajax loaded and displayed.
To confirm that a tab should be display when it isn’t, check the following two things.
1. Has the user earned any achievements yet.
To check, visit their user profile via the Users admin and click edit on their user. The achievements will be towards the bottom
2. Of those earned achievements, are the types they’re related to supposed to be displayed on the BuddyPress profiles.
To check, visit the BadgeOS > Achievements Types area. Click to edit them, and check the two checkboxes that appear under the main settings. If they are not checked, enable that and hit save.
**If you want to go the extra mile, check the database and wp_postmeta table for a set meta_value for the meta key of
If you have confirmed that the user has BuddyPress-displayed achievements, and are still not seeing an “Achievements” tab properly, let me know. If the website is publicly accessible, even if not “live”, that will be a big help for us, though a localhost install still won’t be impossible.
- The topic ‘For anyone with issues with the "Achievements" tab on user profiles.’ is closed to new replies.