opencredit / BadgeOS-Community-Add-on

The "BadgeOS Community Add-on" integrates BadgeOS features into BuddyPress and bbPress. Site members complete achievements and earn badges based on a range of community activity and triggers. This add-on to BadgeOS also includes the ability to display badges and achievements on user profiles and activity feeds.
GNU Affero General Public License v3.0
11 stars 8 forks source link

Achievement section in BuddyPress Profile has disappeared #8

Closed galenbrazell closed 11 years ago

galenbrazell commented 11 years ago

I tested this add-on using the stack add-on as well, which created a bunch of unnecessary badges to get me started. I deleted a few, then made a simple one to be awarded once on log-in. Everything worked great and the Achievement section showed in profile with the currently earned achievment. I then proceeded to rename the badge and achievement, and delete a few other others. Hoping to see the changes, I refreshed, and the profile section is gone, though the achievement is still awarded in the activity feed, and tracked in activity dashboard. It's also logged in events. The Achievement section however does not show up in the BP Profile anymore. Does this sound like a known issue?

brichards commented 11 years ago

The activity feed and log entries capture the achievement information exactly as they were when the achievement was earned and then stores that data in their own unique ways. If you rename the achievement, or change its image, or delete it or alter it in any other way, those changes are not propagated to the activity feed nor admin log (which is the desired behavior, because it ensures these remain historically accurate, and doesn't require them to query additional data on load).

The earned achievements list on the profile page IS showing data generated from a live query, however. And if the badges are deleted they will no longer appear. If you deleted the last of the badges of a given type the entire section will disappear. Is this what you're describing?

Please provide a link to your site if you can, and feel free to clarify if I misunderstood.

galenbrazell commented 11 years ago

That is exactly what I'm describing. That clears up a lot of confusion for us working in a test/break-it environment, where I have people poking and prodding at my site. We will proceed with caution from here out.